10-01-2013, 03:41 AM
Hello, I'm compiling with gcc 4.7.2 on RHEL 6.4 and getting this error no matter what revision...what is the problem here?
[ 83%] Building CXX object plugins/zzogl-pg/opengl/CMakeFiles/zzogl-static.dir/GSmain.cpp.o
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp: In function ‘void GSsetGameCRC(int, int)’:
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:190:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp: In function ‘void GSchangeSaveState(int, const char*)’:
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:393:44: error: ‘access’ was not declared in this scope
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp: In function ‘void GSReplay(char*)’:
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:749:10: error: ‘sleep’ was not declared in this scope
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:770:29: warning: ordered comparison of pointer with integer zero [-Wextra]
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:770:63: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
make[2]: *** [plugins/zzogl-pg/opengl/CMakeFiles/zzogl-static.dir/GSmain.cpp.o] Error 1
make[1]: *** [plugins/zzogl-pg/opengl/CMakeFiles/zzogl-static.dir/all] Error 2
make: *** [all] Error 2
[ 83%] Building CXX object plugins/zzogl-pg/opengl/CMakeFiles/zzogl-static.dir/GSmain.cpp.o
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp: In function ‘void GSsetGameCRC(int, int)’:
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:190:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp: In function ‘void GSchangeSaveState(int, const char*)’:
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:393:44: error: ‘access’ was not declared in this scope
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp: In function ‘void GSReplay(char*)’:
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:749:10: error: ‘sleep’ was not declared in this scope
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:770:29: warning: ordered comparison of pointer with integer zero [-Wextra]
/home/user/Play/pcsx2-r5731/plugins/zzogl-pg/opengl/GSmain.cpp:770:63: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
make[2]: *** [plugins/zzogl-pg/opengl/CMakeFiles/zzogl-static.dir/GSmain.cpp.o] Error 1
make[1]: *** [plugins/zzogl-pg/opengl/CMakeFiles/zzogl-static.dir/all] Error 2
make: *** [all] Error 2