I am trying to specify a series of discontinuous indices for an array:
subtype PIN_SEL_Index is Positive with Static_Predicate => PIN_SEL_Index in 0 .. 4 | 7 | 9 | 10;
The compiler complains:
error: subtype "PINSEL_Register_Index" has predicate, not allowed as index subtype
Is there a reason why this isn't allowed? Is there an alternative?
Just an update, the alire installer I've been working on compiles and installs Alire on
I still need to test it on a couple other versions of linux + freebsd, but I should have something on github shortly for more people to test.
The defining_identifiers of all body_stubs that appear immediately within a particular declarative_part shall be distinct.
So you can't two overloading subprograms to be subunits.
0 [main] bash (2588) C:\Users\ethin\.cache\alire\msys64\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1289408/0x11D9408.The fact that errors like this still happen is just ridiculous IMO.
I've published the initial release of an installer for alire: https://github.com/AJ-Ianozi/getada
I try to be clear in the readme, and I put some more details here: https://www.reddit.com/r/ada/comments/yzx6hz/getada_an_unofficial_installer_for_alire/