public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* cpp in fortran
@ 2002-02-11  7:05 Ganesh Ramakrishnan
  2002-02-11 16:26 ` Toon Moene
  0 siblings, 1 reply; 4+ messages in thread
From: Ganesh Ramakrishnan @ 2002-02-11  7:05 UTC (permalink / raw)
  To: gcc-help

sir,
         Will you please explain me how to drfine
function like macros in Fortran linux? I am using cpp
for getting the line number & file name of a
particular function. After that i am not able to
compile it using g77. The problem is i think, cpp is
not supporting the fixed format. 
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.

 Will you please suggest one method to get out of it?

      Expecting earliest reply.

           Thanking you,
                              R.Ganesh 

 




__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-23 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-11  7:05 cpp in fortran Ganesh Ramakrishnan
2002-02-11 16:26 ` Toon Moene
2003-06-23  5:03   ` Ganesh Ramakrishnan
2003-06-23 19:56     ` Toon Moene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).