This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Lock-free implementation of protected objects
On 23 Jul 2012, at 15:57, Arnaud Charlet wrote:
>> The swicth is defaulted to be False in Targparm.
>> However, as far as I understood in Targparm, the switch must be present in
>> all system.ads packages but I may be wrong.
>
> That sounds wrong and isn't how other flags work.
>
> Vincent, can you please double check exactly what's happening, and in particular
> verify that a missing flag in system-<target>.ads will NOT cause an error?
>
> Also, I would remove all the default values to False, since they mainly add
> noise (and create inconsistency for system files that do not have this
> value set).
FWIW, I checked the build transcript for the failed case:
s-atopri.adb:40:10: "Support_Atomic_Primitives" is undefined (more references follow)
make[8]: *** [s-atopri.o] Error 1
cheers
Iain