comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Specific use of GNAT style checking
Date: 21 May 2001 20:59:59 +0200
Date: 2001-05-21T18:59:57+00:00	[thread overview]
Message-ID: <u3d9yplxs.fsf@wanadoo.fr> (raw)
In-Reply-To: 3B09393B.31E12172@France.Sun.COM


Herv� Bitteur <Herve.Bitteur@France.Sun.COM> writes:

> Hello,
> 
> I personally like the compiler (GNAT) ability to check the style
> consistency across a whole bunch of Ada source files. I use flags such
> as -gnatg to check conformance to GNAT style.

You should not use -gnatg but -gnaty.

> However, I also reuse other Ada components for which I have no intention
> to modify the code, even at just the layout level. But these components
> may get (re)compiled because of some dependency on my code, for generic
> instantiation for example.

Just compile the library (before compiling your code) without the -gnaty
switch?

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"



  parent reply	other threads:[~2001-05-21 18:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-21 15:50 Specific use of GNAT style checking Hervé Bitteur
2001-05-21 17:08 ` Jean-Pierre Rosen
2001-05-21 19:01   ` Pascal Obry
2001-05-21 18:59 ` Pascal Obry [this message]
2001-05-22  8:46   ` Hervé Bitteur
2001-05-21 20:13 ` Florian Weimer
replies disabled

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