[RFC][PATCH] -d_lines

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Aug 18 05:08:00 GMT 2005


On Wed, Aug 17, 2005 at 01:44:52PM -0700, Richard E Maine wrote:
> 
> On Aug 17, 2005, at 1:31 PM, Bernhard Fischer wrote:
> 
> >On Wed, Aug 17, 2005 at 09:54:58PM +0200, Tobias Schl?ter wrote:
> >
> >>  - -fno-d-lines given: treat 'D' in column 1 as equivalent to a 'C'
> >>    (=comment)
> >>  - neither option given: syntax error (behavior following the 
> >>standard)
> >>Does everybody agree that this is the right way to deal with this?
> >
> >Personally, i'd prefer to have -fno-d-lines as default (eventually warn
> >about it in -pedantic).
> 
> If I understand correctly, then I vehemently disagree with that 
> preference. I *DESPISE* compilers that by default accept nonstandard 
> code features like that without even a hint of warning. Allow the 
> option, sure, but put the burden of having to specify the option on the 
> user who uses the nonstandard feature, rather than on the user who is 
> trying to code to the standard. That is to say, make it a conscious and 
> explicit choice to use such nonstandard features.
> 
> If you want to throw it in as also set by one of the other "accept a 
> whole bunch of common nonstandard things" switches (I forget the names, 
> but there were some), that's fine, but don't make it the default.
> 
> All in my opinion, of course, even if I happen to hold that particular 
> opinion fairly strongly.
> 

FWIW, I agree with Richard.

-- 
Steve



More information about the Fortran mailing list