comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Please list all the Ada libraries you know
Date: Wed, 06 Mar 2013 16:09:52 +0100
Date: 2013-03-06T16:09:52+01:00	[thread overview]
Message-ID: <op.wti5qqewule2fv@cardamome> (raw)
In-Reply-To: kh6ms7$jl9$1@dont-email.me

Le Wed, 06 Mar 2013 07:15:56 +0100, J-P. Rosen <rosen@adalog.fr> a écrit:
> The other possible solution is to have a mapping from unit names to file
> names. This is what Object-Ada does (AFAIK), and roughly what you get
> with pragma Source_File_Name.
(which is a GNAT's implementation specific pragma)

http://gcc.gnu.org/onlinedocs/gnat_rm/Pragma-Source_005fFile_005fName.html
The above says:
> The optional Index argument should be used when afile contains multiple  
> units, and when you do notwant to use gnatchop to separate then into  
> multiplefiles

I did not knew GNAT can do this. Noted. It happened I read people coming  
 from Pascal, complaining Ada (well Ada with GNAT) needs to many files  
(separate files for spec and body). The next time I read this complaint, I  
will redirect to this GNAT pragma.


-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University



  parent reply	other threads:[~2013-03-06 15:09 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03 16:42 Please list all the Ada libraries you know ferrariv65
2013-03-03 17:13 ` Dmitry A. Kazakov
2013-03-03 17:29 ` J-P. Rosen
2013-03-03 19:18 ` Jacob Sparre Andersen
2013-03-04  1:02 ` Shark8
2013-03-04  1:23   ` Yannick Duchêne (Hibou57)
2013-03-04  3:32     ` Shark8
2013-03-04  6:32       ` J-P. Rosen
2013-03-04 20:43         ` Adam Beneschan
2013-03-04 21:09           ` gautier_niouzes
2013-03-04 22:57             ` Shark8
2013-03-04 21:13           ` Ludovic Brenta
2013-03-06  6:15           ` J-P. Rosen
2013-03-06  7:15             ` Simon Wright
2013-03-06 15:09             ` Yannick Duchêne (Hibou57) [this message]
2013-03-06 16:03               ` Simon Wright
2013-03-06 17:36                 ` Simon Wright
2013-03-06 17:08             ` Adam Beneschan
2013-03-06 19:01               ` Niklas Holsti
2013-03-06 19:34                 ` Adam Beneschan
2013-03-06 19:56                   ` [OT] "sensible" in English (was: Please list all the Ada libraries you know) Ludovic Brenta
2013-03-06 20:33                     ` [OT] "sensible" in English Niklas Holsti
2013-03-07  7:04                       ` Geoff
2013-03-07  7:47                         ` Jeffrey Carter
2013-03-07 10:23                     ` Georg Bauhaus
2013-03-11 16:04                     ` [OT] "sensible" in English (was: Please list all the Ada libraries you know) Ada novice
2013-03-06 20:15                   ` Please list all the Ada libraries you know Niklas Holsti
2013-03-07  2:41                   ` Randy Brukardt
2013-03-07  6:56                   ` Geoff
2013-03-07  7:20                     ` Simon Wright
2013-03-06 21:01               ` J-P. Rosen
2013-03-06 21:44                 ` Adam Beneschan
2013-03-04  8:12       ` Simon Wright
2013-03-04 20:29         ` Shark8
2013-03-06  0:28 ` Jerry
2013-03-07 21:42 ` mockturtle
2013-03-08  9:02   ` Björn Persson
2013-03-07 22:02 ` slos
replies disabled

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