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: [patch,4.4, Fortran] PR34997 - Better error message for '$' in name


>  This is a bit weird.  C and C++ have the option "-f{no-}dollars-in-identifiers"
>  but FORTRAN has "-fdollar-ok" for exactly the same meaning?

The main issue I can see is that the defaults for Fortran and C
languages are opposite (Fortran has -fno-dollar-ok by default). Also,
if we transition to use -f{no-,}dollars-in-identifiers, we'll first
need to make -fdollar-ok an equivalent obsolete option, and remove it
at a later point.

I really don't care strongly either way.

FX

-- 
FX Coudert
http://www.homepages.ucl.ac.uk/~uccafco/


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