Discussion:
Compile fails on CVS with QMAX
Asfand Yar Qazi
2005-02-07 07:52:41 UTC
Permalink
Hi,

With QMAX=YES in the makefile set, building fails with the following
error:

gcc -Wall -pipe -Dstricmp=strcasecmp -DQMAX -O2 -ffast-math
-funroll-loops -falign-loops=2 -falign-jumps=2 -falign-functions=2
-fno-strict-aliasing -DLINUX_VERSION='"3.21+r0.16"' -o
releasei386/client/cl_fx.o -c src/client/cl_fx.c
src/client/cl_fx.c: In function `CL_ExplosionParticles':
src/client/cl_fx.c:1293: error: incompatible types in assignment
src/client/cl_fx.c: In function `CL_BigTeleportParticles':
src/client/cl_fx.c:1318: warning: unused variable `colortable'
src/client/cl_fx.c: At top level:
src/client/cl_fx.c:1509: error: parse error before "boolean"
src/client/cl_fx.c: In function `CL_FlagTrail':
src/client/cl_fx.c:1513: error: number of arguments doesn't match
prototype
src/client/client.h:467: error: prototype declaration
src/client/cl_fx.c:1521: error: `start' undeclared (first use in this
function)
src/client/cl_fx.c:1521: error: (Each undeclared identifier is
reported only once
src/client/cl_fx.c:1521: error: for each function it appears in.)
src/client/cl_fx.c:1521: warning: left-hand operand of comma
expression has no effect
src/client/cl_fx.c:1521: warning: left-hand operand of comma
expression has no effect
src/client/cl_fx.c:1522: error: `end' undeclared (first use in this
function)
src/client/cl_fx.c:1522: warning: left-hand operand of comma
expression has no effect
src/client/cl_fx.c:1522: warning: left-hand operand of comma
expression has no effect
src/client/cl_fx.c: In function `CL_RailTrail':
src/client/cl_fx.c:1762: warning: unused variable `clr'
src/client/cl_fx.c: In function `CL_AddParticles':
src/client/cl_fx.c:2386: warning: passing arg 2 of `V_AddParticle'
makes pointer from integer without a cast
src/client/cl_fx.c:2386: error: incompatible type for argument 3 of
`V_AddParticle'
src/client/cl_fx.c:2386: error: too few arguments to function
`V_AddParticle'
src/client/cl_fx.c: In function `pBlasterThink':
src/client/cl_fx.c:2645: warning: unused variable `i'
src/client/cl_fx.c: In function `CL_FlagTrail':
src/client/cl_fx.c:1521: warning: statement with no effect
src/client/cl_fx.c:1522: warning: statement with no effect
make[1]: *** [releasei386/client/cl_fx.o] Error 1
make[1]: Leaving directory
`/home/asfand/src/games/quake2/icculus_quake2/src'
make: *** [build_release] Error 2


Help?

Thanks,
Asfand Yar

Loading...