cpp in fortran

Toon Moene toon@moene.indiv.nluug.nl
Mon Jun 23 19:56:00 GMT 2003

Ganesh Ramakrishnan wrote:

>  I am defining this macro in a header file &
>  including it in fortran source file using #include.
>  #define fun(x) fun(x, __LINE__, __FILE__)
>  But in the output file, that particular line is
>  going
>  beyont the 72 columns & it is not taking care of the
> new line symbol '$' in fortran source code. It is
> taking care of new line character with cpp which comes
> with gcc-2.81 & gcc-2.95.
> But in the new version (gcc-3.2) it gives the above
> problem.

Could you send me the source code - I cannot deduce what's wrong from 
this description.


Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc-g95.sourceforge.net/ (under construction)

More information about the Gcc-help mailing list