cpp in fortran
Ganesh Ramakrishnan
gangesind@yahoo.com
Mon Feb 11 07:05:00 GMT 2002
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
More information about the Gcc-help
mailing list