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 11:59:57 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 20:59:59 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <3B09393B.31E12172@France.Sun.COM> 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 990471597 25038 193.249.46.216 (21 May 2001 18:59:57 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 21 May 2001 18:59:57 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103 Xref: archiver1.google.com comp.lang.ada:7679 Date: 2001-05-21T18:59:57+00:00 List-Id: Herv� Bitteur 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"