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: -fugly-logint ?


On Sun, Nov 27, 2011 at 03:33:18PM -0500, Tom Roche wrote:
> 
> summary: Code I'm compiling with 4.6.1 gives the error
> 
> >      foo.f  -o  foo.o 
> > foo.f:780.10:
> >       IF (LIMIT_Sg == .TRUE.) THEN
> >           1
> > Error: Logicals at (1) must be compared with .eqv. instead of ==
> 
> Can I fix this error without fixing the code? E.g., can one compile
> with something like -fugly-logint (which I see while googling, but not
> in current docs)?
> 

The -fugly-* options are g77 options, which have not and
hopefully will never appear in gfortran.

You can try -std=legacy.  I don't know if this option
will allow the above.

The best option is to fix the code.

-- 
Steve


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