GNAT-FSF-builds icon indicating copy to clipboard operation
GNAT-FSF-builds copied to clipboard

Ada 2022 support in gnat_arm_elf

Open dinkelk opened this issue 7 months ago • 6 comments

I am not sure if this it the right place to ask this, so please redirect if needed.

I tried to enable the -gnat2022 flag in a project I am working on that uses the embedded-rpi-pico runtime supplied in the gnat_arm_elf Alire crate. However, when doing so I get many compiler errors like:

xxx.ads:223:04: error: instantiation error at yyy.ads:304
xxx.ads:223:04: error: construct not allowed in configurable run-time mode
xxx.ads:223:04: error: file s-putaim.ads not found
xxx.ads:223:04: error: entity "System.Put_Task_Images.Put_Image_Protected" not available

It seems like s-putaim.ads is not yet included in the arm tasking/embedded runtimes? Is this expected? Is Ada 2022 support going to arrive for the arm runtimes in the future? Thanks!

dinkelk avatar Jun 28 '24 20:06 dinkelk