[r1044] Linux compilation error

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Jim
Posts: 535
Joined: Mon Aug 11, 2003 10:56 am

[r1044] Linux compilation error

Post by Jim »

I've attached a patch with a fix for the error and the warning below.

Code: Select all

Compiling texturemanager.cpp:                                         [ERROR]
g++ -pipe -Wall -Wno-unused -fno-strict-aliasing -MMD -DHAVE_FILELENGTH -D__forceinline=inline -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNEED_STRUPR -Isrc/ -Isrc/g_doom/ -Isrc/g_heretic/ -Isrc/g_hexen/ -Isrc/g_raven/ -Isrc/g_shared/ -Isrc/g_strife/ -Isrc/oplsynth/ -Isrc/sound/ -Isrc/sdl/ -Isrc/textures/ -Isrc/thingdef/ -Isrc/xlat/ -Isrc/timidity/ -Isnes_spc/snes_spc/ -I/usr/local/include/fmodex/ -DUSEASM=1 -D_DEBUG -g3 -o debugobj/texturemanager.o -c src/textures/texturemanager.cpp
================================================================================src/g_level.h:146: warning: 'struct FOptionalMapinfoData' has virtual functions but non-virtual destructor
src/textures/texturemanager.cpp:956: error: declaration of 'FTextureID FTextureID::operator+(int)' throws different exceptions
src/textures/textures.h:31: error: from previous declaration 'FTextureID FTextureID::operator+(int) throw ()'
Attachments
zdoom-r1044.diff.gz
(453 Bytes) Downloaded 22 times
Post Reply

Return to “Closed Bugs [GZDoom]”