This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cpp in fortran
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Ganesh Ramakrishnan <gangesind at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 23 Jun 2003 21:56:52 +0200
- Subject: Re: cpp in fortran
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <20030623050024.65762.qmail@web14901.mail.yahoo.com>
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.
Thanks,
--
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)