comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: How to compile Barnes' examples from his book using GNAT
Date: Mon, 07 Dec 2015 10:36:44 +0100
Date: 2015-12-07T10:36:44+01:00	[thread overview]
Message-ID: <87wpsqmwgj.fsf@adaheads.sparre-andersen.dk> (raw)
In-Reply-To: 5ba1035b-7ffa-4ea8-b9cd-fde589b99904@googlegroups.com

Jerry <lanceboyle@qwest.net> writes:

> Is there a preferred way that GNAT users handle this? Do they make
> multiple package specs and bodies in one file then let gnatchop handle
> it, possibly hiding the mess in another directory, or is it preferred
> to write the many separate spec and body files from the start?

The norm seems to be to put specifications and bodies in separate files
like GNAT wants them.

This seems to work with most Ada compilers, and it supports the notion
that users of a package doesn't have to look at how it is implemented.

Greetings,

Jacob
-- 
"Acupuncture: a jab well done."

  reply	other threads:[~2015-12-07  9:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 10:49 How to compile Barnes' examples from his book using GNAT Jerry
2015-12-06 11:24 ` Brian Drummond
2015-12-06 18:17   ` Jeffrey R. Carter
2015-12-06 21:21     ` Pascal Obry
2015-12-06 22:33       ` Jeffrey R. Carter
2015-12-08  2:01         ` Randy Brukardt
2015-12-07  9:01   ` Jerry
2015-12-07  9:36     ` Jacob Sparre Andersen [this message]
2015-12-10  3:26       ` Jerry
2015-12-10  8:55         ` J-P. Rosen
2015-12-10 12:34           ` G.B.
2015-12-07 14:21     ` Simon Wright
replies disabled

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