Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to enable External_Initialization, finally, no_raise etc ? #184

Open
evanescente-ondine opened this issue Dec 27, 2024 · 1 comment
Open

Comments

@evanescente-ondine
Copy link

evanescente-ondine commented Dec 27, 2024

I have -gnatX0 and the corresponding pragma and gnat_native_14.2.1_06bb3def`, but all I can use from experimental extensions are the conditional return statements. Experimental aspects are not recognized ("Adjust" is not a valid aspect identifier [enabled by default]).

pragma Extensions_allowed (All);
package main2 is
  S: constant String with External_Initialization => "essai.txt";
end main2;
@marc-adacore
Copy link

Hello @evanescente-ondine ,

All 3 are not part of GCC 14.2.

The list of experimental extension can be found in the GCC 14.2 documentation: https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gnat_rm/Experimental-Language-Extensions.html

The documentation found at (the one that you may land on when searching on google) https://gcc.gnu.org/onlinedocs/gnat_rm/Experimental-Language-Extensions.html is for the development version, which is going to be GCC 15.1 in a few months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants