Test ran at 2025-09-23 00:45:51.817363+00:00 SOLUTION: byteflippers=1.1.0: Signed/modular types for system, big and little endian reading/writing. Origin: commit 6a0c43ead736c3cece4c176f69fcebe0ca1d4b64 from https://github.com/Bread-Experts-Group/byteflippers.git Properties: Author: Miko Elbrecht Description: Signed/modular types for system, big and little endian reading/writing. License: Apache-2.0 WITH LLVM-exception Long_Description: Modular and signed types to convert between big and little endian, such as 50 (0x00000032) to 838860800 (0x32000000). Currently supported are 16/24/[32/64/128]-bit sized signed/modular/fp numeric types for big/little endian respectively, as well as system-endian dependent base types for 8/16/24/[32/64/128]-bit signed/modular/fp numeric types (for both categories: numbers in square brackets indicate the supported sizes of floating-points (fp.))) All types are compatible with `Interfaces` operators, such as `Shift_Left`, `Shift_Right`, `Rotate_Left`, `Rotate_Right`, as well as (where applicable) `xor`, `and`, `or`. **NOTE:** This library depends on the GNAT compiler, as it depends on the `Provide_Shift_Operators` pragma. If you need support for another compiler, please let me know, and I'll try to support it. ## Example Use ```ada with Byteflippers; with Ada.Text_IO; with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO; procedure Scratch is package Endians_u32 renames Byteflippers.Endians_Unsigned_32; F : File_Type; S : Stream_Access; begin Create (F, Name => "test.bin"); S := Stream (F); Byteflippers.Signed_32'Write (S, 1234); Endians_u32.Little_Endian'Write (S, 5678); Endians_u32.Little_Endian'Write (S, 9101); Endians_u32.Big_Endian'Write (S, 1213); Endians_u32.Big_Endian'Write (S, 1415); Close (F); Open (F, In_File, "test.bin"); S := Stream (F); Ada.Text_IO.Put_Line ("# System Endian Test"); Ada.Text_IO.Put_Line (Byteflippers.Signed_32'Input (S)'Image); Ada.Text_IO.Put_Line ("# Little Endian Test (System / Little)"); Ada.Text_IO.Put_Line (Byteflippers.Signed_32'Input (S)'Image); Ada.Text_IO.Put_Line (Endians_u32.Little_Endian'Input (S)'Image); Ada.Text_IO.Put_Line ("# Big Endian Test (System / Big)"); Ada.Text_IO.Put_Line (Byteflippers.Signed_32'Input (S)'Image); Ada.Text_IO.Put_Line (Endians_u32.Big_Endian'Input (S)'Image); end Scratch; ``` Maintainer: Miko Elbrecht Maintainers_Logins: ATPStorages Name: byteflippers Tag: byte Tag: endian Tag: flip Tag: swap Tag: msb Tag: lsb Tag: big-endian Tag: little-endian Version: 1.1.0 Website: https://github.com/Bread-Experts-Group/byteflippers LOG: [alr test] Testing byteflippers=1.1.0 [alr test] Spawning retrieval for remote crate: alr -d -n get byteflippers=1.1.0 Note: Deploying byteflippers=1.1.0... byteflippers=1.1.0 successfully retrieved. There are no dependencies. [alr test] Spawning default test for remote crate: alr -d -n build --release -- -cargs:Ada -gnatwn Note: Building byteflippers=1.1.0/byteflippers.gpr... Setup [mkdir] object directory for project Byteflippers [mkdir] library directory for project Byteflippers Compile [Ada] byteflippers_config.ads completed 1 out of 3 (33%)... [Ada] byteflipper_generics.adb completed 2 out of 3 (66%)... [Ada] byteflippers.ads gnat1: invalid switch: -gnat2022 completed 3 out of 3 (100%)... gnat1: invalid switch: -gnat2022 gnat1: invalid switch: -gnat2022 compilation of byteflippers.ads failed compilation of byteflipper_generics.adb failed compilation of byteflippers_config.ads failed gprbuild: *** compilation phase failed stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "D:\a\alire-crates-ci\alire-crates-ci\test\b82f37bc-e9d7-48d0-a34f-000f975b4c44\byteflippers_1.1.0_6a0c43ea\byteflippers.gpr", "-cargs:Ada", "-gnatwn"] exited with code 4 ERROR: Command ["gprbuild", "-s", "-j0", "-p", "-P", "D:\a\alire-crates-ci\alire-crates-ci\test\b82f37bc-e9d7-48d0-a34f-000f975b4c44\byteflippers_1.1.0_6a0c43ea\byteflippers.gpr", "-cargs:Ada", "-gnatwn"] exited with code 4 stderr: ALIRE.CHECKED_ERROR stderr: Command ["gprbuild", "-s", "-j0", "-p", "-P", "D:\a\alire-crates-ci\alire-crates-ci\test\b82f37bc-e9d7-48d0-a34f-000f975b4c44\byteflippers_1.1.0_6a0c43ea\byteflippers.gpr", "-cargs:Ada", "-gnatwn"] exited with code 4 stderr: raised ALIRE.CHECKED_ERROR : alire-stored-error:1 [D:\a\alire-crates-ci\alire-crates-ci\alire_install\bin\alr.exe] 0x7ff7dd5eda2a Semantic_Versioning.Basic.Restrictions.First_Index at alire.adb:284 0x7ff7dd1e595b Semantic_Versioning.Basic.Restrictions.First_Index at alire-os_lib-subprocess.adb:111 0x7ff7dd49cba1 Semantic_Versioning.Basic.Restrictions.First_Index at alire-spawn.adb:22 0x7ff7dd49dd5d Semantic_Versioning.Basic.Restrictions.First_Index at alire-spawn.adb:68 0x7ff7dd3c2d64 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:189 0x7ff7dd3c11da Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:255 0x7ff7dd3e912d Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2143 0x7ff7dd4582f9 Semantic_Versioning.Basic.Restrictions.First_Index at alire-solutions.adb:1472 0x7ff7dd457424 Semantic_Versioning.Basic.Restrictions.First_Index at alire-solutions.adb:1555 0x7ff7dd3e922c Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2147 0x7ff7dd3e92fa Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2127 0x7ff7dd3c17a7 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:286 0x7ff7dd3c1912 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:114 0x7ff7dcb33baa Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:145 0x7ff7dcb3341e Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:113 0x7ff7dcb335ba Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:54 0x7ff7dcbe5dea Semantic_Versioning.Basic.Restrictions.First_Index at clic-subcommand-instance.adb:749 0x7ff7dcbf2b0e Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands.adb:632 0x7ff7dcac16a0 Alr.Main at alr-main.adb:13 0x7ff7dcac5270 Main at b__alr-main.adb:2454 0x7ff7dcac133e __tmainCRTStartup at ??? 0x7ff7dcac1144 mainCRTStartup at ??? [C:\Windows\System32\KERNEL32.DLL] 0x7ffd1cf2e8d5 [C:\Windows\SYSTEM32\ntdll.dll] 0x7ffd1dc7c34a stderr: ALIRE.ROOTS.BUILD._WRAPPED_STATEMENTS.BUILD_FAILED stderr: alire-roots.adb:202 stderr: raised ALIRE.ROOTS.BUILD._WRAPPED_STATEMENTS.BUILD_FAILED : alire-roots.adb:202 [D:\a\alire-crates-ci\alire-crates-ci\alire_install\bin\alr.exe] 0x7ff7dd3c313c Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:202 0x7ff7dd3c11da Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:255 0x7ff7dd3e912d Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2143 0x7ff7dd4582f9 Semantic_Versioning.Basic.Restrictions.First_Index at alire-solutions.adb:1472 0x7ff7dd457424 Semantic_Versioning.Basic.Restrictions.First_Index at alire-solutions.adb:1555 0x7ff7dd3e922c Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2147 0x7ff7dd3e92fa Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:2127 0x7ff7dd3c17a7 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:286 0x7ff7dd3c1912 Semantic_Versioning.Basic.Restrictions.First_Index at alire-roots.adb:114 0x7ff7dcb33baa Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:145 0x7ff7dcb3341e Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:113 0x7ff7dcb335ba Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands-build.adb:54 0x7ff7dcbe5dea Semantic_Versioning.Basic.Restrictions.First_Index at clic-subcommand-instance.adb:749 0x7ff7dcbf2b0e Semantic_Versioning.Basic.Restrictions.First_Index at alr-commands.adb:632 0x7ff7dcac16a0 Alr.Main at alr-main.adb:13 0x7ff7dcac5270 Main at b__alr-main.adb:2454 0x7ff7dcac133e __tmainCRTStartup at ??? 0x7ff7dcac1144 mainCRTStartup at ??? [C:\Windows\System32\KERNEL32.DLL] 0x7ffd1cf2e8d5 [C:\Windows\SYSTEM32\ntdll.dll] 0x7ffd1dc7c34a ERROR: Compilation failed.