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/grafx2.spec'], chrootPath='/var/lib/mock/f33-build-296057-55613/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/grafx2.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=1596240000 Wrote: /builddir/build/SRPMS/grafx2-2.5-8.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/grafx2.spec'], chrootPath='/var/lib/mock/f33-build-296057-55613/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/grafx2.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=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N5qo3k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grafX2-v2.5 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/grafX2-v2.5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd grafX2-v2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (grafX2-v2.5-cp-fix.patch):' Patch #0 (grafX2-v2.5-cp-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cpa --fuzz=0 patching file src/Makefile + echo 'Patch #1 (grafX2-v2.5-moar-dirs.patch):' Patch #1 (grafX2-v2.5-moar-dirs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .moardirs --fuzz=0 patching file src/Makefile + sed -i 's|-O$(OPTIM)|-O2 -flto=auto -ffat-lto-objects -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|g' src/Makefile + sed -i 's|$(LUALOPT)|$(LUALOPT) -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld|g' src/Makefile + iconv -f iso8859-1 -t utf8 doc/tech_eng.txt -o doc/tech_eng.txt.utf8 + touch -r doc/tech_eng.txt doc/tech_eng.txt.utf8 + mv doc/tech_eng.txt.utf8 doc/tech_eng.txt + mkdir -p 3rdparty/archives/ + cp -a /builddir/build/SOURCES/recoil-4.2.0.tar.gz 3rdparty/archives/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.76HO6k + umask 022 + cd /builddir/build/BUILD + cd grafX2-v2.5 + cd src + make -j4 make: git: No such file or directory make: git: No such file or directory make: git: No such file or directory mkdir -p ../obj/unix gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c main.c -o ../obj/unix/main.o mkdir -p ../obj/unix gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c init.c -o ../obj/unix/init.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c graph.c -o ../obj/unix/graph.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c sdlscreen.c -o ../obj/unix/sdlscreen.o main.c: In function 'Init_program': main.c:924:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 924 | Button_Page(-1); | ^~~~~~~~~~~~~~~ main.c:926:9: note: here 926 | case 1: | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c misc.c -o ../obj/unix/misc.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c special.c -o ../obj/unix/special.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c buttons.c -o ../obj/unix/buttons.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c palette.c -o ../obj/unix/palette.o init.c: In function 'Load_graphics': init.c:685:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 685 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); | ^~ In file included from /usr/include/stdio.h:866, from init.c:37: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 7 or more bytes (assuming 4102) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_font': init.c:772:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 772 | snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); | ^~ In file included from /usr/include/stdio.h:866, from init.c:37: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 7 or more bytes (assuming 4102) into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c: In function 'Button_Gradients': buttons.c:2727:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 2727 | Display_cursor(); | ^~~~~~~~~~~~~~~~ buttons.c:2728:7: note: here 2728 | case 8 : // Speed | ^~~~ init.c: In function 'Load_Unicode_fonts': init.c:815:44: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 815 | snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); | ^~ In file included from /usr/include/stdio.h:866, from init.c:37: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: palette.c: In function 'Button_Secondary_palette': misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [1, 32767] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c help.c -o ../obj/unix/help.o In file included from palette.c:29: palette.c: In function 'Button_Palette': misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from palette.c:22: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help.c: In function 'Window_set_shortcut': help.c:229:24: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | shortcut_ptr[1]=backup_shortcut[1]; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ help.c:230:7: note: here 230 | case 2: // OK | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c operatio.c -o ../obj/unix/operatio.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pages.c -o ../obj/unix/pages.o In file included from buttons.c:57: buttons.c: In function 'Button_Resolution': misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:38: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:57: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:38: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:57: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:38: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:57: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:38: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:57: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:38: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:57: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:38: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 6 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons.c:57: buttons.c: In function 'Refresh_airbrush_settings': misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from buttons.c:38: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c loadsave.c -o ../obj/unix/loadsave.o In file included from /usr/include/string.h:519, from loadsave.c:30: In function 'strncpy', inlined from 'Look_for_alternate_ext' at loadsave.c:1819:5, inlined from 'Look_for_alternate_ext' at loadsave.c:1786:13: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Look_for_alternate_ext' at loadsave.c:1836:5, inlined from 'Look_for_alternate_ext' at loadsave.c:1786:13: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Define_icon': init.c:3199:27: warning: '%s' directive writing 8 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 3199 | sprintf(icon_path, "%s%s", Data_directory, "gfx2.gif"); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from init.c:37: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 9 and 4104 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c readline.c -o ../obj/unix/readline.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c engine.c -o ../obj/unix/engine.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c filesel.c -o ../obj/unix/filesel.o loadsave.c: In function 'Rotate_safety_backups.part.0': loadsave.c:1628:32: warning: '%6.6d' directive writing 6 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 1628 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~ loadsave.c:1628:27: note: directive argument in the range [0, 999999] 1628 | sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from loadsave.c:28: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 12 and 4107 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from loadsave.c:30: In function 'strncpy', inlined from 'Open_file_read_with_alternate_ext' at loadsave.c:1847:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c op_c.c -o ../obj/unix/op_c.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c readini.c -o ../obj/unix/readini.o In file included from /usr/include/string.h:519, from /usr/include/SDL/SDL_stdinc.h:60, from /usr/include/SDL/SDL_syswm.h:30, from filesel.c:28: In function 'strncpy', inlined from 'Print_filename_in_fileselector' at filesel.c:1268:3: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'Button_Load_or_Save' at filesel.c:2269:11: /usr/include/bits/string_fortified.h:106:10: warning: 'strncpy' output may be truncated copying 256 bytes from a string of length 4095 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c saveini.c -o ../obj/unix/saveini.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c shade.c -o ../obj/unix/shade.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c keyboard.c -o ../obj/unix/keyboard.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c io.c -o ../obj/unix/io.o In file included from shade.c:28: shade.c: In function 'Display_selected_color': misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from global.h:33, from shade.c:24: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo "char SVN_revision[]=\""-"\";" > version.c gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c text.c -o ../obj/unix/text.o text.c: In function 'Init_text': text.c:290:55: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 290 | snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); | ^~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from /usr/include/SDL/SDL_ttf.h:30, from text.c:38: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 6 and 4101 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:293:55: warning: '%s' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 293 | snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); | ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from /usr/include/SDL/SDL_ttf.h:30, from text.c:38: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 4102 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c SFont.c -o ../obj/unix/SFont.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c setup.c -o ../obj/unix/setup.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxsimple.c -o ../obj/unix/pxsimple.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxtall.c -o ../obj/unix/pxtall.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxwide.c -o ../obj/unix/pxwide.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxdouble.c -o ../obj/unix/pxdouble.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxtriple.c -o ../obj/unix/pxtriple.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxtall2.c -o ../obj/unix/pxtall2.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxtall3.c -o ../obj/unix/pxtall3.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxwide2.c -o ../obj/unix/pxwide2.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pxquad.c -o ../obj/unix/pxquad.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c windows.c -o ../obj/unix/windows.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c brush.c -o ../obj/unix/brush.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c realpath.c -o ../obj/unix/realpath.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c mountlist.c -o ../obj/unix/mountlist.o windows.c: In function 'Display_cursor': windows.c:2405:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 2405 | if (Cursor_hidden) | ^ windows.c:2408:5: note: here 2408 | case CURSOR_SHAPE_ARROW : | ^~~~ windows.c: In function 'Hide_cursor': windows.c:2704:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 2704 | if (Cursor_hidden) | ^ windows.c:2707:5: note: here 2707 | case CURSOR_SHAPE_ARROW : | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c input.c -o ../obj/unix/input.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c hotkeys.c -o ../obj/unix/hotkeys.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c transform.c -o ../obj/unix/transform.o transform.c: In function 'Button_Transform_menu': transform.c:268:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 268 | if (unit_index!=UNIT_RATIO) | ^ transform.c:270:7: note: here 270 | case 10: // input new width | ^~~~ windows.c: In function 'Display_layerbar': windows.c:604:23: warning: '%3d' directive output may be truncated writing between 3 and 11 bytes into a region of size 8 [-Wformat-truncation=] 604 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~ windows.c:604:22: note: directive argument in the range [-2147483647, 2147483647] 604 | snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); | ^~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from global.h:33, from windows.c:43: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 8 and 24 bytes into a destination of size 8 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from windows.c:46: windows.c: In function 'Print_coordinates.part.0': misc.h:132:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 4294967295] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from global.h:33, from windows.c:43: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from windows.c:46: misc.h:132:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 4294967295] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from global.h:33, from windows.c:43: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 5 and 11 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c pversion.c -o ../obj/unix/pversion.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c factory.c -o ../obj/unix/factory.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c fileformats.c -o ../obj/unix/fileformats.o fileformats.c: In function 'Save_IFF': fileformats.c:2191:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 2191 | header.X_aspect = (header.X_aspect * 15) / 10; // *1.5 | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileformats.c:2192:7: note: here 2192 | case PIXEL_TALL: | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c miscfileformats.c -o ../obj/unix/miscfileformats.o miscfileformats.c: In function 'Load_GPL': miscfileformats.c:160:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 160 | fscanf(file, "Columns: %d", &columns); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ miscfileformats.c:173:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 173 | fscanf(file, "%d", &r); | ^~~~~~~~~~~~~~~~~~~~~~ miscfileformats.c:175:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | fscanf(file, "%d", &g); | ^~~~~~~~~~~~~~~~~~~~~~ miscfileformats.c:177:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | fscanf(file, "%d\t", &b); | ^~~~~~~~~~~~~~~~~~~~~~~~ miscfileformats.c: In function 'Load_PAL': miscfileformats.c:279:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 279 | fscanf(file, "%d",&n); | ^~~~~~~~~~~~~~~~~~~~~ miscfileformats.c:287:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 287 | fscanf(file, "%d",&n); | ^~~~~~~~~~~~~~~~~~~~~ miscfileformats.c:290:11: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 290 | fscanf(file, "%d %d %d",&r, &g, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c libraw2crtc.c -o ../obj/unix/libraw2crtc.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c brush_ops.c -o ../obj/unix/brush_ops.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c buttons_effects.c -o ../obj/unix/buttons_effects.o buttons_effects.c: In function 'Button_Grid_menu': buttons_effects.c:533:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 533 | Display_cursor(); | ^~~~~~~~~~~~~~~~ buttons_effects.c:535:7: note: here 535 | case 7: | ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c layers.c -o ../obj/unix/layers.o In file included from buttons_effects.c:39: misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from buttons_effects.c:28: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:39: misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from buttons_effects.c:28: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:39: misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from buttons_effects.c:28: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:39: misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [0, 65535] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from buttons_effects.c:28: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 6 bytes into a destination of size 4 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c oldies.c -o ../obj/unix/oldies.o In file included from buttons_effects.c:39: buttons_effects.c: In function 'Button_Smooth_menu': misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from buttons_effects.c:28: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:39: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from buttons_effects.c:28: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from buttons_effects.c:39: misc.h:132:34: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:39: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from buttons_effects.c:28: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 3 and 4 bytes into a destination of size 3 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c tiles.c -o ../obj/unix/tiles.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c colorred.c -o ../obj/unix/colorred.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c unicode.c -o ../obj/unix/unicode.o In file included from tiles.c:29: tiles.c: In function 'Tilemap_update': misc.h:132:34: warning: '%*lu' directive writing between 7 and 10 bytes into a region of size 8 [-Wformat-overflow=] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ misc.h:132:35: note: format string is defined here 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~ misc.h:132:34: note: directive argument in the range [1, 2147483647] 132 | #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) | ^~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from global.h:33, from tiles.c:23: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 8 and 11 bytes into a destination of size 8 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make -C ../3rdparty recoil make[1]: Entering directory '/builddir/build/BUILD/grafX2-v2.5/3rdparty' /usr/bin/tar xzf archives/recoil-4.2.0.tar.gz touch recoil-4.2.0/.ok make[1]: Leaving directory '/builddir/build/BUILD/grafX2-v2.5/3rdparty' gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c version.c -o ../obj/unix/version.o cp ../3rdparty/recoil-4.2.0/recoil.c recoil.c cp ../3rdparty/recoil-4.2.0/recoil.h recoil.h gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c loadrecoil.c -o ../obj/unix/loadrecoil.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D__ENABLE_LUA__ -O2 -flto=auto -ffat-lto-objects -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/include/libpng16 -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -c recoil.c -o ../obj/unix/recoil.o recoil.c: In function 'MultiPalette_SetLinePalette': recoil.c:3590:75: warning: unused parameter 'recoil' [-Wunused-parameter] 3590 | static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) | ~~~~~~~~~~~~~~^~~~~~ recoil.c:3590:87: warning: unused parameter 'y' [-Wunused-parameter] 3590 | static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) | ~~~~^ recoil.c: In function 'PgrRenderer_GetPlayfieldByte': recoil.c:4144:70: warning: unused parameter 'y' [-Wunused-parameter] 4144 | static int PgrRenderer_GetPlayfieldByte(PgrRenderer const *self, int y, int column) | ~~~~^ recoil.c: In function 'RECOIL_ReadFile': recoil.c:16416:54: warning: unused parameter 'filename' [-Wunused-parameter] 16416 | static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) | ~~~~~~~~~~~~^~~~~~~~ recoil.c:16416:92: warning: unused parameter 'contentLength' [-Wunused-parameter] 16416 | static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) | ~~~~^~~~~~~~~~~~~ recoil.c: In function 'RECOIL_UnpackLz4': recoil.c:16971:46: warning: unused parameter 'self' [-Wunused-parameter] 16971 | static cibool RECOIL_UnpackLz4(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ recoil.c: In function 'RECOIL_UnpackPbx': recoil.c:17102:60: warning: unused parameter 'self' [-Wunused-parameter] 17102 | static unsigned char const *RECOIL_UnpackPbx(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int bitmapOffset, int bytesPer16Pixels, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ recoil.c: In function 'RECOIL_UnpackRip': recoil.c:17128:46: warning: unused parameter 'self' [-Wunused-parameter] 17128 | static cibool RECOIL_UnpackRip(RECOIL const *self, unsigned char const *content, int contentOffset, int contentLength, unsigned char *unpacked, int unpackedLength) | ~~~~~~~~~~~~~~^~~~ gcc ../obj/unix/main.o ../obj/unix/init.o ../obj/unix/graph.o ../obj/unix/sdlscreen.o ../obj/unix/misc.o ../obj/unix/special.o ../obj/unix/buttons.o ../obj/unix/palette.o ../obj/unix/help.o ../obj/unix/operatio.o ../obj/unix/pages.o ../obj/unix/loadsave.o ../obj/unix/readline.o ../obj/unix/engine.o ../obj/unix/filesel.o ../obj/unix/op_c.o ../obj/unix/readini.o ../obj/unix/saveini.o ../obj/unix/shade.o ../obj/unix/keyboard.o ../obj/unix/io.o ../obj/unix/version.o ../obj/unix/text.o ../obj/unix/SFont.o ../obj/unix/setup.o ../obj/unix/pxsimple.o ../obj/unix/pxtall.o ../obj/unix/pxwide.o ../obj/unix/pxdouble.o ../obj/unix/pxtriple.o ../obj/unix/pxtall2.o ../obj/unix/pxtall3.o ../obj/unix/pxwide2.o ../obj/unix/pxquad.o ../obj/unix/windows.o ../obj/unix/brush.o ../obj/unix/realpath.o ../obj/unix/mountlist.o ../obj/unix/input.o ../obj/unix/hotkeys.o ../obj/unix/transform.o ../obj/unix/pversion.o ../obj/unix/factory.o ../obj/unix/fileformats.o ../obj/unix/miscfileformats.o ../obj/unix/libraw2crtc.o ../obj/unix/brush_ops.o ../obj/unix/buttons_effects.o ../obj/unix/layers.o ../obj/unix/oldies.o ../obj/unix/tiles.o ../obj/unix/colorred.o ../obj/unix/unicode.o ../obj/unix/loadrecoil.o ../obj/unix/recoil.o -o ../bin/grafx2 -lSDL -lpthread -lSDL_image -L/usr/local/lib -lSDL_ttf -lfontconfig -lpng16 -lz -llua -lm -ldl -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm layers.h:39:6: warning: type of 'Button_Anim_last_frame' does not match original declaration [-Wlto-type-mismatch] 39 | void Button_Anim_last_frame(int); | ^ layers.c:621:6: note: type mismatch in parameter 1 621 | void Button_Anim_last_frame(void) | ^ layers.c:621:6: note: type 'void' should match type 'int' layers.c:621:6: note: 'Button_Anim_last_frame' was previously declared here layers.h:42:6: warning: type of 'Button_Anim_continuous_next' does not match original declaration [-Wlto-type-mismatch] 42 | void Button_Anim_continuous_next(int); | ^ layers.c:631:6: note: type mismatch in parameter 1 631 | void Button_Anim_continuous_next(void) | ^ layers.c:631:6: note: type 'void' should match type 'int' layers.c:631:6: note: 'Button_Anim_continuous_next' was previously declared here layers.h:38:6: warning: type of 'Button_Anim_next_frame' does not match original declaration [-Wlto-type-mismatch] 38 | void Button_Anim_next_frame(int); | ^ layers.c:606:6: note: type mismatch in parameter 1 606 | void Button_Anim_next_frame(void) | ^ layers.c:606:6: note: type 'void' should match type 'int' layers.c:606:6: note: 'Button_Anim_next_frame' was previously declared here layers.h:41:6: warning: type of 'Button_Anim_continuous_prev' does not match original declaration [-Wlto-type-mismatch] 41 | void Button_Anim_continuous_prev(int); | ^ layers.c:666:6: note: type mismatch in parameter 1 666 | void Button_Anim_continuous_prev(void) | ^ layers.c:666:6: note: type 'void' should match type 'int' layers.c:666:6: note: 'Button_Anim_continuous_prev' was previously declared here layers.h:37:6: warning: type of 'Button_Anim_prev_frame' does not match original declaration [-Wlto-type-mismatch] 37 | void Button_Anim_prev_frame(int); | ^ layers.c:592:6: note: type mismatch in parameter 1 592 | void Button_Anim_prev_frame(void) | ^ layers.c:592:6: note: type 'void' should match type 'int' layers.c:592:6: note: 'Button_Anim_prev_frame' was previously declared here layers.h:36:6: warning: type of 'Button_Anim_first_frame' does not match original declaration [-Wlto-type-mismatch] 36 | void Button_Anim_first_frame(int); | ^ layers.c:582:6: note: type mismatch in parameter 1 582 | void Button_Anim_first_frame(void) | ^ layers.c:582:6: note: type 'void' should match type 'int' layers.c:582:6: note: 'Button_Anim_first_frame' was previously declared here layers.h:35:6: warning: type of 'Button_Anim_time' does not match original declaration [-Wlto-type-mismatch] 35 | void Button_Anim_time(int); | ^ layers.c:462:6: note: type mismatch in parameter 1 462 | void Button_Anim_time(void) | ^ layers.c:462:6: note: type 'void' should match type 'int' layers.c:462:6: note: 'Button_Anim_time' was previously declared here layers.h:33:6: warning: type of 'Button_Layer_toggle' does not match original declaration [-Wlto-type-mismatch] 33 | void Button_Layer_toggle(int); | ^ layers.c:210:6: note: type mismatch in parameter 1 210 | void Button_Layer_toggle(void) | ^ layers.c:210:6: note: type 'void' should match type 'int' layers.c:210:6: note: 'Button_Layer_toggle' was previously declared here layers.h:32:6: warning: type of 'Button_Layer_select' does not match original declaration [-Wlto-type-mismatch] 32 | void Button_Layer_select(int); | ^ layers.c:203:6: note: type mismatch in parameter 1 203 | void Button_Layer_select(void) | ^ layers.c:203:6: note: type 'void' should match type 'int' layers.c:203:6: note: 'Button_Layer_select' was previously declared here layers.h:30:6: warning: type of 'Button_Layer_up' does not match original declaration [-Wlto-type-mismatch] 30 | void Button_Layer_up(int); | ^ layers.c:373:6: note: type mismatch in parameter 1 373 | void Button_Layer_up(void) | ^ layers.c:373:6: note: type 'void' should match type 'int' layers.c:373:6: note: 'Button_Layer_up' was previously declared here layers.h:31:6: warning: type of 'Button_Layer_down' does not match original declaration [-Wlto-type-mismatch] 31 | void Button_Layer_down(int); | ^ layers.c:413:6: note: type mismatch in parameter 1 413 | void Button_Layer_down(void) | ^ layers.c:413:6: note: type 'void' should match type 'int' layers.c:413:6: note: 'Button_Layer_down' was previously declared here layers.h:25:6: warning: type of 'Button_Layer_remove' does not match original declaration [-Wlto-type-mismatch] 25 | void Button_Layer_remove(int); | ^ layers.c:164:6: note: type mismatch in parameter 1 164 | void Button_Layer_remove(void) | ^ layers.c:164:6: note: type 'void' should match type 'int' layers.c:164:6: note: 'Button_Layer_remove' was previously declared here layers.h:24:6: warning: type of 'Button_Layer_duplicate' does not match original declaration [-Wlto-type-mismatch] 24 | void Button_Layer_duplicate(int); | ^ layers.c:130:6: note: type mismatch in parameter 1 130 | void Button_Layer_duplicate(void) | ^ layers.c:130:6: note: type 'void' should match type 'int' layers.c:130:6: note: 'Button_Layer_duplicate' was previously declared here layers.h:23:6: warning: type of 'Button_Layer_add' does not match original declaration [-Wlto-type-mismatch] 23 | void Button_Layer_add(int); | ^ layers.c:103:6: note: type mismatch in parameter 1 103 | void Button_Layer_add(void) | ^ layers.c:103:6: note: type 'void' should match type 'int' layers.c:103:6: note: 'Button_Layer_add' was previously declared here layers.h:29:6: warning: type of 'Button_Layer_merge' does not match original declaration [-Wlto-type-mismatch] 29 | void Button_Layer_merge(int); | ^ layers.c:351:6: note: type mismatch in parameter 1 351 | void Button_Layer_merge(void) | ^ layers.c:351:6: note: type 'void' should match type 'int' layers.c:351:6: note: 'Button_Layer_merge' was previously declared here layers.h:27:6: warning: type of 'Button_Layer_set_transparent' does not match original declaration [-Wlto-type-mismatch] 27 | void Button_Layer_set_transparent(int); | ^ layers.c:320:6: note: type mismatch in parameter 1 320 | void Button_Layer_set_transparent(void) | ^ layers.c:320:6: note: type 'void' should match type 'int' layers.c:320:6: note: 'Button_Layer_set_transparent' was previously declared here layers.h:28:6: warning: type of 'Button_Layer_get_transparent' does not match original declaration [-Wlto-type-mismatch] 28 | void Button_Layer_get_transparent(int); | ^ layers.c:338:6: note: type mismatch in parameter 1 338 | void Button_Layer_get_transparent(void) | ^ layers.c:338:6: note: type 'void' should match type 'int' layers.c:338:6: note: 'Button_Layer_get_transparent' was previously declared here layers.h:26:6: warning: type of 'Button_Layer_menu' does not match original declaration [-Wlto-type-mismatch] 26 | void Button_Layer_menu(int); | ^ layers.c:241:6: note: type mismatch in parameter 1 241 | void Button_Layer_menu(void) | ^ layers.c:241:6: note: type 'void' should match type 'int' layers.c:241:6: note: 'Button_Layer_menu' was previously declared here factory.h:3:6: warning: type of 'Button_Brush_Factory' does not match original declaration [-Wlto-type-mismatch] 3 | void Button_Brush_Factory(int); | ^ factory.c:2645:6: note: type mismatch in parameter 1 2645 | void Button_Brush_Factory(void) | ^ factory.c:2645:6: note: type 'void' should match type 'int' factory.c:2645:6: note: 'Button_Brush_Factory' was previously declared here In function 'strncpy', inlined from 'Print_in_window_limited' at windows.c:948:3, inlined from 'Button_Skins' at buttons.c:1468:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ buttons.c: In function 'Button_Skins': buttons.c:1469:40: note: length computed here 1469 | fontName->Short_name,(byte)strlen(fontName->Short_name) ,MC_Black,MC_Light); | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7KaAHk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64 + cd grafX2-v2.5 + cd src + make DESTDIR=/builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64 prefix=/usr 'CP=cp -a' install make: git: No such file or directory make: git: No such file or directory make: git: No such file or directory # Create dirs test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/bin || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/bin test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2 || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2 test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/fonts || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/fonts test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/skins || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/skins test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/libs || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/libs test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4 || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4 test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/brush || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/brush test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/demo || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/demo test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/demo/brush || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/demo/brush test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/libs || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/libs test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/palette || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/palette test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture/others-8bit || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture/others-8bit test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture/thomson || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture/thomson test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture/thomson/lib test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/applications || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/applications test -d /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/icons || mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/icons # Copy files cp -a ../bin/grafx2 /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/bin cp -a ../share/grafx2/gfx2def.ini /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/ cp -a ../share/grafx2/gfx2.gif /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/ cp -a ../share/grafx2/fonts/* /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/fonts/ cp -a ../share/grafx2/skins/skin_classic.png ../share/grafx2/skins/skin_modern.png ../share/grafx2/skins/skin_DPaint.png ../share/grafx2/skins/font_Classic.png ../share/grafx2/skins/font_Fun.png ../share/grafx2/skins/font_Fairlight.png ../share/grafx2/skins/font_Melon.png ../share/grafx2/skins/font_DPaint.png ../share/grafx2/skins/skin_scenish.png ../share/grafx2/skins/font_Seen.png ../share/grafx2/skins/skin_Aurora.png ../share/grafx2/skins/unicode_0410-044F.png /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/skins/ for f in grafx2/scripts/samples_2.4/brush/ApplyColor.lua grafx2/scripts/samples_2.4/brush/Fisheye.lua grafx2/scripts/samples_2.4/brush/GrayscaleAvg.lua grafx2/scripts/samples_2.4/brush/GrayscaleDesat.lua grafx2/scripts/samples_2.4/brush/Halfsmooth.lua grafx2/scripts/samples_2.4/brush/Waves.lua grafx2/scripts/samples_2.4/demo/3DPalette.lua grafx2/scripts/samples_2.4/demo/Ellipse.lua grafx2/scripts/samples_2.4/demo/FlipPicture.lua grafx2/scripts/samples_2.4/demo/SierpinskyCarpet.lua grafx2/scripts/samples_2.4/demo/SierpinskyTriangle.lua grafx2/scripts/samples_2.4/demo/Spritesheet.lua grafx2/scripts/samples_2.4/demo/brush/Amigaball.lua grafx2/scripts/samples_2.4/demo/brush/ColorSphere.lua grafx2/scripts/samples_2.4/demo/brush/FindAA.lua grafx2/scripts/samples_2.4/demo/brush/Mandelbrot.lua grafx2/scripts/samples_2.4/libs/dawnbringer_lib.lua grafx2/scripts/samples_2.4/libs/memory.lua grafx2/scripts/samples_2.4/palette/Desaturate.lua grafx2/scripts/samples_2.4/palette/ExpandColors.lua grafx2/scripts/samples_2.4/palette/FillColorCube.lua grafx2/scripts/samples_2.4/palette/InvertedRGB.lua grafx2/scripts/samples_2.4/palette/Set3bit.lua grafx2/scripts/samples_2.4/palette/Set6bit.lua grafx2/scripts/samples_2.4/palette/SetC64Palette.lua grafx2/scripts/samples_2.4/palette/ShiftHue.lua grafx2/scripts/samples_2.4/picture/CellColourReducer.lua grafx2/scripts/samples_2.4/picture/DrawGridIsometric.lua grafx2/scripts/samples_2.4/picture/DrawgridOrthogonal_Index.lua grafx2/scripts/samples_2.4/picture/DrawGridOrthogonal_RGB.lua grafx2/scripts/samples_2.4/picture/GlassGridFilter.lua grafx2/scripts/samples_2.4/picture/PaletteToPicture.lua grafx2/scripts/samples_2.4/picture/Pic2isometric.lua grafx2/scripts/samples_2.4/picture/Rainbow-Dark2Bright.lua grafx2/scripts/samples_2.4/picture/RemapImage2RGB.lua grafx2/scripts/samples_2.4/picture/RemapImage2RGB_ed.lua grafx2/scripts/samples_2.4/picture/RemapImageTo3bitPal.lua grafx2/scripts/samples_2.4/picture/XBitColourXpaceFromPalette.lua grafx2/scripts/samples_2.4/picture/Tiler.lua grafx2/scripts/samples_2.4/picture/FontConvert.lua grafx2/scripts/samples_2.4/picture/others-8bit/ostro_oric.lua grafx2/scripts/samples_2.4/picture/others-8bit/ostro_zx.lua grafx2/scripts/samples_2.4/picture/others-8bit/lib/ostro_other.lua grafx2/scripts/samples_2.4/picture/thomson/bayer4_mo5.lua grafx2/scripts/samples_2.4/picture/thomson/bayer4_to8.lua grafx2/scripts/samples_2.4/picture/thomson/none_mo5.lua grafx2/scripts/samples_2.4/picture/thomson/none_to8.lua grafx2/scripts/samples_2.4/picture/thomson/none_to9.lua grafx2/scripts/samples_2.4/picture/thomson/ostro_mo5.lua grafx2/scripts/samples_2.4/picture/thomson/ostro_to7.lua grafx2/scripts/samples_2.4/picture/thomson/ostro_to8.lua grafx2/scripts/samples_2.4/picture/thomson/ostro_to9.lua grafx2/scripts/samples_2.4/picture/thomson/lib/bayer.lua grafx2/scripts/samples_2.4/picture/thomson/lib/color.lua grafx2/scripts/samples_2.4/picture/thomson/lib/color_reduction.lua grafx2/scripts/samples_2.4/picture/thomson/lib/convex_hull.lua grafx2/scripts/samples_2.4/picture/thomson/lib/ostromoukhov.lua grafx2/scripts/samples_2.4/picture/thomson/lib/thomson.lua; do cp -a "../share/$f" "/builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/$f" ; done cp: cannot create regular file '/builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/grafx2/scripts/samples_2.4/picture/others-8bit/lib/ostro_other.lua': No such file or directory # Icon and desktop file for debian cp -a ../misc/unix/grafx2.desktop /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/applications/ cp -a ../misc/unix/grafx2.xpm /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/icons cp -a ../share/icons/grafx2.svg /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/icons Install complete + mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/metainfo + cp /builddir/build/SOURCES/grafx2.appdata.xml /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/metainfo + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.5-8.fc33 --unique-debug-suffix -2.5-8.fc33.riscv64 --unique-debug-src-base grafx2-2.5-8.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/grafX2-v2.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/bin/grafx2 extracting debug info from /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/bin/grafx2 original debug info size: 13148kB, size after compression: 12804kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 6258 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.w8W7dn + umask 022 + cd /builddir/build/BUILD + cd grafX2-v2.5 + desktop-file-validate /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/applications/grafx2.desktop /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/applications/grafx2.desktop: warning: value "Application;Graphics;" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application" + RPM_EC=0 ++ jobs -p + exit 0 Processing files: grafx2-2.5-8.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pwxlik + umask 022 + cd /builddir/build/BUILD + cd grafX2-v2.5 + DOCDIR=/builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/doc/grafx2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/doc/grafx2 + cp -pr doc/README.txt /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/doc/grafx2 + cp -pr doc/tech_eng.txt /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/doc/grafx2 + cp -pr doc/quickstart.rtf /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/doc/grafx2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HUVlUk + umask 022 + cd /builddir/build/BUILD + cd grafX2-v2.5 + LICENSEDIR=/builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/licenses/grafx2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/licenses/grafx2 + cp -pr LICENSE /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64/usr/share/licenses/grafx2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(grafx2.desktop) bundled(recoil) = 4.2.0 grafx2 = 2.5-8.fc33 grafx2(riscv-64) = 2.5-8.fc33 metainfo() metainfo(grafx2.appdata.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libSDL_ttf-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libfontconfig.so.1()(64bit) liblua-5.4.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: grafx2-debugsource-2.5-8.fc33.riscv64 Provides: grafx2-debugsource = 2.5-8.fc33 grafx2-debugsource(riscv-64) = 2.5-8.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: grafx2-debuginfo-2.5-8.fc33.riscv64 Provides: debuginfo(build-id) = ce0244f440974e901a921e66b76183691ad8e164 grafx2-debuginfo = 2.5-8.fc33 grafx2-debuginfo(riscv-64) = 2.5-8.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: grafx2-debugsource(riscv-64) = 2.5-8.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64 Wrote: /builddir/build/RPMS/grafx2-2.5-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/grafx2-debugsource-2.5-8.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/grafx2-debuginfo-2.5-8.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C4h5Bm + umask 022 + cd /builddir/build/BUILD + cd grafX2-v2.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/grafx2-2.5-8.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0