comp.lang.ada
 help / color / mirror / Atom feed
* Ada extension information
@ 2009-05-28 18:26 info
  2009-05-28 18:30 ` Martin
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: info @ 2009-05-28 18:26 UTC (permalink / raw)


Hello,
a-textio.adb released with GNAT 2009 GPL for windows, contains:

Item :=
              (if not Is_Start_Of_Encoding (Character'Val (ch),
File.WC_Method)
               then Character'Val (ch)
               else Get_Upper_Half_Char_Immed (Character'Val (ch),
File));

which is easy enough to understand but is not standard Ada.

GNAT 2009 tells me :

try.adb:5:09: conditional expression is an Ada extension
try.adb:5:09: use -gnatX switch to compile this unit

http://www.adacore.com/2009/03/29/NF-63-I317-009-gnat/ discusses
this.

Is it not jumping the gun a little to use these extensions to document
standard libraries before they become official, or even documented?

More specifically where are these Ada extensions formally documented?
(Ada Conformity Assessment Authority seem to have discussion about
this up to 15th March 2009 !)

PS In the meantime Mika is broken if you use a-textio as distributed
with GNAT GPL  2009.

Sincerely,
http://www.midoan.com



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-05-30 10:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-28 18:26 Ada extension information info
2009-05-28 18:30 ` Martin
2009-05-30  0:25   ` Randy Brukardt
2009-05-28 21:22 ` Georg Bauhaus
2009-05-28 21:31   ` Georg Bauhaus
2009-05-28 22:06   ` Adam Beneschan
2009-05-30  7:13 ` anon
2009-05-30 10:13   ` info

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox