$000000 in fortran?
Sparks, Jamie
JAMIE.SPARKS@cubic.com
Tue Dec 10 14:09:00 GMT 2002
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
More information about the Gcc-help
mailing list