comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: Learning Ada but missing the basics?
Date: Tue, 08 Jul 2008 10:23:33 +0200
Date: 2008-07-08T10:23:33+02:00	[thread overview]
Message-ID: <6dgmg2F2fhakU1@mid.individual.net> (raw)
In-Reply-To: m2abgxvapr.fsf@mac.com

Simon Wright wrote:

> "Alex R. Mosteo" <devnull@mailinator.com> 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.



  parent reply	other threads:[~2008-07-08  8:23 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30 19:01 Learning Ada but missing the basics? ryan k
2008-06-30 20:19 ` Keith Thompson
2008-06-30 20:38   ` ryan k
2008-06-30 21:18     ` mockturtle
2008-06-30 21:48 ` Jeffrey R. Carter
2008-07-01  1:15   ` ryan k
2008-07-01  2:56     ` Tero Koskinen
2008-07-01  3:13     ` Jeffrey R. Carter
2008-07-02  3:02     ` DScott
2008-07-02  9:18     ` Pascal Obry
2008-07-02 15:54       ` Alex R. Mosteo
2008-07-02 17:17         ` Georg Bauhaus
2008-07-03  8:09           ` Alex R. Mosteo
2008-07-04 17:08         ` Simon Wright
2008-07-04 17:39           ` Pascal Obry
2008-07-08  8:23           ` Alex R. Mosteo [this message]
2008-07-08  9:47             ` Jean-Pierre Rosen
2008-07-02 17:47     ` Gautier
2008-07-01 20:51 ` John McCormick
replies disabled

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