From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: How to compile Barnes' examples from his book using GNAT
Date: Thu, 10 Dec 2015 09:55:16 +0100
Date: 2015-12-10T09:55:16+01:00 [thread overview]
Message-ID: <n4beh1$fnu$1@dont-email.me> (raw)
In-Reply-To: <4b452d31-f0f6-4e65-ab87-cc250edd32be@googlegroups.com>
Le 10/12/2015 04:26, Jerry a écrit :
> It would be nice if it were possible to put multiple specs in one
> file and multiple bodies in another file thus maintaining interface
> from implementation but without a proliferation of files.
But since you submit a /file/ to the compiler, if you change something
in one spec, all the specs get recompiled, possibly triggering a huge
cascade of (useless) recompilations.
I prefer to stick to the one-unit/one-file rule. Actually, it was
already the recommended practice before Gnat made it a requirement.
--
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
next prev parent reply other threads:[~2015-12-10 8:55 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
2015-12-10 3:26 ` Jerry
2015-12-10 8:55 ` J-P. Rosen [this message]
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