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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6bee08c26af9486d X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Learning Ada but missing the basics? Date: Tue, 08 Jul 2008 10:23:33 +0200 Message-ID: <6dgmg2F2fhakU1@mid.individual.net> References: <85e95c57-07c3-42eb-b9b9-eac5fd3d0d65@i76g2000hsf.googlegroups.com> <319201bf-2ac0-4a36-a713-ca1db0326541@d45g2000hsc.googlegroups.com> <486B47F8.80704@obry.net> <6d1mm5Fd2k6U1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net xWjfs/CRcP8UYal3bWaQqw11VdTkxEF2i3BaNoSdJfXyy8Qx0= Cancel-Lock: sha1:GZzdDd/PFuFpOLyPdxbY2bohFBA= User-Agent: KNode/0.10.9 Xref: g2news1.google.com comp.lang.ada:1034 Date: 2008-07-08T10:23:33+02:00 List-Id: Simon Wright wrote: > "Alex R. Mosteo" writes: > >> In this regard, gnat style switches are truly useful. I find I've >> added quite a few over time to my defaults. > > We use -gnaty (in other words, the defaults!). It seemed to me to be > easier to do this than to have perpetual wrangles about which ones are > in, which ones out. This is true, but I use a large code base which would throw thousands of warnings with this setting. Until I find the time to find a more palatable solution (possibly separate project files for these offending parts), I've found this to be the easiest. In the same vein, in the past I used to hand pick my warning settings, while nowadays I go with -gnatwa. > > There was a complaint that the default line length (79) is too short, > but this was from a person who believed in long names: > > Message_Processing.Process_The_Message (The_Message_To_Be_Processed : > String); > > (and that's not the worst instance!) > > This was the person who thought the way to get rid of style warnings > was to turn them off.