[335] GCC compile error in p_mobj

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Agent ME
Posts: 229
Joined: Mon Jan 02, 2006 12:39
Contact:

[335] GCC compile error in p_mobj

Post by Agent ME »

[ 34%] Building CXX object src/CMakeFiles/zdoom.dir/p_mobj.o
/home/chris/Desktop/gzdoom_svn/src/trunk/src/p_mobj.cpp: In function ‘bool P_HitWater(AActor*, sector_t*, fixed_t, fixed_t, fixed_t, bool)’:
/home/chris/Desktop/gzdoom_svn/src/trunk/src/p_mobj.cpp:4545: error: jump to label ‘foundone’
/home/chris/Desktop/gzdoom_svn/src/trunk/src/p_mobj.cpp:4528: error: from here
/home/chris/Desktop/gzdoom_svn/src/trunk/src/p_mobj.cpp:4535: error: crosses initialization of ‘sector_t* hsec’
make[2]: *** [src/CMakeFiles/zdoom.dir/p_mobj.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
The current revision of zdoom compiles fine in GCC, and using zdoom's p_mobj.cpp still gives the same error (the only difference is the lack of some GL stuff), so I guess the problem is somewhere else than this file.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [335] GCC compile error in p_mobj

Post by Graf Zahl »

The reason why it works in ZDoom is that the relevant code is disabled.
Locked

Return to “Closed Bugs”