Why do -ffixed-line-length and -free... use - instead of =?

Brooks Moses brooks.moses@codesourcery.com
Fri Nov 10 00:31:00 GMT 2006


Thomas Koenig wrote:
> On Mon, Nov 06, 2006 at 11:52:40PM -0800, Brooks Moses wrote:
>>If there's no particular reason why it's this way, I propose changing 
>>the current syntax to an undocumented option, and adding a new 
>>(documented) form of the option that uses an "=".  That way, we're not 
>>gratuitously breaking any makefiles that use the current form, but we 
>>can still document it only in the form that's consistent with everything 
>>else.
>>
>>Comments?  I'll write up a patch, if this seems like a good idea.
> 
> Go for it!

Will do.  A followup question: On IRC, Steve Kargl said that he'd prefer 
not to have a "-max-errors=none" synonym for "-max-errors=0" in the 
-max-errors patch that I submitted.  The -ffixed-line-length option has 
an identical interpretation: Setting the value to 0 eliminates the 
limits.  However, for this there is a "-ffixed-line-length-none" option.

Thus, should I leave out the "-ffixed-line-length=none" and equivalent 
"-ffree..." option in the patch to rearrange these?  It seems like it 
would be best to be consistent with these things.

- Brooks



More information about the Fortran mailing list