Re: pragma Debug / projet GPR

Jean-Pierre Rosen via Ada-france <[email protected]> Wed, 14 Jul 2021 08:10:39 +0200
Newsgroups gmane.comp.lang.ada.france
Message-ID <[email protected]>
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:
ai05-0163-1

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52
https://www.adalog.fr
_______________________________________________
Ada-france mailing list
[email protected]
https://mail.ada-france.org/cgi-bin/mailman/listinfo/ada-france