This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Brooks Moses <brooks.moses@codesourcery.com> wrote on Tue, 07 Nov 2006:
However, for -ffixed-line-length and -ffree-line-length, the syntax is

-ffixed-line-length-<value>

where the value is separated by a - instead of an =.  This is confusing
and hard to remember.

Is there some reason that this is this way, other than the fact that
it's been this way for a while?

I didn't see this stated explicitly, so let me note that this option was introduced for compatibility with g77, which used the syntax with a '-'. IIRC originally the only allowed suffixes were '-72', '-132' and '-none', so it was not really a numerical option. I think adding the canonical forms is a good thing.


- Tobi


---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]