[Bug fortran/53077] suggestion to add the .f extension to the list of file extensions that trigger enabling of the preprocessor

slayoo at staszic dot waw.pl gcc-bugzilla@gcc.gnu.org
Mon Apr 23 11:13:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53077

--- Comment #5 from Sylwester Arabas <slayoo at staszic dot waw.pl> 2012-04-23 11:13:21 UTC ---
Thanks for quick replies.

> Why can't you just pass the -cpp option to gfortran
> if you want to enable the preprocessor?

Of course you can, but first you need to know that the
"Illegal preprocessor directive" warning actually means 
that the preprocessor is off :)

> Untested patch.

I guess "Used -cpp to" should read "Use -cpp to".

Thanks,
Sylwester



More information about the Gcc-bugs mailing list