Le 03/05/2018 à 02:47, Jeremiah Breeden a écrit :
> Right after I sent the email I found it.  Not in zany blue, but in
> 
> components/ace_editor/src/gnoga-gui-plugin-ace_editor.adb:985:          
> Row'Img & ',' & Column'Image & ");");
> 
> It compiles fine in GNAT FSF 7.3 but not in 5.4.  I don't know if
> Object'Image is legal Ada or not.  It might be, but in my Ubuntu box
> with version 5.4, I changed it to Column'Img which is a GNAT extension.
> 
> So I don't know if it is a bug or not, but it is something to at least
> consider.
> 
It is an Ada 2020 extension, so it is normal that older versions of Gnat
don't support it.

But the good fix is to use T'Image(Object) instead. Works since Ada83
and does not depend on compiler or version.

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to