This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
$000000 in fortran?
- From: "Sparks, Jamie" <JAMIE dot SPARKS at cubic dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 10 Dec 2002 17:09:48 -0500 (Eastern Standard Time)
- Subject: $000000 in fortran?
Hello,
I'm trying to compile a fortran source file that compiles and
runs on an sgi. The statement in question is a call to a depth
buffer that requires an int#4 for it's near and far clipping
parameters: LSETDE(near, far)
on the sgi, this line is:
CALL LSETDE($000000,$7fffff);
this runs fine as long as -ansi is not among the paraemters.
On linux, compiling with f77 gives me:
CALL LSETDE($000000,$7fffff)
1 2
Invalid token at (2) in expression or subexpression at (1)
This problem seems to arise b/c of the $ and the hex instead of
decimal. Rather than converting and reinserting all 10000 instaces
of this in my code, I was wondering if there was a flag I could pass
to f77 to allow this to slide, just as is the default on sgi.
any ideas?
thanks in advance,
Jamie