When trying to compile code written in FORTRAN95 with g95 I encounter the error shown below.
It is apparent that make is preprocessing the file structures.F with cpp, but cpp then writes a line that starts with "#pragma GCC set_debug_pwd" at the top of the structure.tmp.f file which causes g95 to choke.
Some of the discussions I've read on via google suggest that this is a bug in Panther. I really don't know what it is, but I have no idea how to work around it.
Any suggestions?
Thanks,
SB
===================================
everything is working fine up to here...
/usr/bin/cpp -P -traditional structures.F > structures.tmp.f
/usr/bin/g95 -c -O3 structures.tmp.f
In file structures.tmp.f:1
#pragma GCC set_debug_pwd "/Users/scott/Software/parsec/src"
1
Error: Non-numeric character in statement label at (1)
In file structures.tmp.f:1
#pragma GCC set_debug_pwd "/Users/scott/Software/parsec/src"
1
Error: Unclassifiable statement at (1)
make[1]: *** [structures.o] Error 1
make: *** [module] Error 2
==========================
It is apparent that make is preprocessing the file structures.F with cpp, but cpp then writes a line that starts with "#pragma GCC set_debug_pwd" at the top of the structure.tmp.f file which causes g95 to choke.
Some of the discussions I've read on via google suggest that this is a bug in Panther. I really don't know what it is, but I have no idea how to work around it.
Any suggestions?
Thanks,
SB
===================================
everything is working fine up to here...
/usr/bin/cpp -P -traditional structures.F > structures.tmp.f
/usr/bin/g95 -c -O3 structures.tmp.f
In file structures.tmp.f:1
#pragma GCC set_debug_pwd "/Users/scott/Software/parsec/src"
1
Error: Non-numeric character in statement label at (1)
In file structures.tmp.f:1
#pragma GCC set_debug_pwd "/Users/scott/Software/parsec/src"
1
Error: Unclassifiable statement at (1)
make[1]: *** [structures.o] Error 1
make: *** [module] Error 2
==========================