cpp in fortran
Toon Moene
toon@moene.indiv.nluug.nl
Mon Feb 11 16:26:00 GMT 2002
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 & because of that i am not able
> to compile using g77.
You could use the -ffixed-line-length-N option on the g77 command line
(where N is maximum length of the source lines you want to use; N=0
means: infinite).
Hope this helps,
--
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
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)
More information about the Gcc-help
mailing list