From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 103376,8f985f0cf0aeb05c
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2001-05-21 12:01:16 PST
Path:
archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: Specific use of GNAT style checking
Date: 21 May 2001 21:01:17 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References: <3B09393B.31E12172@France.Sun.COM>
<9ebi1q$r5f$1@s1.read.news.oleane.net>
NNTP-Posting-Host: mix-velizy-107-3-216.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: wanadoo.fr 990471675 25038 193.249.46.216 (21 May 2001 19:01:15 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 21 May 2001 19:01:15 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103
Xref: archiver1.google.com comp.lang.ada:7680
Date: 2001-05-21T19:01:15+00:00
List-Id:
"Jean-Pierre Rosen" writes:
> "Herv� Bitteur" a �crit dans le message news:
> 3B09393B.31E12172@France.Sun.COM...
> > So my question (no answer found while browsing the GNAT doc so far) :
> > How could I explicitly disable the style checking on some source files,
> > while keeping it active on some other ones.
> >
> Compile once without -gnatg, then recompile your files with -gnatg. Since
> foreign units won't be recompiled, that should do the trick...
Nop :) use -gnaty not -gnatg (-gnatg is an internal GNAT switch that should be
used to build GNAT only).
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"