I figured since the change to fix a status bar mugshot wouldn't cause a catastrophe in other ports, I carried the changed files over to GZDoom and compiled. Lo and behold, I was proven wrong, as sdlglvideo.o and probably some other files have something to do with them.
Code: Select all
[ 38%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/sdlglvideo.o
In file included from /gzdoom/src/./gl/textures/gl_material.h:8:0,
from /gzdoom/src/sdl/sdlglvideo.cpp:27:
/gzdoom/src/./gl/renderer/gl_colormap.h: In member function ‘void FColormap::GetFixedColormap()’:
/gzdoom/src/./gl/renderer/gl_colormap.h:57:56: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
In file included from /gzdoom/src/sdl/sdlglvideo.cpp:27:0:
/gzdoom/src/./gl/textures/gl_material.h: At global scope:
/gzdoom/src/./gl/textures/gl_material.h:154:15: error: ‘FloatRect’ has not been declared
/gzdoom/src/./gl/textures/gl_material.h:161:15: error: ‘FloatRect’ has not been declared
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/sdlglvideo.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2