Re: preprocessor token "#" doesn't work in gfortran as in gcc, intel-fortran or sun-fortran compiler

Maik Beckmann
2009-06-10T16:57:54+00:00

Tim Prince schrieb am Mittwoch 10 Juni 2009 um 18:42:
> As far as I know, gfortran, and later versions of g77, invoke tradcpp, the
> same as 'gcc -traditional' does.  tradcpp doesn't support C99 or C++, and
> doesn't break Fortran string concatenation.  In order to support
> installations where the default gnu Fortran version is likely to be broken
> (or the name of it varies), some of my customers use the 'gcc -traditional
> -x c' command to pre-process .F
> The gcc maintainers decided to support the distinctions by providing the
> separate tradcpp.

Is there a command line switch to force gfortran to use the current gcc cpp?

Thanks,

Loading


$ This page is proudly powered by www.pubbs.net, you can see more at gcc archive | Partners: ListWare Global Manufacturers