Re: pragma Debug / projet GPR

Thomas De Contes via Ada-france <[email protected]> Thu, 15 Jul 2021 19:59:19 +0200
Newsgroups gmane.comp.lang.ada.france
Message-ID <[email protected]>
Le 14 juil. 2021 à 08:10, Jean-Pierre Rosen via Ada-france a écrit :

> Le 13/07/2021 à 19:13, Thomas De Contes via Ada-france a écrit :
>> À propos :
>> https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gnat_ugn/Debugging---A-Special-Case.html
>> "Note that a pragma is not a statement, so in contexts where a statement sequence is required, you can’t just write a pragma on its own. You have to add a null statement."
>> J'ai constaté le contraire :
>> http://svn.savannah.gnu.org/viewvc/rapid/branches/gtkada-2.24/src/tki/mcc_tki/mcc-msg.adb?view=markup&pathrev=230
>> (l 81 - ça marche)
>> Où est l'erreur ?
> 
> C'est autorisé depuis Ada 2012:

Ok, donc la doc de GNAT n'est pas à jour. Merci :-)

> ai05-0163-1

Comment exploite t on cette référence, stp ?


-- 
RAPID maintainer
http://savannah.nongnu.org/projects/rapid/

_______________________________________________
Ada-france mailing list
[email protected]
https://mail.ada-france.org/cgi-bin/mailman/listinfo/ada-france