[quake2] Q2 Max Working

brendanburns at attbi.com brendanburns at attbi.com
Sat Jun 15 16:31:55 EDT 2002


Matthew,
I guess that version of gcc doesn't like my little hack
;-P  change the line (1325) from:
#ifdef 0 && QMAX
to:
#if 0

That should do it.

--brendan
> On Saturday 15 June 2002 02:53 pm, brendanburns at attbi.com wrote:
> 
> > stainmaps and explosions are now working. If you comment
> > out ThrowGib and ThrowHead, you can work around the slow
> > fog of blood problem.  (but of course you can't giblitize
> > anyone ;-P)
> 
> Hmmm. I can't get it to build. It stops with this error:
> 
> gcc -Wall -pipe -Dstricmp=strcasecmp -DQMAX -DJoystick -O2 -ffast-math 
> -funroll-loops -malign-loops=2 -malign-jumps=2 -malign-functions=2 -g 
> -DLINUX_VERSION='"3.21+rCVS"' -o releasei386/client/cl_tent.o -c 
> src/client/cl_tent.c
> src/client/cl_tent.c:1325:8: macro names must be identifiers
> src/client/cl_tent.c: In function `CL_ParseTEnt':
> src/client/cl_tent.c:1180: warning: passing arg 1 of 
> `CL_ParseLightning' makes pointer from integer without a cast
> make[1]: *** [releasei386/client/cl_tent.o] Error 1
> make[1]: Leaving directory `/usr/src/quake2'
> make: *** [build_release] Error 2
> 
> Thoughts? I hope this isn't a GCC 2.96 problem since I'm using RH7.3. 
> Not sure why they included a version of GCC 3 in 7.2 but not in 7.3.
> 
> Matt



More information about the quake2 mailing list