#2084 closed defect (fixed)
Compile error with gcc4.0
Reported by: | SF/mnbv | Owned by: | eriktorbjorn |
---|---|---|---|
Priority: | normal | Component: | Port: Linux |
Version: | Keywords: | ||
Cc: | Game: |
Description
ScummVM version : CVS (2005-07-06)
g++ -Wp,-MMD,"scumm/.deps/actor.d",-MQ,"scumm/actor.o",-MP -Wall -g -ansi -W -Wno-unused-parameter -O -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -pedantic -Wpointer-arith -Wcast-qual -Wconversion -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -Wno-reorder -Wwrite-strings -fcheck-new -DHAVE_CONFIG_H -DUNIX -DDISABLE_KYRA -I. -I. -I/usr/include/SDL -D_REENTRANT -Itest/cxxtest -c scumm/actor.cpp -o scumm/actor.o ./scumm/intern.h:795: error: ISO C++ forbids declaration of 'ResExtractor' with no type ./scumm/intern.h:795: error: expected ';' before '*' token ./scumm/intern.h:1116: error: ISO C++ forbids declaration of 'LogicHE' with no type ./scumm/intern.h:1116: error: expected ';' before '*' token make[2]: *** [scumm/actor.o] Error 1 make[2]: Leaving directory `/home/grahame/scummvm'
Linux Debian amd64 Unstable with gcc 4.0.1
Ticket imported from: #1233194. Ticket imported from: bugs/2084.
Change History (6)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Owner: | set to |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:3 by , 19 years ago
Note in particular that this report was made for "gcc 4.0.1" - which is not a released version of GCC, to my knowledge...
I can't reproduce the issue with GCC 4.0.0.
comment:4 by , 19 years ago
After a brief discussion with Fingolfin, I've applied a patch that made it compile on my "unstable" Debian box. Hopefully that means this bug is fixed now.
comment:5 by , 19 years ago
Owner: | changed from | to
---|---|
Resolution: | wontfix → fixed |
comment:6 by , 6 years ago
Component: | → Port: Linux |
---|
Even GCC team says that 4.0 is too raw for wide use. They suggest to wait at least 4.01 for any ranges of production. 4.0 was released just because "deadline overdued" not because it was really ready. So fixing bugs after compiler declared buggy.... Fingolfin?