Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libretro-handy.spec'], chrootPath='/var/lib/mock/f33-build-241962-50712/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libretro-handy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590278400 Wrote: /builddir/build/SRPMS/libretro-handy-0-0.4.20200317git5ff5581.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libretro-handy.spec'], chrootPath='/var/lib/mock/f33-build-241962-50712/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libretro-handy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590278400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wpuTTS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libretro-handy-5ff55817eafbb1930e222ea2493c22804c872904 + /usr/bin/gzip -dc /builddir/build/SOURCES/libretro-handy-0.20200317git5ff5581.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libretro-handy-5ff55817eafbb1930e222ea2493c22804c872904 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ua8VST + umask 022 + cd /builddir/build/BUILD + cd libretro-handy-5ff55817eafbb1930e222ea2493c22804c872904 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j4 V=1 VERBOSE=1 GIT_VERSION=5ff5581 /bin/sh: git: command not found g++ -c -olynx/lynxdec.o lynx/lynxdec.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro lynx/lynxdec.cpp: In function 'int decrypt_frame(unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*, int)': lynx/lynxdec.cpp:232:11: warning: unused variable 'j' [-Wunused-variable] 232 | int i, j; | ^ lynx/lynxdec.cpp: In function 'void lynx_decrypt(unsigned char*, const unsigned char*, int)': lynx/lynxdec.cpp:270:8: warning: variable 'blocks' set but not used [-Wunused-but-set-variable] 270 | int blocks = 0; | ^~~~~~ g++ -c -olynx/memmap.o lynx/memmap.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro In file included from lynx/memmap.cpp:53: lynx/system.h:49: warning: ignoring '#pragma inline_depth ' [-Wunknown-pragmas] 49 | #pragma inline_depth (255) | lynx/system.h:50: warning: ignoring '#pragma inline_recursion ' [-Wunknown-pragmas] 50 | #pragma inline_recursion (on) | In file included from lynx/c65c02.h:132, from lynx/system.h:179, from lynx/memmap.cpp:53: lynx/c6502mak.h:78:1: warning: multi-line comment [-Wcomment] 78 | //#define xADC()\ | ^ lynx/c6502mak.h:225:1: warning: multi-line comment [-Wcomment] 225 | //#define xBIT()\ | ^ lynx/c6502mak.h:290:1: warning: multi-line comment [-Wcomment] 290 | //#define xBRK()\ | ^ lynx/c6502mak.h:371:1: warning: multi-line comment [-Wcomment] 371 | //#define xCMP()\ | ^ lynx/c6502mak.h:380:1: warning: multi-line comment [-Wcomment] 380 | //#define xCPX()\ | ^ lynx/c6502mak.h:389:1: warning: multi-line comment [-Wcomment] 389 | //#define xCPY()\ | ^ lynx/c6502mak.h:398:1: warning: multi-line comment [-Wcomment] 398 | //#define xCMP()\ | ^ lynx/c6502mak.h:412:1: warning: multi-line comment [-Wcomment] 412 | //#define xCPX()\ | ^ lynx/c6502mak.h:426:1: warning: multi-line comment [-Wcomment] 426 | //#define xCPY()\ | ^ lynx/c6502mak.h:664:1: warning: multi-line comment [-Wcomment] 664 | //#define xSBC()\ | ^ lynx/c6502mak.h:783:1: warning: multi-line comment [-Wcomment] 783 | //#define xTRB()\ | ^ lynx/c6502mak.h:802:1: warning: multi-line comment [-Wcomment] 802 | //#define xTSB()\ | ^ g++ -c -olynx/cart.o lynx/cart.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro In file included from lynx/cart.cpp:53: lynx/system.h:49: warning: ignoring '#pragma inline_depth ' [-Wunknown-pragmas] 49 | #pragma inline_depth (255) | lynx/system.h:50: warning: ignoring '#pragma inline_recursion ' [-Wunknown-pragmas] 50 | #pragma inline_recursion (on) | In file included from lynx/c65c02.h:132, from lynx/system.h:179, from lynx/cart.cpp:53: lynx/c6502mak.h:78:1: warning: multi-line comment [-Wcomment] 78 | //#define xADC()\ | ^ lynx/c6502mak.h:225:1: warning: multi-line comment [-Wcomment] 225 | //#define xBIT()\ | ^ lynx/c6502mak.h:290:1: warning: multi-line comment [-Wcomment] 290 | //#define xBRK()\ | ^ lynx/c6502mak.h:371:1: warning: multi-line comment [-Wcomment] 371 | //#define xCMP()\ | ^ lynx/c6502mak.h:380:1: warning: multi-line comment [-Wcomment] 380 | //#define xCPX()\ | ^ lynx/c6502mak.h:389:1: warning: multi-line comment [-Wcomment] 389 | //#define xCPY()\ | ^ lynx/c6502mak.h:398:1: warning: multi-line comment [-Wcomment] 398 | //#define xCMP()\ | ^ lynx/c6502mak.h:412:1: warning: multi-line comment [-Wcomment] 412 | //#define xCPX()\ | ^ lynx/c6502mak.h:426:1: warning: multi-line comment [-Wcomment] 426 | //#define xCPY()\ | ^ lynx/c6502mak.h:664:1: warning: multi-line comment [-Wcomment] 664 | //#define xSBC()\ | ^ lynx/c6502mak.h:783:1: warning: multi-line comment [-Wcomment] 783 | //#define xTRB()\ | ^ lynx/c6502mak.h:802:1: warning: multi-line comment [-Wcomment] 802 | //#define xTSB()\ | ^ lynx/cart.cpp: In constructor 'CCart::CCart(UBYTE*, ULONG)': lynx/cart.cpp:124:10: warning: variable 'banktype0' set but not used [-Wunused-but-set-variable] 124 | CTYPE banktype0,banktype1; | ^~~~~~~~~ lynx/cart.cpp: In constructor 'CCart::CCart(UBYTE*, ULONG)': lynx/cart.cpp:280:4: warning: 'banktype1' may be used uninitialized in this function [-Wmaybe-uninitialized] 280 | if(banktype1==UNUSED) { | ^~ g++ -c -olynx/ram.o lynx/ram.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro In file included from lynx/ram.cpp:54: lynx/system.h:49: warning: ignoring '#pragma inline_depth ' [-Wunknown-pragmas] 49 | #pragma inline_depth (255) | lynx/system.h:50: warning: ignoring '#pragma inline_recursion ' [-Wunknown-pragmas] 50 | #pragma inline_recursion (on) | In file included from lynx/c65c02.h:132, from lynx/system.h:179, from lynx/ram.cpp:54: lynx/c6502mak.h:78:1: warning: multi-line comment [-Wcomment] 78 | //#define xADC()\ | ^ lynx/c6502mak.h:225:1: warning: multi-line comment [-Wcomment] 225 | //#define xBIT()\ | ^ lynx/c6502mak.h:290:1: warning: multi-line comment [-Wcomment] 290 | //#define xBRK()\ | ^ lynx/c6502mak.h:371:1: warning: multi-line comment [-Wcomment] 371 | //#define xCMP()\ | ^ lynx/c6502mak.h:380:1: warning: multi-line comment [-Wcomment] 380 | //#define xCPX()\ | ^ lynx/c6502mak.h:389:1: warning: multi-line comment [-Wcomment] 389 | //#define xCPY()\ | ^ lynx/c6502mak.h:398:1: warning: multi-line comment [-Wcomment] 398 | //#define xCMP()\ | ^ lynx/c6502mak.h:412:1: warning: multi-line comment [-Wcomment] 412 | //#define xCPX()\ | ^ lynx/c6502mak.h:426:1: warning: multi-line comment [-Wcomment] 426 | //#define xCPY()\ | ^ lynx/c6502mak.h:664:1: warning: multi-line comment [-Wcomment] 664 | //#define xSBC()\ | ^ lynx/c6502mak.h:783:1: warning: multi-line comment [-Wcomment] 783 | //#define xTRB()\ | ^ lynx/c6502mak.h:802:1: warning: multi-line comment [-Wcomment] 802 | //#define xTSB()\ | ^ g++ -c -olynx/rom.o lynx/rom.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro In file included from lynx/rom.cpp:53: lynx/system.h:49: warning: ignoring '#pragma inline_depth ' [-Wunknown-pragmas] 49 | #pragma inline_depth (255) | lynx/system.h:50: warning: ignoring '#pragma inline_recursion ' [-Wunknown-pragmas] 50 | #pragma inline_recursion (on) | In file included from lynx/c65c02.h:132, from lynx/system.h:179, from lynx/rom.cpp:53: lynx/c6502mak.h:78:1: warning: multi-line comment [-Wcomment] 78 | //#define xADC()\ | ^ lynx/c6502mak.h:225:1: warning: multi-line comment [-Wcomment] 225 | //#define xBIT()\ | ^ lynx/c6502mak.h:290:1: warning: multi-line comment [-Wcomment] 290 | //#define xBRK()\ | ^ lynx/c6502mak.h:371:1: warning: multi-line comment [-Wcomment] 371 | //#define xCMP()\ | ^ lynx/c6502mak.h:380:1: warning: multi-line comment [-Wcomment] 380 | //#define xCPX()\ | ^ lynx/c6502mak.h:389:1: warning: multi-line comment [-Wcomment] 389 | //#define xCPY()\ | ^ lynx/c6502mak.h:398:1: warning: multi-line comment [-Wcomment] 398 | //#define xCMP()\ | ^ lynx/c6502mak.h:412:1: warning: multi-line comment [-Wcomment] 412 | //#define xCPX()\ | ^ lynx/c6502mak.h:426:1: warning: multi-line comment [-Wcomment] 426 | //#define xCPY()\ | ^ lynx/c6502mak.h:664:1: warning: multi-line comment [-Wcomment] 664 | //#define xSBC()\ | ^ lynx/c6502mak.h:783:1: warning: multi-line comment [-Wcomment] 783 | //#define xTRB()\ | ^ lynx/c6502mak.h:802:1: warning: multi-line comment [-Wcomment] 802 | //#define xTSB()\ | ^ In file included from /usr/include/string.h:504, from lynx/rom.cpp:52: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'CRom::CRom(const char*, bool)' at lynx/rom.cpp:62:11: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 1024 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -olynx/eeprom.o lynx/eeprom.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro In file included from lynx/eeprom.cpp:10: lynx/system.h:49: warning: ignoring '#pragma inline_depth ' [-Wunknown-pragmas] 49 | #pragma inline_depth (255) | lynx/system.h:50: warning: ignoring '#pragma inline_recursion ' [-Wunknown-pragmas] 50 | #pragma inline_recursion (on) | In file included from lynx/c65c02.h:132, from lynx/system.h:179, from lynx/eeprom.cpp:10: lynx/c6502mak.h:78:1: warning: multi-line comment [-Wcomment] 78 | //#define xADC()\ | ^ lynx/c6502mak.h:225:1: warning: multi-line comment [-Wcomment] 225 | //#define xBIT()\ | ^ lynx/c6502mak.h:290:1: warning: multi-line comment [-Wcomment] 290 | //#define xBRK()\ | ^ lynx/c6502mak.h:371:1: warning: multi-line comment [-Wcomment] 371 | //#define xCMP()\ | ^ lynx/c6502mak.h:380:1: warning: multi-line comment [-Wcomment] 380 | //#define xCPX()\ | ^ lynx/c6502mak.h:389:1: warning: multi-line comment [-Wcomment] 389 | //#define xCPY()\ | ^ lynx/c6502mak.h:398:1: warning: multi-line comment [-Wcomment] 398 | //#define xCMP()\ | ^ lynx/c6502mak.h:412:1: warning: multi-line comment [-Wcomment] 412 | //#define xCPX()\ | ^ lynx/c6502mak.h:426:1: warning: multi-line comment [-Wcomment] 426 | //#define xCPY()\ | ^ lynx/c6502mak.h:664:1: warning: multi-line comment [-Wcomment] 664 | //#define xSBC()\ | ^ lynx/c6502mak.h:783:1: warning: multi-line comment [-Wcomment] 783 | //#define xTRB()\ | ^ lynx/c6502mak.h:802:1: warning: multi-line comment [-Wcomment] 802 | //#define xTSB()\ | ^ lynx/eeprom.cpp: In member function 'void CEEPROM::Load()': lynx/eeprom.cpp:50:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fread(romdata,1,1024,fe); | ~~~~~^~~~~~~~~~~~~~~~~~~ g++ -c -olynx/system.o lynx/system.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro In file included from lynx/system.cpp:57: lynx/system.h:49: warning: ignoring '#pragma inline_depth ' [-Wunknown-pragmas] 49 | #pragma inline_depth (255) | lynx/system.h:50: warning: ignoring '#pragma inline_recursion ' [-Wunknown-pragmas] 50 | #pragma inline_recursion (on) | In file included from lynx/c65c02.h:132, from lynx/system.h:179, from lynx/system.cpp:57: lynx/c6502mak.h:78:1: warning: multi-line comment [-Wcomment] 78 | //#define xADC()\ | ^ lynx/c6502mak.h:225:1: warning: multi-line comment [-Wcomment] 225 | //#define xBIT()\ | ^ lynx/c6502mak.h:290:1: warning: multi-line comment [-Wcomment] 290 | //#define xBRK()\ | ^ lynx/c6502mak.h:371:1: warning: multi-line comment [-Wcomment] 371 | //#define xCMP()\ | ^ lynx/c6502mak.h:380:1: warning: multi-line comment [-Wcomment] 380 | //#define xCPX()\ | ^ lynx/c6502mak.h:389:1: warning: multi-line comment [-Wcomment] 389 | //#define xCPY()\ | ^ lynx/c6502mak.h:398:1: warning: multi-line comment [-Wcomment] 398 | //#define xCMP()\ | ^ lynx/c6502mak.h:412:1: warning: multi-line comment [-Wcomment] 412 | //#define xCPX()\ | ^ lynx/c6502mak.h:426:1: warning: multi-line comment [-Wcomment] 426 | //#define xCPY()\ | ^ lynx/c6502mak.h:664:1: warning: multi-line comment [-Wcomment] 664 | //#define xSBC()\ | ^ lynx/c6502mak.h:783:1: warning: multi-line comment [-Wcomment] 783 | //#define xTRB()\ | ^ lynx/c6502mak.h:802:1: warning: multi-line comment [-Wcomment] 802 | //#define xTSB()\ | ^ lynx/system.cpp: In member function 'bool CSystem::IsZip(char*)': lynx/system.cpp:330:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 330 | fread(buf, 2, 1, fp); | ~~~~~^~~~~~~~~~~~~~~ g++ -c -olynx/susie.o lynx/susie.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro In file included from lynx/susie.cpp:55: lynx/system.h:49: warning: ignoring '#pragma inline_depth ' [-Wunknown-pragmas] 49 | #pragma inline_depth (255) | lynx/system.h:50: warning: ignoring '#pragma inline_recursion ' [-Wunknown-pragmas] 50 | #pragma inline_recursion (on) | In file included from lynx/c65c02.h:132, from lynx/system.h:179, from lynx/susie.cpp:55: lynx/c6502mak.h:78:1: warning: multi-line comment [-Wcomment] 78 | //#define xADC()\ | ^ lynx/c6502mak.h:225:1: warning: multi-line comment [-Wcomment] 225 | //#define xBIT()\ | ^ lynx/c6502mak.h:290:1: warning: multi-line comment [-Wcomment] 290 | //#define xBRK()\ | ^ lynx/c6502mak.h:371:1: warning: multi-line comment [-Wcomment] 371 | //#define xCMP()\ | ^ lynx/c6502mak.h:380:1: warning: multi-line comment [-Wcomment] 380 | //#define xCPX()\ | ^ lynx/c6502mak.h:389:1: warning: multi-line comment [-Wcomment] 389 | //#define xCPY()\ | ^ lynx/c6502mak.h:398:1: warning: multi-line comment [-Wcomment] 398 | //#define xCMP()\ | ^ lynx/c6502mak.h:412:1: warning: multi-line comment [-Wcomment] 412 | //#define xCPX()\ | ^ lynx/c6502mak.h:426:1: warning: multi-line comment [-Wcomment] 426 | //#define xCPY()\ | ^ lynx/c6502mak.h:664:1: warning: multi-line comment [-Wcomment] 664 | //#define xSBC()\ | ^ lynx/c6502mak.h:783:1: warning: multi-line comment [-Wcomment] 783 | //#define xTRB()\ | ^ lynx/c6502mak.h:802:1: warning: multi-line comment [-Wcomment] 802 | //#define xTSB()\ | ^ lynx/susie.cpp: In member function 'ULONG CSusie::PaintSprites()': lynx/susie.cpp:555:15: warning: variable 'enable_sizing' set but not used [-Wunused-but-set-variable] 555 | bool enable_sizing = FALSE; | ^~~~~~~~~~~~~ g++ -c -oblip/Blip_Buffer.o blip/Blip_Buffer.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro g++ -c -oblip/Stereo_Buffer.o blip/Stereo_Buffer.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro g++ -c -olynx/mikie.o lynx/mikie.cpp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DGIT_VERSION=\"5ff5581\" -DFRONTEND_SUPPORTS_RGB565 -O2 -DNDEBUG -fomit-frame-pointer -I. -fPIC -DWANT_CRC32 -I./lynx -I./libretro In file included from lynx/mikie.cpp:56: lynx/system.h:49: warning: ignoring '#pragma inline_depth ' [-Wunknown-pragmas] 49 | #pragma inline_depth (255) | lynx/system.h:50: warning: ignoring '#pragma inline_recursion ' [-Wunknown-pragmas] 50 | #pragma inline_recursion (on) | In file included from lynx/c65c02.h:132, from lynx/system.h:179, from lynx/mikie.cpp:56: lynx/c6502mak.h:78:1: warning: multi-line comment [-Wcomment] 78 | //#define xADC()\ | ^ lynx/c6502mak.h:225:1: warning: multi-line comment [-Wcomment] 225 | //#define xBIT()\ | ^ lynx/c6502mak.h:290:1: warning: multi-line comment [-Wcomment] 290 | //#define xBRK()\ | ^ lynx/c6502mak.h:371:1: warning: multi-line comment [-Wcomment] 371 | //#define xCMP()\ | ^ lynx/c6502mak.h:380:1: warning: multi-line comment [-Wcomment] 380 | //#define xCPX()\ | ^ lynx/c6502mak.h:389:1: warning: multi-line comment [-Wcomment] 389 | //#define xCPY()\ | ^ lynx/c6502mak.h:398:1: warning: multi-line comment [-Wcomment] 398 | //#define xCMP()\ | ^ lynx/c6502mak.h:412:1: warning: multi-line comment [-Wcomment] 412 | //#define xCPX()\ | ^ lynx/c6502mak.h:426:1: warning: multi-line comment [-Wcomment] 426 | //#define xCPY()\ | ^ lynx/c6502mak.h:664:1: warning: multi-line comment [-Wcomment] 664 | //#define xSBC()\ | ^ lynx/c6502mak.h:783:1: warning: multi-line comment [-Wcomment] 783 | //#define xTRB()\ | ^ lynx/c6502mak.h:802:1: warning: multi-line comment [-Wcomment] 802 | //#define xTSB()\ | ^ lynx/mikie.cpp: In member function 'void CMikie::ComLynxRxData(int)': lynx/mikie.cpp:810:25: warning: operation on '((CMikie*)this)->CMikie::mUART_Rx_input_ptr' may be undefined [-Wsequence-point] 810 | mUART_Rx_input_ptr=(++mUART_Rx_input_ptr)%UART_MAX_RX_QUEUE; lynx/mikie.cpp: In member function 'void CMikie::ComLynxTxLoopback(int)': lynx/mikie.cpp:828:26: warning: operation on '((CMikie*)this)->CMikie::mUART_Rx_output_ptr' may be undefined [-Wsequence-point] 828 | mUART_Rx_output_ptr=(--mUART_Rx_output_ptr)%UART_MAX_RX_QUEUE; lynx/mikie.cpp: In member function 'void CMikie::DisplaySetAttributes(ULONG, ULONG, ULONG, UBYTE* (*)(ULONG), ULONG)': lynx/mikie.cpp:875:91: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 875 | mColourMap[Spot.Index]=((Spot.Colours.Red<<11)&0x7800) | (Spot.Colours.Red<<7)&0x0400; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ lynx/mikie.cpp:882:91: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 882 | mColourMap[Spot.Index]=((Spot.Colours.Red<<12)&0xf000) | (Spot.Colours.Red<<8)&0x0800; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ lynx/mikie.cpp: In member function 'void CMikie::Update()': lynx/mikie.cpp:2884:38: warning: operation on '((CMikie*)this)->CMikie::mUART_Rx_output_ptr' may be undefined [-Wsequence-point] 2884 | mUART_Rx_output_ptr=(++mUART_Rx_output_ptr)%UART_MAX_RX_QUEUE; lynx/mikie.cpp:3091:35: warning: 'divide' may be used uninitialized in this function [-Wmaybe-uninitialized] 3091 | mTIM_3_LAST_COUNT+=decval<