+ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/CPU/PowerPC/PPCDisasm.cpp:33: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Games.cpp:33: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ In file included from Src/Supermodel.h:98, from Src/Games.cpp:33: Src/OSD/Logger.h:196:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ Src/CPU/PowerPC/PPCDisasm.cpp:231:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 231 | { "add", D_OP(31)|D_XO(266), M_RT|M_RA|M_RB|M_OE|M_RC, F_RT_RA_RB, FL_OE|FL_RC }, | ^~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:232:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 232 | { "addc", D_OP(31)|D_XO(10), M_RT|M_RA|M_RB|M_OE|M_RC, F_RT_RA_RB, FL_OE|FL_RC }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:233:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 233 | { "adde", D_OP(31)|D_XO(138), M_RT|M_RA|M_RB|M_OE|M_RC, F_RT_RA_RB, FL_OE|FL_RC }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:234:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 234 | { "addi", D_OP(14), M_RT|M_RA|M_SIMM, F_RT_RA_0_SIMM, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:235:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 235 | { "addic", D_OP(12), M_RT|M_RA|M_SIMM, F_RT_RA_SIMM, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:236:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 236 | { "addic.", D_OP(13), M_RT|M_RA|M_SIMM, F_RT_RA_SIMM, 0 }, | ^~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:237:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 237 | { "addis", D_OP(15), M_RT|M_RA|M_SIMM, F_ADDIS, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:238:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 238 | { "addme", D_OP(31)|D_XO(234), M_RT|M_RA|M_OE|M_RC, F_RT_RA, FL_OE|FL_RC }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:239:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 239 | { "addze", D_OP(31)|D_XO(202), M_RT|M_RA|M_OE|M_RC, F_RT_RA, FL_OE|FL_RC }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:240:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 240 | { "and", D_OP(31)|D_XO(28), M_RT|M_RA|M_RB|M_RC, F_RA_RT_RB, FL_RC }, | ^~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:241:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 241 | { "andc", D_OP(31)|D_XO(60), M_RT|M_RA|M_RB|M_RC, F_RA_RT_RB, FL_RC }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:242:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 242 | { "andi.", D_OP(28), M_RT|M_RA|M_UIMM, F_RA_RT_UIMM, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:243:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 243 | { "andis.", D_OP(29), M_RT|M_RA|M_UIMM, F_RA_RT_UIMM, 0 }, | ^~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:244:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 244 | { "b", D_OP(18), M_LI|M_AA|M_LK, F_LI, FL_AA|FL_LK }, | ^~~ Src/CPU/PowerPC/PPCDisasm.cpp:245:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 245 | { "bc", D_OP(16), M_BO|M_BI|M_BD|M_AA|M_LK, F_BCx, FL_AA|FL_LK }, | ^~~~ Src/CPU/PowerPC/PPCDisasm.cpp:246:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 246 | { "bcctr", D_OP(19)|D_XO(528), M_BO|M_BI|M_LK, F_BO_BI, FL_LK }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:247:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 247 | { "bclr", D_OP(19)|D_XO(16), M_BO|M_BI|M_LK, F_BO_BI, FL_LK }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:248:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 248 | { "cmp", D_OP(31)|D_XO(0), M_CRFD|M_L|M_RA|M_RB, F_CMP, 0 }, | ^~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:249:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 249 | { "cmpi", D_OP(11), M_CRFD|M_L|M_RA|M_SIMM, F_CMP_SIMM, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:250:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 250 | { "cmpl", D_OP(31)|D_XO(32), M_CRFD|M_L|M_RA|M_RB, F_CMP, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:251:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 251 | { "cmpli", D_OP(10), M_CRFD|M_L|M_RA|M_UIMM, F_CMP_UIMM, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:252:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 252 | { "cntlzw", D_OP(31)|D_XO(26), M_RT|M_RA|M_RC, F_RA_RT, FL_RC }, | ^~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:253:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 253 | { "crand", D_OP(19)|D_XO(257), M_CRBD|M_CRBA|M_CRBB, F_CRBD_CRBA_CRBB, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:254:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 254 | { "crandc", D_OP(19)|D_XO(129), M_CRBD|M_CRBA|M_CRBB, F_CRBD_CRBA_CRBB, 0 }, | ^~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:255:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 255 | { "creqv", D_OP(19)|D_XO(289), M_CRBD|M_CRBA|M_CRBB, F_CRBD_CRBA_CRBB, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:256:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 256 | { "crnand", D_OP(19)|D_XO(225), M_CRBD|M_CRBA|M_CRBB, F_CRBD_CRBA_CRBB, 0 }, | ^~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:257:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 257 | { "crnor", D_OP(19)|D_XO(33), M_CRBD|M_CRBA|M_CRBB, F_CRBD_CRBA_CRBB, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:258:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 258 | { "cror", D_OP(19)|D_XO(449), M_CRBD|M_CRBA|M_CRBB, F_CRBD_CRBA_CRBB, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:259:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 259 | { "crorc", D_OP(19)|D_XO(417), M_CRBD|M_CRBA|M_CRBB, F_CRBD_CRBA_CRBB, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:260:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 260 | { "crxor", D_OP(19)|D_XO(193), M_CRBD|M_CRBA|M_CRBB, F_CRBD_CRBA_CRBB, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:261:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 261 | { "dcba", D_OP(31)|D_XO(758), M_RA|M_RB, F_RA_0_RB, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:262:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 262 | { "dcbf", D_OP(31)|D_XO(86), M_RA|M_RB, F_RA_0_RB, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:263:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 263 | { "dcbi", D_OP(31)|D_XO(470), M_RA|M_RB, F_RA_0_RB, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:264:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 264 | { "dcbst", D_OP(31)|D_XO(54), M_RA|M_RB, F_RA_0_RB, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:265:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 265 | { "dcbt", D_OP(31)|D_XO(278), M_RA|M_RB, F_RA_0_RB, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:266:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 266 | { "dcbtst", D_OP(31)|D_XO(246), M_RA|M_RB, F_RA_0_RB, 0 }, | ^~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:267:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 267 | { "dcbz", D_OP(31)|D_XO(1014),M_RA|M_RB, F_RA_0_RB, 0 }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:268:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 268 | { "divw", D_OP(31)|D_XO(491), M_RT|M_RA|M_RB|M_OE|M_RC, F_RT_RA_RB, FL_OE|FL_RC }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:269:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 269 | { "divwu", D_OP(31)|D_XO(459), M_RT|M_RA|M_RB|M_OE|M_RC, F_RT_RA_RB, FL_OE|FL_RC }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:270:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 270 | { "eciwx", D_OP(31)|D_XO(310), M_RT|M_RA|M_RB, F_RT_RA_0_RB, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:271:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 271 | { "ecowx", D_OP(31)|D_XO(438), M_RT|M_RA|M_RB, F_RT_RA_0_RB, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:272:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 272 | { "eieio", D_OP(31)|D_XO(854), 0, F_NONE, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:273:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 273 | { "eqv", D_OP(31)|D_XO(284), M_RT|M_RA|M_RB|M_RC, F_RA_RT_RB, FL_RC }, | ^~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:274:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 274 | { "extsb", D_OP(31)|D_XO(954), M_RT|M_RA|M_RC, F_RA_RT, FL_RC }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:275:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 275 | { "extsh", D_OP(31)|D_XO(922), M_RT|M_RA|M_RC, F_RA_RT, FL_RC }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:276:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 276 | { "fabs", D_OP(63)|D_XO(264), M_RT|M_RB|M_RC, F_FRT_FRB, FL_RC }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108336' from 'int' to 'UINT32' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 426 | }; | ^ Src/CPU/PowerPC/PPCDisasm.cpp:277:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 277 | { "fadd", D_OP(63)|D_XO(21), M_RT|M_RA|M_RB|M_RC, F_FRT_FRA_FRB, FL_RC }, | ^~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108822' from 'int' to 'UINT32' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 426 | }; | ^ Src/CPU/PowerPC/PPCDisasm.cpp:278:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 278 | { "fadds", D_OP(59)|D_XO(21), M_RT|M_RA|M_RB|M_RC, F_FRT_FRA_FRB, FL_RC }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-335544278' from 'int' to 'UINT32' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 426 | }; | ^ Src/CPU/PowerPC/PPCDisasm.cpp:279:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 279 | { "fcmpo", D_OP(63)|D_XO(32), M_CRFD|M_RA|M_RB, F_FCMP, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108800' from 'int' to 'UINT32' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 426 | }; | ^ Src/CPU/PowerPC/PPCDisasm.cpp:280:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 280 | { "fcmpu", D_OP(63)|D_XO(0), M_CRFD|M_RA|M_RB, F_FCMP, 0 }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108864' from 'int' to 'UINT32' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 426 | }; | ^ Src/CPU/PowerPC/PPCDisasm.cpp:281:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 281 | { "fctiw", D_OP(63)|D_XO(14), M_RT|M_RB|M_RC, F_FRT_FRB, FL_RC }, | ^~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108836' from 'int' to 'UINT32' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 426 | }; | ^ Src/CPU/PowerPC/PPCDisasm.cpp:282:7: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 282 | { "fctiwz", D_OP(63)|D_XO(15), M_RT|M_RB|M_RC, F_FRT_FRB, FL_RC }, | ^~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp:426:1: warning: narrowing conversion of '-67108834' from 'int' to 'UINT32' {aka 'unsigned int'} is ill-formed in C++11 [-Wnarrowing] 426 | }; | ^ 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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'} 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:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 438 | static char *crbit[] = { "lt", "gt", "eq", "so" }; | ^~~~ Src/CPU/PowerPC/PPCDisasm.cpp:438:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 438 | static char *crbit[] = { "lt", "gt", "eq", "so" }; | ^~~~ Src/CPU/PowerPC/PPCDisasm.cpp:438:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 438 | static char *crbit[] = { "lt", "gt", "eq", "so" }; | ^~~~ Src/CPU/PowerPC/PPCDisasm.cpp:438:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 438 | static char *crbit[] = { "lt", "gt", "eq", "so" }; | ^~~~ 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] 781 | else | ^~~~ Src/CPU/PowerPC/PPCDisasm.cpp:783:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 783 | 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] 840 | for (i = 0; i < sizeof(itab) / sizeof(IDESCR); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp: In function 'void SPR(char*, unsigned int)': Src/CPU/PowerPC/PPCDisasm.cpp:519:24: warning: 'sprintf' argument 3 overlaps destination object 'dest' [-Wrestrict] 519 | default: sprintf(dest, "%s%d", dest, spr); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Src/CPU/PowerPC/PPCDisasm.cpp: In function 'bool DisassemblePowerPC(UINT32, UINT32, char*, char*, bool)': Src/CPU/PowerPC/PPCDisasm.cpp:1056:24: warning: 'sprintf' argument 3 overlaps destination object 'oprs' [-Wrestrict] 1056 | 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 In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Config.h:32, from Src/Config.cpp:28: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/INIFile.cpp:62: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/BlockFile.cpp:29: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/BlockFile.cpp:31: Src/OSD/Logger.h:196:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ Src/INIFile.cpp: In member function 'CINIFile::CToken CINIFile::GetNumber()': Src/INIFile.cpp:457:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 457 | if (!isNeg && number > 0x000000007FFFFFFFULL || isNeg && number > 0x0000000080000000ULL) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/INIFile.cpp:484:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 484 | if (!isNeg && number > 0x000000007FFFFFFFULL || isNeg && number > 0x0000000080000000ULL) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/INIFile.cpp:418:49: warning: variable 'overflow' set but not used [-Wunused-but-set-variable] 418 | int overflow = 0; | ^~~~~~~~ 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 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/new:40, from Src/ROMLoad.cpp:28: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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 cc1: warning: command-line option '-std=gnu++98' is valid for C++/ObjC++ but not for C Src/ROMLoad.cpp: In function 'bool LoadROM(UINT8*, unsigned int, const ROMMap*, const ROMInfo*, unzFile, const char*, bool)': Src/ROMLoad.cpp:148:19: warning: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Wsign-compare] 148 | if (bytes != ROM->fileSize) | ~~~~~~^~~~~~~~~~~~~~~~ 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 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Graphics/Error.cpp:34: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/new:40, from Src/Graphics/Shader.cpp:45: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstring:41, from Src/Model3/Real3D.cpp:44: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cmath:41, from Src/Graphics/Render3D.cpp:146: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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:33: warning: variable 'nextAddr' set but not used [-Wunused-but-set-variable] 1041 | UINT32 nextAddr, nodeAddr, matrixBase; | ^~~~~~~~ Src/Graphics/Render3D.cpp:1046:33: warning: variable 'scrollFog' set but not used [-Wunused-but-set-variable] 1046 | GLfloat scrollFog, scrollAtt; | ^~~~~~~~~ Src/Graphics/Render3D.cpp:1046:44: warning: variable 'scrollAtt' set but not used [-Wunused-but-set-variable] 1046 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cmath:41, from /usr/include/c++/11/math.h:36, from Src/Graphics/Models.cpp:33: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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:35: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 726 | 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstring:41, from Src/Model3/TileGen.cpp:34: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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 In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/new:40, from Src/Model3/Model3.cpp:186: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ Src/Model3/Model3.cpp: In member function 'void CModel3::RunFrame()': Src/Model3/Model3.cpp:1921:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1921 | if (syncSndBrdThread && !sndBrdThreadSync->Post() || DriveBoard.IsAttached() && !drvBrdThreadSync->Post()) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/Model3/Model3.cpp:1932:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1932 | while (syncSndBrdThread && !sndBrdThreadDone || DriveBoard.IsAttached() && !drvBrdThreadDone) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ Src/Model3/Model3.cpp: In member function 'void CModel3::RunSoundBoardThread()': Src/Model3/Model3.cpp:2204:22: warning: unused variable 'repeat' [-Wunused-variable] 2204 | bool repeat = true; | ^~~~~~ Src/Model3/Model3.cpp: In destructor 'CModel3::~CModel3()': Src/Model3/Model3.cpp:3006:17: warning: deleting object of abstract class type 'CDSB' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 3006 | 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] 2684 | static void Dump(const char *file, UINT8 *buf, unsigned size, bool reverse32, bool reverse16) | ^~~~ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstring:41, from Src/CPU/PowerPC/ppc.cpp:31: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ Src/CPU/PowerPC/ppc.cpp:39: warning: "INLINE" redefined 39 | #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 203 | #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:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 690 | 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] 209 | static void ppc603_set_smi_line(int state) | ^~~~~~~~~~~~~~~~~~~ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/new:40, from Src/OSD/SDL/Main.cpp:35: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ Src/OSD/SDL/Main.cpp:1179:14: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 1179 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/OSD/SDL/Audio.cpp:28: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare] 175 | if (*xResPtr < VideoInfo->current_w) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:177:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'const int' [-Wsign-compare] 177 | if (*yResPtr < VideoInfo->current_h) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:211:34: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 211 | if (VideoInfo->current_w > *xResPtr || VideoInfo->current_h > *yResPtr) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ Src/OSD/SDL/Main.cpp:211:69: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare] 211 | if (VideoInfo->current_w > *xResPtr || VideoInfo->current_h > *yResPtr) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ Src/OSD/SDL/Main.cpp:133:54: warning: variable 'ratio' set but not used [-Wunused-but-set-variable] 133 | float model3Ratio, ratio; | ^~~~~ Src/OSD/SDL/Main.cpp: In function 'void UpdateCrosshairs(CInputs*, unsigned int)': Src/OSD/SDL/Main.cpp:668:22: warning: converting to non-pointer type 'GLuint' {aka 'unsigned int'} from NULL [-Wconversion-null] 668 | 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] 1063 | 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] 1100 | delete Model3; | ^~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:854:54: warning: ' (Paused)' directive writing 9 bytes into a region of size between 1 and 128 [-Wformat-overflow=] 854 | sprintf(titleStr, "%s (Paused)", baseTitleStr); | ^~~~~~~~~ Src/OSD/SDL/Main.cpp:854:40: note: 'sprintf' output between 10 and 137 bytes into a destination of size 128 854 | sprintf(titleStr, "%s (Paused)", baseTitleStr); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/OSD/SDL/Main.cpp:1021:54: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 128 [-Wformat-overflow=] 1021 | sprintf(titleStr, "%s - %1.1f FPS%s", baseTitleStr, (float)fpsFramesElapsed*(float)(currentFPSTicks-prevFPSTicks)/1000.0f, paused ? " (Paused)" : ""); | ^~~ Src/OSD/SDL/Main.cpp:1021:40: note: 'sprintf' output 11 or more bytes (assuming 138) into a destination of size 128 1021 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/OSD/SDL/Thread.cpp:28: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/SoundBoard.cpp:57: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/SoundBoard.cpp:57: Src/OSD/Logger.h:196:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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] 542 | static void Reverse16(UINT8 *buf, unsigned size) | ^~~~~~~~~ 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 /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Sound/SCSP.cpp:52: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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 /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Sound/SCSPDSP.cpp:28: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Sound/SCSPDSP.cpp:28: Src/OSD/Logger.h:196:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ Src/Sound/SCSPDSP.cpp:39: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 39 | #pragma warning(disable:4311) | Src/Sound/SCSPDSP.cpp: In function 'void SCSPDSP_Step(_SCSPDSP*)': Src/Sound/SCSPDSP.cpp:268:29: warning: unused variable 'a' [-Wunused-variable] 268 | int a=1; | ^ Src/Sound/SCSPDSP.cpp:270:29: warning: unused variable 'a' [-Wunused-variable] 270 | int a=1; | ^ Src/Sound/SCSPDSP.cpp:449:45: warning: unused variable 'a' [-Wunused-variable] 449 | int a=1; | ^ Src/Sound/SCSPDSP.cpp:272:21: warning: unused variable 'dump' [-Wunused-variable] 272 | int dump=0; | ^~~~ Src/Sound/SCSPDSP.cpp: In function 'void SCSPDSP_SetSample(_SCSPDSP*, int, int, int)': Src/Sound/SCSPDSP.cpp:1092:29: warning: unused variable 'a' [-Wunused-variable] 1092 | int a=1; | ^ Src/Sound/SCSPDSP.cpp:1090:21: warning: unused variable 'a' [-Wunused-variable] 1090 | int a=1; | ^ Src/Sound/SCSPDSP.cpp: In function 'void SCSPDSP_Start(_SCSPDSP*)': Src/Sound/SCSPDSP.cpp:1129:29: warning: unused variable 'a' [-Wunused-variable] 1129 | int a=1; | ^ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/CPU/68K/68K.cpp:36: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/CPU/68K/68K.cpp:36: Src/OSD/Logger.h:196:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ In file included from Src/Sound/SCSP.cpp:161: Src/Sound/SCSPLFO.cpp: In function 'void LFO_Init()': Src/Sound/SCSPLFO.cpp:65:23: warning: unused variable 'TL' [-Wunused-variable] 65 | float TL; | ^~ Src/Sound/SCSP.cpp: In function 'bool SCSP_Init(int)': Src/Sound/SCSP.cpp:560:31: 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] 560 | memset(SCSP,0,sizeof(SCSP)); | ^~~~~~~~~~~~ Src/Sound/SCSP.cpp:569:23: 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] 569 | memset(SCSP,0,sizeof(SCSP)); | ^~~~~~~~~~~~ Src/Sound/SCSP.cpp:677:29: warning: unused variable 'a' [-Wunused-variable] 677 | int a=1; | ^ Src/Sound/SCSP.cpp:679:29: warning: unused variable 'a' [-Wunused-variable] 679 | int a=1; | ^ Src/Sound/SCSP.cpp: In function 'void SCSP_UpdateSlotReg(int, int)': Src/Sound/SCSP.cpp:779:53: warning: unused variable 'a' [-Wunused-variable] 779 | int a=1; | ^ Src/Sound/SCSP.cpp:806:37: warning: unused variable 'a' [-Wunused-variable] 806 | int a=1; | ^ Src/Sound/SCSP.cpp: In function 'void SCSP_UpdateReg(int)': Src/Sound/SCSP.cpp:862:37: warning: unused variable 'a' [-Wunused-variable] 862 | int a=1; | ^ Src/Sound/SCSP.cpp: In function 'void SCSP_w8(unsigned int, unsigned char)': Src/Sound/SCSP.cpp:993:29: warning: unused variable 'a' [-Wunused-variable] 993 | int a=1; | ^ Src/Sound/SCSP.cpp:998:21: warning: unused variable 'a' [-Wunused-variable] 998 | int a=1; | ^ Src/Sound/SCSP.cpp: In function 'void SCSP_w16(unsigned int, short unsigned int)': Src/Sound/SCSP.cpp:1033:29: warning: unused variable 'a' [-Wunused-variable] 1033 | int a=1; | ^ Src/Sound/SCSP.cpp:1036:21: warning: unused variable 'a' [-Wunused-variable] 1036 | int a=1; | ^ Src/Sound/SCSP.cpp: In function 'void SCSP_w32(unsigned int, unsigned int)': Src/Sound/SCSP.cpp:1067:21: warning: unused variable 'a' [-Wunused-variable] 1067 | int a=1; | ^ Src/Sound/SCSP.cpp:1080:37: warning: unused variable 'a' [-Wunused-variable] 1080 | int a=1; | ^ Src/Sound/SCSP.cpp:1083:29: warning: unused variable 'a' [-Wunused-variable] 1083 | int a=1; | ^ Src/Sound/SCSP.cpp: In function 'int SCSP_UpdateSlot(_SLOT*)': Src/Sound/SCSP.cpp:1640:31: warning: unused variable 'v' [-Wunused-variable] 1640 | unsigned char v; | ^ Src/Sound/SCSP.cpp:1656:21: warning: unused variable 's' [-Wunused-variable] 1656 | int s; | ^ Src/Sound/SCSP.cpp:1657:28: warning: unused variable 'fpart' [-Wunused-variable] 1657 | signed int fpart=slot->cur_addr&((1<<SHIFT)-1); | ^~~~~ Src/Sound/SCSP.cpp:1675:21: warning: unused variable 's' [-Wunused-variable] 1675 | int s; | ^ Src/Sound/SCSP.cpp:1676:28: warning: unused variable 'fpart' [-Wunused-variable] 1676 | signed int fpart=slot->cur_addr&((1<<SHIFT)-1); | ^~~~~ Src/Sound/SCSP.cpp:1751:21: warning: unused variable 'a' [-Wunused-variable] 1751 | int a=1; | ^ Src/Sound/SCSP.cpp: At global scope: Src/Sound/SCSP.cpp:121:15: warning: 'RetIntCB' defined but not used [-Wunused-variable] 121 | static void (*RetIntCB)(); | ^~~~~~~~ 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 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 In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/DSB.cpp:41: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ c++ obj/m68kmake.o -o obj/m68kmake Src/Model3/DSB.cpp:667:20: warning: 'stateName' defined but not used [-Wunused-variable] 667 | static const char *stateName[] = | ^~~~~~~~~ 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 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/CPU/Z80/Z80.cpp:32: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/IRQ.cpp:34: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstring:41, from Src/Model3/53C810.cpp:51: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/PCI.cpp:36: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Model3/PCI.cpp:36: Src/OSD/Logger.h:196:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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 /usr/include/time.h:25, from Src/Model3/RTC72421.cpp:34: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Model3/DriveBoard.cpp:31: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstring:41, from Src/Model3/MPC10x.cpp:69: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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:18: warning: 'CDriveBoard::m_inputs' will be initialized after [-Wreorder] 274 | CInputs *m_inputs; | ^~~~~~~~ Src/Model3/DriveBoard.h:266:15: warning: 'UINT8 CDriveBoard::m_dip1' [-Wreorder] 266 | UINT8 m_dip1; // Value of DIP switch 1 | ^~~~~~ Src/Model3/DriveBoard.cpp:816:1: warning: when initialized here [-Wreorder] 816 | 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 In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/Input.cpp:29: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/Inputs.cpp:29: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Inputs/Inputs.cpp:29: Src/OSD/Logger.h:196:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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:24: warning: 'CInput::gameFlags' will be initialized after [-Wreorder] 109 | const unsigned gameFlags; | ^~~~~~~~~ Src/Inputs/Input.h:76:21: warning: 'const char* CInput::m_defaultMapping' [-Wreorder] 76 | const char *m_defaultMapping; | ^~~~~~~~~~~~~~~~ Src/Inputs/Input.cpp:31:1: warning: when initialized here [-Wreorder] 31 | 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:16: warning: 'CInput::prevValue' will be initialized after [-Wreorder] 115 | UINT16 prevValue; | ^~~~~~~~~ Src/Inputs/Input.h:79:23: warning: 'CInputSystem* CInput::m_system' [-Wreorder] 79 | CInputSystem *m_system; | ^~~~~~~~ Src/Inputs/Input.cpp:31:1: warning: when initialized here [-Wreorder] 31 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/InputSource.cpp:30: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ Src/Inputs/Inputs.cpp: In member function 'void CInputs::CalibrateJoysticks()': Src/Inputs/Inputs.cpp:535:37: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 535 | if (numJoys == 0 || numJoys == ANY_JOYSTICK) Src/Inputs/Inputs.cpp:542:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 542 | for (int joyNum = 0; joyNum < numJoys; joyNum++) | ~~~~~~~^~~~~~~~~ Src/Inputs/Inputs.cpp: In member function 'void CInputs::CalibrateJoystick(int)': Src/Inputs/Inputs.cpp:586:27: 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=] 586 | printf(" %u: %s\n", axisNumList.size(), joyDetails->axisName[axisNum]); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | unsigned int std::vector<unsigned int>::size_type {aka long unsigned int} | %lu 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:27: warning: 'CInputSource::type' will be initialized after [-Wreorder] 63 | const ESourceType type; | ^~~~ Src/Inputs/InputSource.h:55:18: warning: 'unsigned int CInputSource::m_acquired' [-Wreorder] 55 | unsigned m_acquired; | ^~~~~~~~~~ Src/Inputs/InputSource.cpp:35:1: warning: when initialized here [-Wreorder] 35 | 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:17: warning: deleting object of abstract class type 'CInputSource' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 52 | delete this; | ^~~~~~~~~~~ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/InputSystem.cpp:35: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/InputTypes.cpp:29: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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:21: warning: 'CInputSystem::name' will be initialized after [-Wreorder] 729 | const char *name; | ^~~~ Src/Inputs/InputSystem.h:511:18: warning: 'unsigned int CInputSystem::m_dispX' [-Wreorder] 511 | unsigned m_dispX; | ^~~~~~~ Src/Inputs/InputSystem.cpp:393:1: warning: when initialized here [-Wreorder] 393 | CInputSystem::CInputSystem(const char *systemName) : | ^~~~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'void CInputSystem::CreateSourceCache()': Src/Inputs/InputSystem.cpp:417:33: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 417 | memset(m_anyKeySources, NULL, sizeof(CInputSource*) * NUM_VALID_KEYS); | ^~~~ In file included from /usr/include/c++/11/cstring:42, from Src/Supermodel.h:34, from Src/Inputs/InputSystem.cpp:35: /usr/include/string.h:61:37: note: declared here 61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | ~~~~^~~ Src/Inputs/InputSystem.cpp:424:54: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 424 | memset(m_keySources[kbdNum], NULL, sizeof(CInputSource*) * NUM_VALID_KEYS); | ^~~~ In file included from /usr/include/c++/11/cstring:42, from Src/Supermodel.h:34, from Src/Inputs/InputSystem.cpp:35: /usr/include/string.h:61:37: note: declared here 61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | ~~~~^~~ Src/Inputs/InputSystem.cpp:430:33: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 430 | memset(m_anyMseSources, NULL, sizeof(CInputSource*) * NUM_MOUSE_PARTS); | ^~~~ In file included from /usr/include/c++/11/cstring:42, from Src/Supermodel.h:34, from Src/Inputs/InputSystem.cpp:35: /usr/include/string.h:61:37: note: declared here 61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | ~~~~^~~ Src/Inputs/InputSystem.cpp:437:54: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 437 | memset(m_mseSources[mseNum], NULL, sizeof(CInputSource*) * NUM_MOUSE_PARTS); | ^~~~ In file included from /usr/include/c++/11/cstring:42, from Src/Supermodel.h:34, from Src/Inputs/InputSystem.cpp:35: /usr/include/string.h:61:37: note: declared here 61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | ~~~~^~~ Src/Inputs/InputSystem.cpp:443:33: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 443 | memset(m_anyJoySources, NULL, sizeof(CInputSource*) * NUM_JOY_PARTS); | ^~~~ In file included from /usr/include/c++/11/cstring:42, from Src/Supermodel.h:34, from Src/Inputs/InputSystem.cpp:35: /usr/include/string.h:61:37: note: declared here 61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | ~~~~^~~ Src/Inputs/InputSystem.cpp:450:54: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] 450 | memset(m_joySources[joyNum], NULL, sizeof(CInputSource*) * NUM_JOY_PARTS); | ^~~~ In file included from /usr/include/c++/11/cstring:42, from Src/Supermodel.h:34, from Src/Inputs/InputSystem.cpp:35: /usr/include/string.h:61:37: note: declared here 61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1)); | ~~~~^~~ Src/Inputs/InputSystem.cpp: In member function 'void CInputSystem::ClearSourceCache(bool)': Src/Inputs/InputSystem.cpp:460:49: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 460 | for (int keyIndex = 0; keyIndex < NUM_VALID_KEYS; keyIndex++) Src/Inputs/InputSystem.cpp:471:65: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 471 | 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::string&, std::vector<CInputSource*>&)': Src/Inputs/InputSystem.cpp:684:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 684 | 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::string&, std::vector<CInputSource*>&)': Src/Inputs/InputSystem.cpp:721:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 721 | if (isXYAxis && !mseCentered || isAxis && (IsFullAxis(msePart) && !fullAxisOnly || !IsFullAxis(msePart) && fullAxisOnly)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp:721:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 721 | 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::string&, std::vector<CInputSource*>&)': Src/Inputs/InputSystem.cpp:750:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 750 | if (IsAxis(joyPart) && (IsFullAxis(joyPart) && !fullAxisOnly || !IsFullAxis(joyPart) && fullAxisOnly)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'bool CInputSystem::IsValidKeyName(std::string)': Src/Inputs/InputSystem.cpp:811:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 811 | for (int i = 0; i < NUM_VALID_KEYS; i++) Src/Inputs/InputSystem.cpp: In member function 'CInputSource* CInputSystem::ParseMultiSource(std::string, bool, bool)': Src/Inputs/InputSystem.cpp:924:88: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 924 | (parsed->type == SourceEmpty || parsed->type == SourceFullAxis && fullAxisOnly || parsed->type != SourceFullAxis && !fullAxisOnly)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp:924:138: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 924 | (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:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1717 | 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:24: warning: too many arguments for format [-Wformat-extra-args] 1858 | printf("Detected\n", joyDetails->axisName[axisNum]); | ^~~~~~~~~~~~ Src/Inputs/InputSystem.cpp:1787:18: warning: variable 'maxAxisNum' set but not used [-Wunused-but-set-variable] 1787 | unsigned maxAxisNum; | ^~~~~~~~~~ Src/Inputs/InputSystem.cpp: In member function 'virtual bool CInputSystem::CMseAxisInputSource::GetValueAsSwitch(bool&)': Src/Inputs/InputSystem.cpp:2253:75: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2253 | 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:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2332 | if (!m_axisInverted && joyVal > m_axisOffVal || m_axisInverted && joyVal < m_axisOffVal) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Src/Inputs/InputSystem.cpp:2340:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2340 | if (!m_axisInverted && joyVal > m_axisOffVal || m_axisInverted && joyVal < m_axisOffVal) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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:13: warning: 'CTriggerInput::m_offscreenCount' will be initialized after [-Wreorder] 153 | int m_offscreenCount; | ^~~~~~~~~~~~~~~~ Src/Inputs/InputTypes.h:149:16: warning: 'UINT16 CTriggerInput::m_offVal' [-Wreorder] 149 | UINT16 m_offVal; | ^~~~~~~~ Src/Inputs/InputTypes.cpp:177:1: warning: when initialized here [-Wreorder] 177 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdio:41, from Src/Supermodel.h:32, from Src/Inputs/MultiInputSource.cpp:28: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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 Src/OSD/SDL/SDLInputSystem.cpp: In member function 'virtual int CSDLInputSystem::GetKeyIndex(const char*)': Src/OSD/SDL/SDLInputSystem.cpp:262:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 262 | 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:38: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 272 | if (keyIndex < 0 || keyIndex >= NUM_SDL_KEYS) 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:46: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 401 | 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ 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 In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdlib:41, from /usr/include/c++/11/stdlib.h:36, from Src/Sound/MPEG/huffman.cpp:37: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ Src/Sound/MPEG/audio.cpp: In function 'void statusDisplay(AUDIO_HEADER*, int)': Src/Sound/MPEG/audio.cpp:89:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 89 | msg("\r"); | ^~~~ Src/Sound/MPEG/audio.cpp:91:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 91 | msg("{ %d } ",frameNo); | ^~~~~~~~~ Src/Sound/MPEG/audio.cpp:97:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 97 | 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] 76 | static int stream = -1; | ^~~~~~ 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/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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # 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:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | 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 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-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 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 /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cmath:41, from /usr/include/c++/11/math.h:36, from Src/Sound/MPEG/misc2.cpp:38: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/c++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cstdlib:41, from /usr/include/c++/11/stdlib.h:36, from Src/Sound/MPEG/position.cpp:35: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from Src/Supermodel.h:98, from Src/Sound/MPEG/misc2.cpp:49: Src/OSD/Logger.h:196:42: warning: C++11 requires a space between string literal and macro [-Wc++11-compat] 196 | ClearLog(m_errorLogFile, "Supermodel v"SUPERMODEL_VERSION" Error Log"); | ^ 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++/11/x86_64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2747, from /usr/include/c++/11/cmath:41, from /usr/include/c++/11/math.h:36, from Src/Sound/MPEG/transform.cpp:63: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ 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 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:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from Src/Sound/MPEG/util.cpp:40: Src/Sound/MPEG/amp.h:68:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 68 | {"audio", &debugFlags.audio}, | ^~~~~~~ Src/Sound/MPEG/amp.h:69:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 69 | {"args", &debugFlags.args}, | ^~~~~~ Src/Sound/MPEG/amp.h:70:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 70 | {"buffer", &debugFlags.buffer}, | ^~~~~~~~ Src/Sound/MPEG/amp.h:71:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 71 | {"buffer2", &debugFlags.buffer2}, | ^~~~~~~~~ Src/Sound/MPEG/amp.h:72:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 72 | {"misc", &debugFlags.misc}, | ^~~~~~ Src/Sound/MPEG/amp.h:73:4: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 73 | {"misc2", &debugFlags.misc2}, | ^~~~~~~ Src/Sound/MPEG/util.cpp: In function 'void debugOptions()': Src/Sound/MPEG/util.cpp:100:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 100 | msg("Possible options are: "); | ^~~~~~~~~~~~~~~~~~~~~~~~ Src/Sound/MPEG/util.cpp:102:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 102 | msg("%s,",debugLookup[idx].name); | ^~~~~ Src/Sound/MPEG/util.cpp:103:13: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 103 | msg("\010 \n"); | ^~~~~~~~~ Src/Sound/MPEG/util.cpp: In function 'void debugSetup(char*)': Src/Sound/MPEG/util.cpp:114:14: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] 114 | warn("Debugging has not been compiled into this version of amp\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Src/Sound/MPEG/misc2.cpp: In function 'void requantize_ms(int, SIDE_INFO*, AUDIO_HEADER*)': Src/Sound/MPEG/misc2.cpp:586:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 586 | else | ^~~~ Src/Sound/MPEG/misc2.cpp:603:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 603 | while (l<(MAX(non_zero[0],non_zero[1]))) { | ^~~~~ Generating 68K emulator: obj/m68kops.h obj/m68kmake obj Src/CPU/68K/Musashi/m68k_in.c Generating 68K emulator: obj/m68kopnz.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/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" cc1: warning: command-line option '-std=gnu++98' is valid for C++/ObjC++ but not for C 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 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'; did you mean 'm68ki_rte_callback'? [-Wimplicit-function-declaration] 100 | #define M68K_INT_ACK_CALLBACK(A) M68KIRQCallback(A) | ^~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:449:42: note: in expansion of macro 'M68K_INT_ACK_CALLBACK' 449 | #define m68ki_int_ack(A) M68K_INT_ACK_CALLBACK(A) | ^~~~~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:1902:18: note: in expansion of macro 'm68ki_int_ack' 1902 | vector = m68ki_int_ack(int_level); | ^~~~~~~~~~~~~ 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'; did you mean 'm68ki_rte_callback'? [-Wimplicit-function-declaration] 100 | #define M68K_INT_ACK_CALLBACK(A) M68KIRQCallback(A) | ^~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:449:42: note: in expansion of macro 'M68K_INT_ACK_CALLBACK' 449 | #define m68ki_int_ack(A) M68K_INT_ACK_CALLBACK(A) | ^~~~~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:1902:18: note: in expansion of macro 'm68ki_int_ack' 1902 | 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] 40 | static const char* copyright_notice = | ^~~~~~~~~~~~~~~~ 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'; did you mean 'm68ki_rte_callback'? [-Wimplicit-function-declaration] 100 | #define M68K_INT_ACK_CALLBACK(A) M68KIRQCallback(A) | ^~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:449:42: note: in expansion of macro 'M68K_INT_ACK_CALLBACK' 449 | #define m68ki_int_ack(A) M68K_INT_ACK_CALLBACK(A) | ^~~~~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:1902:18: note: in expansion of macro 'm68ki_int_ack' 1902 | 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'; did you mean 'm68ki_rte_callback'? [-Wimplicit-function-declaration] 100 | #define M68K_INT_ACK_CALLBACK(A) M68KIRQCallback(A) | ^~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:449:42: note: in expansion of macro 'M68K_INT_ACK_CALLBACK' 449 | #define m68ki_int_ack(A) M68K_INT_ACK_CALLBACK(A) | ^~~~~~~~~~~~~~~~~~~~~ Src/CPU/68K/Musashi/m68kcpu.h:1902:18: note: in expansion of macro 'm68ki_int_ack' 1902 | 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 obj/m68kops.c: In function 'm68ki_build_opcode_table': obj/m68kops.c:2044:106: warning: array subscript 3 is above array bounds of 'unsigned char[3]' [-Warray-bounds] 2044 | m68ki_cycles[0][instr] = m68ki_cycles[1][instr] = ostruct->cycles[k] + ((((j-1)&7)+1)<<1); | ~~~~~~~~~~~~~~~^~~ obj/m68kops.c:18:23: note: while referencing 'cycles' 18 | unsigned char cycles[NUM_CPU_TYPES]; /* cycles each cpu type takes */ | ^~~~~~ 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' /bin/ld: /usr/pkg/lib/libGL.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [Makefiles/Makefile.SDL.UNIX.GCC:118: all] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/supermodel *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/supermodel