+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/supermodel-0.2a/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/supermodel-0.2a/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for supermodel-0.2a Makefiles/Makefile.SDL.UNIX.GCC:225: warning: overriding recipe for target 'obj/m68kops.h' Makefiles/Makefile.SDL.UNIX.GCC:141: warning: ignoring old recipe for target 'obj/m68kops.h' mkdir bin mkdir obj cc Src/CPU/PowerPC/PPCDisasm.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/PPCDisasm.o cc Src/Games.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Games.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/CPU/PowerPC/PPCDisasm.cpp:33: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/CPU/PowerPC/PPCDisasm.cpp:38: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Games.cpp:33: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Games.cpp:33: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108336' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108822' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544278' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108800' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108864' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108836' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108834' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108828' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544284' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108806' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544262' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108720' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108808' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544264' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108814' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544270' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108592' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108784' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108802' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544258' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108804' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544260' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544272' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108840' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108812' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108818' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108820' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544276' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108824' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544280' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-2013265920' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1946157056' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-939524096' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-872415232' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1073741824' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1006632960' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1476395008' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1409286144' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1610612736' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1543503872' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1207959552' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-2147483648' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-2080374784' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108736' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67107698' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108724' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108788' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67107442' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108596' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1744830464' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1677721600' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-671088640' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-603979776' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-805306368' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-738197504' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1342177280' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1275068416' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1140850688' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1879048192' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-1811939328' from 'int' to 'UINT32' {aka 'unsigned int'} inside { } is ill-formed in C++11 [-Wnarrowing] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:438:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] static char *crbit[] = { "lt", "gt", "eq", "so" }; ^ Src/CPU/PowerPC/PPCDisasm.cpp:438:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:438:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp:438:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/CPU/PowerPC/PPCDisasm.cpp: In function 'void SPR(char*, unsigned int)': Src/CPU/PowerPC/PPCDisasm.cpp:519:25: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] default: sprintf(dest, "%s%d", dest, spr); ^~~~ ~~~~ Src/CPU/PowerPC/PPCDisasm.cpp: In function 'bool Simplified(UINT32, UINT32, char*, char*, char*)': Src/CPU/PowerPC/PPCDisasm.cpp:781:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ Src/CPU/PowerPC/PPCDisasm.cpp:783:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return 1; ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp: In function 'bool DisassemblePowerPC(UINT32, UINT32, char*, char*, bool)': Src/CPU/PowerPC/PPCDisasm.cpp:840:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(itab) / sizeof(IDESCR); i++) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:1056:25: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(oprs, "%s,r%d", oprs, G_RT(op)); ^~~~ ~~~~ cc Src/Config.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Config.o cc Src/INIFile.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/INIFile.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Config.h:32, from Src/Config.cpp:28: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Config.h:32, from Src/Config.cpp:28: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/INIFile.cpp:62: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/INIFile.cpp:62: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/BlockFile.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/BlockFile.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/BlockFile.cpp:29: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Src/INIFile.cpp: In member function 'CINIFile::CToken CINIFile::GetNumber()': Src/INIFile.cpp:457:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!isNeg && number > 0x000000007FFFFFFFULL || isNeg && number > 0x0000000080000000ULL) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/INIFile.cpp:484:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!isNeg && number > 0x000000007FFFFFFFULL || isNeg && number > 0x0000000080000000ULL) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/INIFile.cpp:418:10: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] int overflow = 0; ^~~~~~~~ In file included from Src/Supermodel.h:98, from Src/BlockFile.cpp:31: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/93C46.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/93C46.o cc Src/ROMLoad.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/ROMLoad.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from Src/Model3/93C46.cpp:34: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/93C46.cpp:35: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/new:39, from Src/ROMLoad.cpp:28: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/ROMLoad.cpp:30: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/ROMLoad.cpp: In function 'bool LoadROM(UINT8*, unsigned int, const ROMMap*, const ROMInfo*, unzFile, const char*, bool)': Src/ROMLoad.cpp:148:12: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] if (bytes != ROM->fileSize) ~~~~~~^~~~~~~~~~~~~~~~ cc Src/Pkgs/unzip.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/unzip.o cc Src/Pkgs/ioapi.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/ioapi.o cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C cc Src/Graphics/Error.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Error.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Graphics/Error.cpp:34: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Graphics/Error.cpp:34: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Pkgs/glew.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/glew.o cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C cc Src/Graphics/Shader.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Shader.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/new:39, from Src/Graphics/Shader.cpp:45: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Graphics/Shader.cpp:48: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/Real3D.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Real3D.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstring:41, from Src/Model3/Real3D.cpp:44: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/Real3D.cpp:45: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Graphics/Render3D.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Render3D.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cmath:41, from Src/Graphics/Render3D.cpp:146: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Graphics/Render3D.cpp:147: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/Graphics/Render3D.cpp: In member function 'void CRender3D::RenderViewport(UINT32, int)': Src/Graphics/Render3D.cpp:1041:11: warning: variable 'nextAddr' set but not used [-Wunused-but-set-variable] UINT32 nextAddr, nodeAddr, matrixBase; ^~~~~~~~ Src/Graphics/Render3D.cpp:1046:12: warning: variable 'scrollFog' set but not used [-Wunused-but-set-variable] GLfloat scrollFog, scrollAtt; ^~~~~~~~~ Src/Graphics/Render3D.cpp:1046:23: warning: variable 'scrollAtt' set but not used [-Wunused-but-set-variable] GLfloat scrollFog, scrollAtt; ^~~~~~~~~ cc Src/Graphics/Models.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Models.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cmath:41, from /usr/include/c++/8/math.h:36, from Src/Graphics/Models.cpp:33: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Graphics/Models.cpp:35: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/Graphics/Models.cpp: In member function 'void CRender3D::ClearModelCache(ModelCache*)': Src/Graphics/Models.cpp:726:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (int i = 0; i < Cache->numModels; i++) ~~^~~~~~~~~~~~~~~~~~ cc Src/Graphics/Render2D.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Render2D.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from Src/Graphics/Render2D.cpp:39: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Graphics/Render2D.cpp:41: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/TileGen.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/TileGen.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstring:41, from Src/Model3/TileGen.cpp:34: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/TileGen.cpp:35: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/Model3.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Model3.o cc Src/CPU/PowerPC/ppc.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/ppc.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/new:39, from Src/Model3/Model3.cpp:186: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/Model3.cpp:190: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstring:41, from Src/CPU/PowerPC/ppc.cpp:31: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/CPU/PowerPC/ppc.cpp:32: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/CPU/PowerPC/ppc.cpp:39: warning: "INLINE" redefined #define INLINE inline In file included from Src/CPU/68K/Musashi/m68k.h:384, from Src/CPU/68K/68K.h:37, from Src/Supermodel.h:131, from Src/CPU/PowerPC/ppc.cpp:32: Src/CPU/68K/Musashi/m68kconf.h:203: note: this is the location of the previous definition #define INLINE static __inline__ // defined for GCC; if using MSVC, pass INLINE as "static __inline" from Makefile Src/CPU/PowerPC/ppc.cpp: In function 'void ppc_base_init()': Src/CPU/PowerPC/ppc.cpp:690:14: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for( i=0; i < (sizeof(ppc_opcode_common) / sizeof(PPC_OPCODE)); i++ ) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Src/CPU/PowerPC/ppc.cpp:664: Src/CPU/PowerPC/ppc603.c: At global scope: Src/CPU/PowerPC/ppc603.c:209:13: warning: 'void ppc603_set_smi_line(int)' defined but not used [-Wunused-function] static void ppc603_set_smi_line(int state) ^~~~~~~~~~~~~~~~~~~ Src/Model3/Model3.cpp: In member function 'void CModel3::RunFrame()': Src/Model3/Model3.cpp:1921:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (syncSndBrdThread && !sndBrdThreadSync->Post() || DriveBoard.IsAttached() && !drvBrdThreadSync->Post()) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/Model3/Model3.cpp:1932:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (syncSndBrdThread && !sndBrdThreadDone || DriveBoard.IsAttached() && !drvBrdThreadDone) ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ Src/Model3/Model3.cpp: In member function 'void CModel3::RunSoundBoardThread()': Src/Model3/Model3.cpp:2204:8: warning: unused variable 'repeat' [-Wunused-variable] bool repeat = true; ^~~~~~ Src/Model3/Model3.cpp: In destructor 'CModel3::~CModel3()': Src/Model3/Model3.cpp:3006:10: warning: deleting object of abstract class type 'CDSB' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete DSB; ^~~ Src/Model3/Model3.cpp: At global scope: Src/Model3/Model3.cpp:2684:13: warning: 'void Dump(const char*, UINT8*, unsigned int, bool, bool)' defined but not used [-Wunused-function] static void Dump(const char *file, UINT8 *buf, unsigned size, bool reverse32, bool reverse16) ^~~~ cc Src/OSD/SDL/Main.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Main.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/new:39, from Src/OSD/SDL/Main.cpp:35: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/OSD/SDL/Main.cpp:47: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/OSD/SDL/Main.cpp:1179:7: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] puts("Supermodel: A Sega Model 3 Arcade Emulator (Version "SUPERMODEL_VERSION")"); ^ cc Src/OSD/SDL/Audio.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Audio.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/OSD/SDL/Audio.cpp:28: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/OSD/SDL/Audio.cpp:28: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/OSD/SDL/Main.cpp: In function 'bool CreateGLScreen(const char*, unsigned int*, unsigned int*, unsigned int*, unsigned int*, bool, bool)': Src/OSD/SDL/Main.cpp:175:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare] if (*xResPtr < VideoInfo->current_w) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:177:17: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare] if (*yResPtr < VideoInfo->current_h) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:211:28: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] if (VideoInfo->current_w > *xResPtr || VideoInfo->current_h > *yResPtr) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ Src/OSD/SDL/Main.cpp:211:63: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] if (VideoInfo->current_w > *xResPtr || VideoInfo->current_h > *yResPtr) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ Src/OSD/SDL/Main.cpp:133:24: warning: variable 'ratio' set but not used [-Wunused-but-set-variable] float model3Ratio, ratio; ^~~~~ Src/OSD/SDL/Main.cpp: In function 'void UpdateCrosshairs(CInputs*, unsigned int)': Src/OSD/SDL/Main.cpp:668:19: warning: converting to non-pointer type 'GLuint' {aka 'unsigned int'} from NULL [-Wconversion-null] glUseProgram(NULL); // no shaders ^ Src/OSD/SDL/Main.cpp: In function 'int Supermodel(const char*, CInputs*, CINIFile*)': Src/OSD/SDL/Main.cpp:1063:9: warning: deleting object of polymorphic class type 'CModel3' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete Model3; ^~~~~~ Src/OSD/SDL/Main.cpp:1100:9: warning: deleting object of polymorphic class type 'CModel3' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete Model3; ^~~~~~ Src/OSD/SDL/Main.cpp:854:23: warning: ' (Paused)' directive writing 9 bytes into a region of size between 1 and 128 [-Wformat-overflow=] sprintf(titleStr, "%s (Paused)", baseTitleStr); ^~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:854:12: note: 'sprintf' output between 10 and 137 bytes into a destination of size 128 sprintf(titleStr, "%s (Paused)", baseTitleStr); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:1021:23: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 128 [-Wformat-overflow=] sprintf(titleStr, "%s - %1.1f FPS%s", baseTitleStr, (float)fpsFramesElapsed*(float)(currentFPSTicks-prevFPSTicks)/1000.0f, paused ? " (Paused)" : ""); ^~~~~~~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:1021:12: note: 'sprintf' output 11 or more bytes (assuming 138) into a destination of size 128 sprintf(titleStr, "%s - %1.1f FPS%s", baseTitleStr, (float)fpsFramesElapsed*(float)(currentFPSTicks-prevFPSTicks)/1000.0f, paused ? " (Paused)" : ""); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc Src/OSD/SDL/Thread.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Thread.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/OSD/SDL/Thread.cpp:28: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/OSD/SDL/Thread.cpp:28: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/SoundBoard.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/SoundBoard.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/SoundBoard.cpp:57: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc Src/Sound/SCSP.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/SCSP.o In file included from Src/Supermodel.h:98, from Src/Model3/SoundBoard.cpp:57: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Sound/SCSP.cpp:52: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Sound/SCSP.cpp:52: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/Model3/SoundBoard.cpp:542:13: warning: 'void Reverse16(UINT8*, unsigned int)' defined but not used [-Wunused-function] static void Reverse16(UINT8 *buf, unsigned size) ^~~~~~~~~ cc Src/Sound/SCSPDSP.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/SCSPDSP.o In file included from Src/Sound/SCSP.cpp:161: Src/Sound/SCSPLFO.cpp: In function 'void LFO_Init()': Src/Sound/SCSPLFO.cpp:65:9: warning: unused variable 'TL' [-Wunused-variable] float TL; ^~ Src/Sound/SCSP.cpp: In function 'bool SCSP_Init(int)': Src/Sound/SCSP.cpp:560:17: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(SCSP,0,sizeof(SCSP)); ^~~~~~~~~~~~ Src/Sound/SCSP.cpp:569:16: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(SCSP,0,sizeof(SCSP)); ^~~~~~~~~~~~ Src/Sound/SCSP.cpp:677:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp:679:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp: In function 'void SCSP_UpdateSlotReg(int, int)': Src/Sound/SCSP.cpp:779:11: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp:806:9: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp: In function 'void SCSP_UpdateReg(int)': Src/Sound/SCSP.cpp:862:9: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp: In function 'void SCSP_w8(unsigned int, unsigned char)': Src/Sound/SCSP.cpp:993:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp:998:7: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp: In function 'void SCSP_w16(unsigned int, short unsigned int)': Src/Sound/SCSP.cpp:1033:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp:1036:7: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp: In function 'void SCSP_w32(unsigned int, unsigned int)': Src/Sound/SCSP.cpp:1067:7: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp:1080:9: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp:1083:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSP.cpp: In function 'int SCSP_UpdateSlot(_SLOT*)': Src/Sound/SCSP.cpp:1640:17: warning: unused variable 'v' [-Wunused-variable] unsigned char v; ^ Src/Sound/SCSP.cpp:1656:7: warning: unused variable 's' [-Wunused-variable] int s; ^ Src/Sound/SCSP.cpp:1657:14: warning: unused variable 'fpart' [-Wunused-variable] signed int fpart=slot->cur_addr&((1<<SHIFT)-1); ^~~~~ Src/Sound/SCSP.cpp:1675:7: warning: unused variable 's' [-Wunused-variable] int s; ^ Src/Sound/SCSP.cpp:1676:14: warning: unused variable 'fpart' [-Wunused-variable] signed int fpart=slot->cur_addr&((1<<SHIFT)-1); ^~~~~ Src/Sound/SCSP.cpp:1751:7: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Sound/SCSPDSP.cpp:28: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Src/Sound/SCSP.cpp: At global scope: Src/Sound/SCSP.cpp:121:15: warning: 'RetIntCB' defined but not used [-Wunused-variable] static void (*RetIntCB)(); ^~~~~~~~ In file included from Src/Supermodel.h:98, from Src/Sound/SCSPDSP.cpp:28: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/Sound/SCSPDSP.cpp:39: warning: ignoring #pragma warning [-Wunknown-pragmas] #pragma warning(disable:4311) cc Src/CPU/68K/68K.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/68K.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/CPU/68K/68K.cpp:36: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Src/Sound/SCSPDSP.cpp: In function 'void SCSPDSP_Step(_SCSPDSP*)': Src/Sound/SCSPDSP.cpp:268:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSPDSP.cpp:270:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSPDSP.cpp:449:10: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSPDSP.cpp:272:7: warning: unused variable 'dump' [-Wunused-variable] int dump=0; ^~~~ Src/Sound/SCSPDSP.cpp: In function 'void SCSPDSP_SetSample(_SCSPDSP*, int, int, int)': Src/Sound/SCSPDSP.cpp:1092:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSPDSP.cpp:1090:7: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ Src/Sound/SCSPDSP.cpp: In function 'void SCSPDSP_Start(_SCSPDSP*)': Src/Sound/SCSPDSP.cpp:1129:8: warning: unused variable 'a' [-Wunused-variable] int a=1; ^ In file included from Src/Supermodel.h:98, from Src/CPU/68K/68K.cpp:36: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/CPU/68K/Musashi/m68kmake.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/m68kmake.o cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C Src/CPU/68K/Musashi/m68kmake.c: In function 'main': Src/CPU/68K/Musashi/m68kmake.c:1343:23: warning: '%s' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(filename, "%s%s", output_path, FILENAME_PROTOTYPE); ^~ In file included from /usr/include/stdio.h:873, from Src/CPU/68K/Musashi/m68kmake.c:91: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kmake.c:1347:23: warning: '%s' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(filename, "%s%s", output_path, FILENAME_TABLE); ^~ In file included from /usr/include/stdio.h:873, from Src/CPU/68K/Musashi/m68kmake.c:91: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kmake.c:1351:23: warning: '%s' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(filename, "%s%s", output_path, FILENAME_OPS_AC); ^~ In file included from /usr/include/stdio.h:873, from Src/CPU/68K/Musashi/m68kmake.c:91: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kmake.c:1355:23: warning: '%s' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(filename, "%s%s", output_path, FILENAME_OPS_DM); ^~ In file included from /usr/include/stdio.h:873, from Src/CPU/68K/Musashi/m68kmake.c:91: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kmake.c:1359:23: warning: '%s' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(filename, "%s%s", output_path, FILENAME_OPS_NZ); ^~ In file included from /usr/include/stdio.h:873, from Src/CPU/68K/Musashi/m68kmake.c:91: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__s), __fmt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~ c++ obj/m68kmake.o -o obj/m68kmake cc Src/Model3/DSB.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/DSB.o cc Src/CPU/Z80/Z80.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Z80.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/DSB.cpp:41: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/DSB.cpp:41: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/CPU/Z80/Z80.cpp:32: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/CPU/Z80/Z80.cpp:33: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/Model3/DSB.cpp:667:20: warning: 'stateName' defined but not used [-Wunused-variable] static const char *stateName[] = ^~~~~~~~~ cc Src/Model3/IRQ.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/IRQ.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/IRQ.cpp:34: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/IRQ.cpp:34: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/53C810.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/53C810.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstring:41, from Src/Model3/53C810.cpp:51: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/53C810.cpp:52: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/PCI.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/PCI.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/PCI.cpp:36: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc Src/Model3/RTC72421.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/RTC72421.o In file included from Src/Supermodel.h:98, from Src/Model3/PCI.cpp:36: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/time.h:25, from Src/Model3/RTC72421.cpp:34: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/RTC72421.cpp:35: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/DriveBoard.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/DriveBoard.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/DriveBoard.cpp:31: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/DriveBoard.cpp:31: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Model3/MPC10x.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/MPC10x.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstring:41, from Src/Model3/MPC10x.cpp:69: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/MPC10x.cpp:70: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from Src/Supermodel.h:151, from Src/Model3/DriveBoard.cpp:31: Src/Model3/DriveBoard.h: In constructor 'CDriveBoard::CDriveBoard()': Src/Model3/DriveBoard.h:274:11: warning: 'CDriveBoard::m_inputs' will be initialized after [-Wreorder] CInputs *m_inputs; ^~~~~~~~ Src/Model3/DriveBoard.h:266:8: warning: 'UINT8 CDriveBoard::m_dip1' [-Wreorder] UINT8 m_dip1; // Value of DIP switch 1 ^~~~~~ Src/Model3/DriveBoard.cpp:816:1: warning: when initialized here [-Wreorder] CDriveBoard::CDriveBoard() : m_attached(false), m_tmpDisabled(false), m_simulated(false), ^~~~~~~~~~~ cc Src/Inputs/Input.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Input.o cc Src/Inputs/Inputs.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/Inputs.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/Input.cpp:29: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/Inputs.cpp:29: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Inputs/Input.cpp:29: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from Src/Supermodel.h:98, from Src/Inputs/Inputs.cpp:29: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/Inputs/Inputs.cpp: In member function 'void CInputs::CalibrateJoysticks()': Src/Inputs/Inputs.cpp:535:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (numJoys == 0 || numJoys == ANY_JOYSTICK) Src/Inputs/Inputs.cpp:542:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] for (int joyNum = 0; joyNum < numJoys; joyNum++) ~~~~~~~^~~~~~~~~ Src/Inputs/Inputs.cpp: In member function 'void CInputs::CalibrateJoystick(int)': Src/Inputs/Inputs.cpp:586:10: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wformat=] printf(" %u: %s\n", axisNumList.size(), joyDetails->axisName[axisNum]); ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ In file included from Src/Supermodel.h:133, from Src/Inputs/Input.cpp:29: Src/Inputs/Input.h: In constructor 'CInput::CInput(const char*, const char*, unsigned int, unsigned int, const char*, UINT16)': Src/Inputs/Input.h:109:17: warning: 'CInput::gameFlags' will be initialized after [-Wreorder] const unsigned gameFlags; ^~~~~~~~~ Src/Inputs/Input.h:76:14: warning: 'const char* CInput::m_defaultMapping' [-Wreorder] const char *m_defaultMapping; ^~~~~~~~~~~~~~~~ Src/Inputs/Input.cpp:31:1: warning: when initialized here [-Wreorder] CInput::CInput(const char *inputId, const char *inputLabel, unsigned inputFlags, unsigned inputGameFlags, const char *defaultMapping, UINT16 initValue) : ^~~~~~ In file included from Src/Supermodel.h:133, from Src/Inputs/Input.cpp:29: Src/Inputs/Input.h:115:9: warning: 'CInput::prevValue' will be initialized after [-Wreorder] UINT16 prevValue; ^~~~~~~~~ Src/Inputs/Input.h:79:16: warning: 'CInputSystem* CInput::m_system' [-Wreorder] CInputSystem *m_system; ^~~~~~~~ Src/Inputs/Input.cpp:31:1: warning: when initialized here [-Wreorder] CInput::CInput(const char *inputId, const char *inputLabel, unsigned inputFlags, unsigned inputGameFlags, const char *defaultMapping, UINT16 initValue) : ^~~~~~ cc Src/Inputs/InputSource.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/InputSource.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/InputSource.cpp:30: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Inputs/InputSource.cpp:30: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Inputs/InputSystem.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/InputSystem.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/InputSystem.cpp:35: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Inputs/InputSystem.cpp:35: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from Src/Supermodel.h:135, from Src/Inputs/InputSource.cpp:30: Src/Inputs/InputSource.h: In constructor 'CInputSource::CInputSource(ESourceType)': Src/Inputs/InputSource.h:63:20: warning: 'CInputSource::type' will be initialized after [-Wreorder] const ESourceType type; ^~~~ Src/Inputs/InputSource.h:55:11: warning: 'unsigned int CInputSource::m_acquired' [-Wreorder] unsigned m_acquired; ^~~~~~~~~~ Src/Inputs/InputSource.cpp:35:1: warning: when initialized here [-Wreorder] CInputSource::CInputSource(ESourceType sourceType) : type(sourceType), m_acquired(0) ^~~~~~~~~~~~ Src/Inputs/InputSource.cpp: In member function 'virtual void CInputSource::Release()': Src/Inputs/InputSource.cpp:52:10: warning: deleting object of abstract class type 'CInputSource' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete this; ^~~~ In file included from Src/Supermodel.h:136, from Src/Inputs/InputSystem.cpp:35: Src/Inputs/InputSystem.h: In constructor 'CInputSystem::CInputSystem(const char*)': Src/Inputs/InputSystem.h:729:14: warning: 'CInputSystem::name' will be initialized after [-Wreorder] const char *name; ^~~~ Src/Inputs/InputSystem.h:511:11: warning: 'unsigned int CInputSystem::m_dispX' [-Wreorder] unsigned m_dispX; ^~~~~~~ Src/Inputs/InputSystem.cpp:393:1: warning: when initialized here [-Wreorder] CInputSystem::CInputSystem(const char *systemName) : ^~~~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'void CInputSystem::CreateSourceCache()': Src/Inputs/InputSystem.cpp:417:70: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(m_anyKeySources, NULL, sizeof(CInputSource*) * NUM_VALID_KEYS); ^ Src/Inputs/InputSystem.cpp:424:77: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(m_keySources[kbdNum], NULL, sizeof(CInputSource*) * NUM_VALID_KEYS); ^ Src/Inputs/InputSystem.cpp:430:71: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(m_anyMseSources, NULL, sizeof(CInputSource*) * NUM_MOUSE_PARTS); ^ Src/Inputs/InputSystem.cpp:437:78: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(m_mseSources[mseNum], NULL, sizeof(CInputSource*) * NUM_MOUSE_PARTS); ^ Src/Inputs/InputSystem.cpp:443:69: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(m_anyJoySources, NULL, sizeof(CInputSource*) * NUM_JOY_PARTS); ^ Src/Inputs/InputSystem.cpp:450:76: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(m_joySources[joyNum], NULL, sizeof(CInputSource*) * NUM_JOY_PARTS); ^ Src/Inputs/InputSystem.cpp: In member function 'void CInputSystem::ClearSourceCache(bool)': Src/Inputs/InputSystem.cpp:460:35: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (int keyIndex = 0; keyIndex < NUM_VALID_KEYS; keyIndex++) Src/Inputs/InputSystem.cpp:471:37: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (int keyIndex = 0; keyIndex < NUM_VALID_KEYS; keyIndex++) Src/Inputs/InputSystem.cpp: In member function 'void CInputSystem::CheckKeySources(int, bool, std::vector<CInputSource*>&, std::__cxx11::string&, std::vector<CInputSource*>&)': Src/Inputs/InputSystem.cpp:684:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (int i = 0; i < NUM_VALID_KEYS; i++) Src/Inputs/InputSystem.cpp: In member function 'void CInputSystem::CheckMouseSources(int, bool, bool, std::vector<CInputSource*>&, std::__cxx11::string&, std::vector<CInputSource*>&)': Src/Inputs/InputSystem.cpp:721:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (isXYAxis && !mseCentered || isAxis && (IsFullAxis(msePart) && !fullAxisOnly || !IsFullAxis(msePart) && fullAxisOnly)) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp:721:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (isXYAxis && !mseCentered || isAxis && (IsFullAxis(msePart) && !fullAxisOnly || !IsFullAxis(msePart) && fullAxisOnly)) ~~~~~~~~~^~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'void CInputSystem::CheckJoySources(int, bool, std::vector<CInputSource*>&, std::__cxx11::string&, std::vector<CInputSource*>&)': Src/Inputs/InputSystem.cpp:750:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (IsAxis(joyPart) && (IsFullAxis(joyPart) && !fullAxisOnly || !IsFullAxis(joyPart) && fullAxisOnly)) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'bool CInputSystem::IsValidKeyName(std::__cxx11::string)': Src/Inputs/InputSystem.cpp:811:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (int i = 0; i < NUM_VALID_KEYS; i++) Src/Inputs/InputSystem.cpp: In member function 'CInputSource* CInputSystem::ParseMultiSource(std::__cxx11::string, bool, bool)': Src/Inputs/InputSystem.cpp:924:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (parsed->type == SourceEmpty || parsed->type == SourceFullAxis && fullAxisOnly || parsed->type != SourceFullAxis && !fullAxisOnly)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp:924:117: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (parsed->type == SourceEmpty || parsed->type == SourceFullAxis && fullAxisOnly || parsed->type != SourceFullAxis && !fullAxisOnly)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'bool CInputSystem::ReadMapping(char*, unsigned int, bool, unsigned int, const char*)': Src/Inputs/InputSystem.cpp:1717:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (type != SourceInvalid && (type == SourceFullAxis && fullAxisOnly || type != SourceFullAxis && !fullAxisOnly)) ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'bool CInputSystem::DetectJoystickAxis(unsigned int, unsigned int&, const char*, const char*)': Src/Inputs/InputSystem.cpp:1858:10: warning: too many arguments for format [-Wformat-extra-args] printf("Detected\n", joyDetails->axisName[axisNum]); ^~~~~~~~~~~~ Src/Inputs/InputSystem.cpp:1787:11: warning: variable 'maxAxisNum' set but not used [-Wunused-but-set-variable] unsigned maxAxisNum; ^~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'virtual bool CInputSystem::CMseAxisInputSource::GetValueAsSwitch(bool&)': Src/Inputs/InputSystem.cpp:2253:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((m_axisDir == AXIS_POS || m_axisDir == AXIS_FULL) && wheelDir <= 0 || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'int CInputSystem::CJoyAxisInputSource::ScaleAxisValue(int, int, int)': Src/Inputs/InputSystem.cpp:2332:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!m_axisInverted && joyVal > m_axisOffVal || m_axisInverted && joyVal < m_axisOffVal) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp:2340:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!m_axisInverted && joyVal > m_axisOffVal || m_axisInverted && joyVal < m_axisOffVal) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cc Src/Inputs/InputTypes.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/InputTypes.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/InputTypes.cpp:29: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Inputs/InputTypes.cpp:29: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from Src/Supermodel.h:137, from Src/Inputs/InputTypes.cpp:29: Src/Inputs/InputTypes.h: In constructor 'CTriggerInput::CTriggerInput(const char*, const char*, unsigned int, CSwitchInput*, CSwitchInput*, UINT16, UINT16)': Src/Inputs/InputTypes.h:153:6: warning: 'CTriggerInput::m_offscreenCount' will be initialized after [-Wreorder] int m_offscreenCount; ^~~~~~~~~~~~~~~~ Src/Inputs/InputTypes.h:149:9: warning: 'UINT16 CTriggerInput::m_offVal' [-Wreorder] UINT16 m_offVal; ^~~~~~~~ Src/Inputs/InputTypes.cpp:177:1: warning: when initialized here [-Wreorder] CTriggerInput::CTriggerInput(const char *inputId, const char *inputLabel, unsigned inputGameFlags, ^~~~~~~~~~~~~ cc Src/Inputs/MultiInputSource.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/MultiInputSource.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/MultiInputSource.cpp:28: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Inputs/MultiInputSource.cpp:28: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/OSD/SDL/SDLInputSystem.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/SDLInputSystem.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/string:38, from Src/Inputs/InputSource.h:31, from Src/OSD/SDL/SDLInputSystem.h:32, from Src/OSD/SDL/SDLInputSystem.cpp:28: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/OSD/SDL/SDLInputSystem.cpp:29: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Sound/MPEG/audio.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_audio.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from Src/Sound/MPEG/audio.h:37, from Src/Sound/MPEG/audio.cpp:47: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Sound/MPEG/audio.cpp:63: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ Src/OSD/SDL/SDLInputSystem.cpp: In member function 'virtual int CSDLInputSystem::GetKeyIndex(const char*)': Src/OSD/SDL/SDLInputSystem.cpp:262:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] for (int i = 0; i < NUM_SDL_KEYS; i++) Src/OSD/SDL/SDLInputSystem.cpp: In member function 'virtual const char* CSDLInputSystem::GetKeyName(int)': Src/OSD/SDL/SDLInputSystem.cpp:272:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (keyIndex < 0 || keyIndex >= NUM_SDL_KEYS) cc Src/Sound/MPEG/dump.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_dump.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from Src/Sound/MPEG/dump.cpp:38: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc Src/Sound/MPEG/getbits.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_getbits.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from Src/Sound/MPEG/getbits.cpp:37: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Src/Sound/MPEG/getbits.cpp: In function 'int get_input(unsigned char*, unsigned int)': Src/Sound/MPEG/getbits.cpp:401:39: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if ( m1fread( bp , 1, size, in_file) != size) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc Src/Sound/MPEG/getdata.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_getdata.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from Src/Sound/MPEG/audio.h:37, from Src/Sound/MPEG/getdata.cpp:38: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Src/Sound/MPEG/audio.cpp: In function 'void statusDisplay(AUDIO_HEADER*, int)': Src/Sound/MPEG/audio.cpp:89:11: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] msg("\r"); ^ Src/Sound/MPEG/audio.cpp:91:24: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] msg("{ %d } ",frameNo); ^ Src/Sound/MPEG/audio.cpp:97:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] msg("[%d:%02d]",minutes,seconds); ^ Src/Sound/MPEG/audio.cpp: At global scope: Src/Sound/MPEG/audio.cpp:76:12: warning: 'stream' defined but not used [-Wunused-variable] static int stream = -1; ^~~~~~ cc Src/Sound/MPEG/huffman.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_huffman.o cc Src/Sound/MPEG/layer2.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_layer2.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdlib:41, from /usr/include/c++/8/stdlib.h:36, from Src/Sound/MPEG/huffman.cpp:37: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Sound/MPEG/huffman.cpp:44: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from Src/Sound/MPEG/audio.h:37, from Src/Sound/MPEG/layer2.cpp:38: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Sound/MPEG/layer2.cpp:45: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ cc Src/Sound/MPEG/layer3.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_layer3.o cc Src/Sound/MPEG/misc2.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_misc2.o In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from Src/Sound/MPEG/audio.h:37, from Src/Sound/MPEG/layer3.cpp:38: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cmath:41, from /usr/include/c++/8/math.h:36, from Src/Sound/MPEG/misc2.cpp:38: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc Src/Sound/MPEG/position.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_position.o In file included from Src/Supermodel.h:98, from Src/Sound/MPEG/misc2.cpp:49: Src/OSD/Logger.h:196:28: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); ^ In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cstdlib:41, from /usr/include/c++/8/stdlib.h:36, from Src/Sound/MPEG/position.cpp:35: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc Src/Sound/MPEG/transform.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_transform.o In file included from /usr/include/c++/8/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/8/x86_64-redhat-linux/bits/c++config.h:2470, from /usr/include/c++/8/cmath:41, from /usr/include/c++/8/math.h:36, from Src/Sound/MPEG/transform.cpp:63: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ Src/Sound/MPEG/misc2.cpp: In function 'void requantize_ms(int, SIDE_INFO*, AUDIO_HEADER*)': Src/Sound/MPEG/misc2.cpp:586:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ Src/Sound/MPEG/misc2.cpp:603:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' while (l<(MAX(non_zero[0],non_zero[1]))) { ^~~~~ cc Src/Sound/MPEG/util.cpp -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/amp_util.o Generating 68K emulator: obj/m68kops.h In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from Src/Sound/MPEG/util.cpp:42: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from Src/Sound/MPEG/util.cpp:40: Src/Sound/MPEG/amp.h:75:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] }; ^ Src/Sound/MPEG/amp.h:75:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/Sound/MPEG/amp.h:75:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/Sound/MPEG/amp.h:75:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/Sound/MPEG/amp.h:75:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/Sound/MPEG/amp.h:75:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Src/Sound/MPEG/util.cpp: In function 'void debugOptions()': Src/Sound/MPEG/util.cpp:100:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] msg("Possible options are: "); ^ Src/Sound/MPEG/util.cpp:102:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] msg("%s,",debugLookup[idx].name); ^ Src/Sound/MPEG/util.cpp:103:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] msg("\010 \n"); ^ Src/Sound/MPEG/util.cpp: In function 'void debugSetup(char*)': Src/Sound/MPEG/util.cpp:114:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] warn("Debugging has not been compiled into this version of amp\n"); ^ obj/m68kmake obj Src/CPU/68K/Musashi/m68k_in.c Generating 68K emulator: obj/m68kopnz.c obj/m68kmake obj Src/CPU/68K/Musashi/m68k_in.c Generating 68K emulator: obj/m68kopdm.c Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1962 opcode handlers from 513 primitives obj/m68kmake obj Src/CPU/68K/Musashi/m68k_in.c Generating 68K emulator: obj/m68kopac.c Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1962 opcode handlers from 513 primitives obj/m68kmake obj Src/CPU/68K/Musashi/m68k_in.c Generating 68K emulator: obj/m68kops.c Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1962 opcode handlers from 513 primitives obj/m68kmake obj Src/CPU/68K/Musashi/m68k_in.c Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1962 opcode handlers from 513 primitives cc Src/CPU/68K/Musashi/m68kcpu.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/m68kcpu.o -Iobj -ISrc/CPU/68K/Musashi -DINLINE="static inline" Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator Copyright 1998-2000 Karl Stenerud (karl@mame.net) Generated 1962 opcode handlers from 513 primitives cc obj/m68kopnz.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/m68kopnz.o -ISrc/CPU/68K/Musashi -DINLINE="static inline" cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C In file included from Src/CPU/68K/Musashi/m68k.h:384, from Src/CPU/68K/Musashi/m68kcpu.h:58, from Src/CPU/68K/Musashi/m68kcpu.c:70: Src/CPU/68K/Musashi/m68kcpu.h: In function 'm68ki_exception_interrupt': Src/CPU/68K/Musashi/m68kconf.h:100:37: warning: implicit declaration of function 'M68KIRQCallback' [-Wimplicit-function-declaration] #define M68K_INT_ACK_CALLBACK(A) M68KIRQCallback(A) ^~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:449:28: note: in expansion of macro 'M68K_INT_ACK_CALLBACK' #define m68ki_int_ack(A) M68K_INT_ACK_CALLBACK(A) ^~~~~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:1902:11: note: in expansion of macro 'm68ki_int_ack' vector = m68ki_int_ack(int_level); ^~~~~~~~~~~~~ At top level: Src/CPU/68K/Musashi/m68kcpu.c:40:20: warning: 'copyright_notice' defined but not used [-Wunused-variable] static const char* copyright_notice = ^~~~~~~~~~~~~~~~ In file included from Src/CPU/68K/Musashi/m68k.h:384, from Src/CPU/68K/Musashi/m68kcpu.h:58, from obj/m68kopnz.c:1: Src/CPU/68K/Musashi/m68kcpu.h: In function 'm68ki_exception_interrupt': Src/CPU/68K/Musashi/m68kconf.h:100:37: warning: implicit declaration of function 'M68KIRQCallback' [-Wimplicit-function-declaration] #define M68K_INT_ACK_CALLBACK(A) M68KIRQCallback(A) ^~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:449:28: note: in expansion of macro 'M68K_INT_ACK_CALLBACK' #define m68ki_int_ack(A) M68K_INT_ACK_CALLBACK(A) ^~~~~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:1902:11: note: in expansion of macro 'm68ki_int_ack' vector = m68ki_int_ack(int_level); ^~~~~~~~~~~~~ cc obj/m68kopdm.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/m68kopdm.o -ISrc/CPU/68K/Musashi -DINLINE="static inline" cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C In file included from Src/CPU/68K/Musashi/m68k.h:384, from Src/CPU/68K/Musashi/m68kcpu.h:58, from obj/m68kopdm.c:1: Src/CPU/68K/Musashi/m68kcpu.h: In function 'm68ki_exception_interrupt': Src/CPU/68K/Musashi/m68kconf.h:100:37: warning: implicit declaration of function 'M68KIRQCallback' [-Wimplicit-function-declaration] #define M68K_INT_ACK_CALLBACK(A) M68KIRQCallback(A) ^~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:449:28: note: in expansion of macro 'M68K_INT_ACK_CALLBACK' #define m68ki_int_ack(A) M68K_INT_ACK_CALLBACK(A) ^~~~~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:1902:11: note: in expansion of macro 'm68ki_int_ack' vector = m68ki_int_ack(int_level); ^~~~~~~~~~~~~ cc obj/m68kopac.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/m68kopac.o -ISrc/CPU/68K/Musashi -DINLINE="static inline" cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C In file included from Src/CPU/68K/Musashi/m68k.h:384, from Src/CPU/68K/Musashi/m68kcpu.h:58, from obj/m68kopac.c:1: Src/CPU/68K/Musashi/m68kcpu.h: In function 'm68ki_exception_interrupt': Src/CPU/68K/Musashi/m68kconf.h:100:37: warning: implicit declaration of function 'M68KIRQCallback' [-Wimplicit-function-declaration] #define M68K_INT_ACK_CALLBACK(A) M68KIRQCallback(A) ^~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:449:28: note: in expansion of macro 'M68K_INT_ACK_CALLBACK' #define m68ki_int_ack(A) M68K_INT_ACK_CALLBACK(A) ^~~~~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:1902:11: note: in expansion of macro 'm68ki_int_ack' vector = m68ki_int_ack(int_level); ^~~~~~~~~~~~~ cc obj/m68kops.c -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -std=gnu++98 -o obj/m68kops.o -ISrc/CPU/68K/Musashi -DINLINE="static inline" cc1: warning: command line option '-std=gnu++98' is valid for C++/ObjC++ but not for C c++ obj/PPCDisasm.o obj/Games.o obj/Config.o obj/INIFile.o obj/BlockFile.o obj/93C46.o obj/ROMLoad.o obj/unzip.o obj/ioapi.o obj/Error.o obj/glew.o obj/Shader.o obj/Real3D.o obj/Render3D.o obj/Models.o obj/Render2D.o obj/TileGen.o obj/Model3.o obj/ppc.o obj/Main.o obj/Audio.o obj/Thread.o obj/SoundBoard.o obj/SCSP.o obj/SCSPDSP.o obj/68K.o obj/m68kcpu.o obj/m68kopnz.o obj/m68kopdm.o obj/m68kopac.o obj/m68kops.o obj/DSB.o obj/Z80.o obj/IRQ.o obj/53C810.o obj/PCI.o obj/RTC72421.o obj/DriveBoard.o obj/MPC10x.o obj/Input.o obj/Inputs.o obj/InputSource.o obj/InputSystem.o obj/InputTypes.o obj/MultiInputSource.o obj/SDLInputSystem.o obj/amp_audio.o obj/amp_dump.o obj/amp_getbits.o obj/amp_getdata.o obj/amp_huffman.o obj/amp_layer2.o obj/amp_layer3.o obj/amp_misc2.o obj/amp_position.o obj/amp_transform.o obj/amp_util.o -o bin/Supermodel -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 `sdl-config --libs` -lGLU -lz -lm /bin/ld: obj/Render3D.o: undefined reference to symbol 'glDepthFunc' //usr/pkg/lib/libGL.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status gmake: *** [Makefiles/Makefile.SDL.UNIX.GCC:118: all] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/supermodel *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/supermodel