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/sar2.spec'], chrootPath='/var/lib/mock/f33-build-235120-50520/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/sar2.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=1590537600 Wrote: /builddir/build/SRPMS/sar2-2.4.3-1.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/sar2.spec'], chrootPath='/var/lib/mock/f33-build-235120-50520/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/sar2.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=1590537600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.w5aCrw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sar2-2.4.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/v2.4.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sar2-2.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sar2-2.4.3-fix-optflags.patch):' Patch #0 (sar2-2.4.3-fix-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-optflags --fuzz=0 patching file src/SConscript + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RxaMju + umask 022 + cd /builddir/build/BUILD + cd sar2-2.4.3 + scons '--optflags=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o build/v3dfio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/v3dfio.c src/v3dfio.c: In function 'V3DLoadModel': src/v3dfio.c:505:25: warning: variable 'mp_texture_off' set but not used [-Wunused-but-set-variable] 505 | mp_texture_off_struct *mp_texture_off = NULL; | ^~~~~~~~~~~~~~ src/v3dfio.c:489:22: warning: variable 'mp_unrotate' set but not used [-Wunused-but-set-variable] 489 | mp_unrotate_struct *mp_unrotate = NULL; | ^~~~~~~~~~~ src/v3dfio.c:487:25: warning: variable 'mp_untranslate' set but not used [-Wunused-but-set-variable] 487 | mp_untranslate_struct *mp_untranslate = NULL; | ^~~~~~~~~~~~~~ src/v3dfio.c: In function 'V3DSaveModel': src/v3dfio.c:3170:25: warning: variable 'mp_texture_off' set but not used [-Wunused-but-set-variable] 3170 | mp_texture_off_struct *mp_texture_off = NULL; | ^~~~~~~~~~~~~~ src/v3dfio.c:3154:22: warning: variable 'mp_unrotate' set but not used [-Wunused-but-set-variable] 3154 | mp_unrotate_struct *mp_unrotate = NULL; | ^~~~~~~~~~~ src/v3dfio.c:3152:25: warning: variable 'mp_untranslate' set but not used [-Wunused-but-set-variable] 3152 | mp_untranslate_struct *mp_untranslate = NULL; | ^~~~~~~~~~~~~~ gcc -o build/gctl.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/gctl.c src/gctl.c: In function 'GCtlUpdate': src/gctl.c:347:18: warning: variable 'btn_kb_last' set but not used [-Wunused-but-set-variable] 347 | time_t *btn_kb_last; | ^~~~~~~~~~~ src/gctl.c:334:32: warning: variable 'dms' set but not used [-Wunused-but-set-variable] 334 | time_t gc_last_updated_ms, dms; | ^~~ src/gctl.c:333:18: warning: variable 'options' set but not used [-Wunused-but-set-variable] 333 | gctl_options options; | ^~~~~~~ gcc -o build/sarfio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarfio.c src/sarfio.c: In function 'SARParmDelete': src/sarfio.c:344:50: warning: variable 'p_runway_approach_lighting_south' set but not used [-Wunused-but-set-variable] 344 | sar_parm_runway_approach_lighting_south_struct *p_runway_approach_lighting_south; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sarfio.c:343:50: warning: variable 'p_runway_approach_lighting_north' set but not used [-Wunused-but-set-variable] 343 | sar_parm_runway_approach_lighting_north_struct *p_runway_approach_lighting_north; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sarfio.c:337:29: warning: variable 'p_new_smoke' set but not used [-Wunused-but-set-variable] 337 | sar_parm_new_smoke_struct *p_new_smoke; | ^~~~~~~~~~~ src/sarfio.c:336:28: warning: variable 'p_new_fire' set but not used [-Wunused-but-set-variable] 336 | sar_parm_new_fire_struct *p_new_fire; | ^~~~~~~~~~ src/sarfio.c:326:40: warning: variable 'p_mission_begin_at_pos' set but not used [-Wunused-but-set-variable] 326 | sar_parm_mission_begin_at_pos_struct *p_mission_begin_at_pos; | ^~~~~~~~~~~~~~~~~~~~~~ src/sarfio.c:324:41: warning: variable 'p_mission_new_objective' set but not used [-Wunused-but-set-variable] 324 | sar_parm_mission_new_objective_struct *p_mission_new_objective; | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/sfm.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sfm.c gcc -o build/explosion.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/explosion.c gcc -o build/cpinsbearing.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cpinsbearing.c src/cpinsbearing.c: In function 'CPInsBearingValuesChanged': src/cpinsbearing.c:132:6: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] 132 | int cstate; | ^~~~~~ gcc -o build/sfmmath.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sfmmath.c gcc -o build/cmdclean.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cmdclean.c gcc -o build/simcb.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/simcb.c src/simcb.c: In function 'SARSimTouchDownCB': src/simcb.c:824:32: warning: variable 'explosion_obj_ptr' set but not used [-Wunused-but-set-variable] 824 | sar_object_struct *explosion_obj_ptr = NULL; | ^~~~~~~~~~~~~~~~~ src/simcb.c:230:21: warning: variable 'crash_flags' set but not used [-Wunused-but-set-variable] 230 | sar_obj_flags_t crash_flags = 0; | ^~~~~~~~~~~ src/simcb.c:228:11: warning: variable 'distance_to_camera' set but not used [-Wunused-but-set-variable] 228 | float distance_to_camera, | ^~~~~~~~~~~~~~~~~~ src/simcb.c: In function 'SARSimObjectCollisionCB': src/simcb.c:1163:14: warning: variable 'distance_to_camera' set but not used [-Wunused-but-set-variable] 1163 | float r, distance_to_camera; | ^~~~~~~~~~~~~~~~~~ gcc -o build/sarinstall.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarinstall.c gcc -o build/simcontact.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/simcontact.c gcc -o build/sarsplash.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarsplash.c gcc -o build/cpinshorizon.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cpinshorizon.c src/cpinshorizon.c: In function 'CPInsHorizonValuesChanged': src/cpinshorizon.c:347:26: warning: variable 'tex_bg' set but not used [-Wunused-but-set-variable] 347 | v3d_texture_ref_struct *tex_bg, *tex_fg; | ^~~~~~ gcc -o build/sarkey.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarkey.c gcc -o build/stategl.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/stategl.c gcc -o build/v3dmodel.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/v3dmodel.c gcc -o build/sarmenumanage.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarmenumanage.c gcc -o build/sardrawpm.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawpm.c gcc -o build/menuobjview.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/menuobjview.c src/menuobjview.c: In function 'SARMenuObjViewLoad': src/menuobjview.c:913:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 913 | list = (GLuint)ov_ptr->obj_list; | ^ src/menuobjview.c:1012:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1012 | ov_ptr->obj_list = (void *)list; | ^ src/menuobjview.c: In function 'SARMenuObjViewRebufferImage': src/menuobjview.c:1117:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1117 | list = (GLuint)ov_ptr->obj_list; | ^ gcc -o build/humanio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/humanio.c gcc -o build/gwx.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/gwx.c src/gwx.c: In function 'GWGetCharacterFromKeyCode': src/gwx.c:796:2: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 796 | keysym = XKeycodeToKeysym( | ^~~~~~ In file included from src/gwx.c:25: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ src/gwx.c:810:6: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 810 | keysym = XKeycodeToKeysym( | ^~~~~~ In file included from src/gwx.c:25: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ src/gwx.c:827:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 827 | return((int)(keytable[i + 1])); | ^ src/gwx.c: In function 'GWSetWindowIconFile': src/gwx.c:334:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:1000:22: note: in expansion of macro 'STRISEMPTY' 1000 | if((dpy == NULL) || STRISEMPTY(icon_path)) | ^~~~~~~~~~ src/gwx.c:334:41: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:1000:22: note: in expansion of macro 'STRISEMPTY' 1000 | if((dpy == NULL) || STRISEMPTY(icon_path)) | ^~~~~~~~~~ src/gwx.c: In function 'GWCreateWindow': src/gwx.c:334:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:1321:10: note: in expansion of macro 'STRISEMPTY' 1321 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:41: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:1321:10: note: in expansion of macro 'STRISEMPTY' 1321 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c: In function 'GWInit': src/gwx.c:1390:14: warning: variable 'pointer_color' set but not used [-Wunused-but-set-variable] 1390 | const char *pointer_color = NULL; | ^~~~~~~~~~~~~ src/gwx.c:1384:14: warning: variable 'foreground_color' set but not used [-Wunused-but-set-variable] 1384 | const char *foreground_color = NULL; | ^~~~~~~~~~~~~~~~ src/gwx.c:1383:14: warning: variable 'background_color' set but not used [-Wunused-but-set-variable] 1383 | const char *background_color = NULL; | ^~~~~~~~~~~~~~~~ src/gwx.c: In function 'GWContextNew': src/gwx.c:334:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:3752:11: note: in expansion of macro 'STRISEMPTY' 3752 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:41: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:3752:11: note: in expansion of macro 'STRISEMPTY' 3752 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:3773:11: note: in expansion of macro 'STRISEMPTY' 3773 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:41: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:3773:11: note: in expansion of macro 'STRISEMPTY' 3773 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c: In function 'GWContextDelete': src/gwx.c:3947:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3947 | (u_int32_t)glx_context | ^ src/gwx.c: In function 'GWDrawCharacter': src/gwx.c:5634:21: warning: variable 'line_spacing' set but not used [-Wunused-but-set-variable] 5634 | int width_spacing, line_spacing; /* In pixels */ | ^~~~~~~~~~~~ src/gwx.c: In function 'GWVidModesGet': src/gwx.c:4762:9: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] 4762 | *n = j; | ~~~^~~ gcc -o build/sfmsimforce.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sfmsimforce.c src/sfmsimforce.c: In function 'SFMForceApplyNatural': src/sfmsimforce.c:664:10: warning: variable 'prev_angle' set but not used [-Wunused-but-set-variable] 664 | double prev_angle; | ^~~~~~~~~~ src/sfmsimforce.c: In function 'SFMForceApplyArtificial': src/sfmsimforce.c:1116:42: warning: variable 'cos_bank' set but not used [-Wunused-but-set-variable] 1116 | double sin_pitch, cos_pitch, sin_bank, cos_bank; | ^~~~~~~~ src/sfmsimforce.c:990:20: warning: variable 'djc' set but not used [-Wunused-but-set-variable] 990 | double dic = 0.0, djc = 0.0, dkc = 0.0; | ^~~ src/sfmsimforce.c:990:9: warning: variable 'dic' set but not used [-Wunused-but-set-variable] 990 | double dic = 0.0, djc = 0.0, dkc = 0.0; | ^~~ gcc -o build/simsurface.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/simsurface.c gcc -o build/v3dhf.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/v3dhf.c gcc -o build/cpinsaltimeter.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cpinsaltimeter.c src/cpinsaltimeter.c: In function 'CPInsAltimeterNew': src/cpinsaltimeter.c:91:18: warning: variable 'insv' set but not used [-Wunused-but-set-variable] 91 | CPInsAltimeter *insv; | ^~~~ src/cpinsaltimeter.c: In function 'CPInsAltimeterValuesChanged': src/cpinsaltimeter.c:128:6: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] 128 | int cstate; | ^~~~~~ gcc -o build/horizon.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/horizon.c gcc -o build/scenesound.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/scenesound.c gcc -o build/sarsimbegin.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarsimbegin.c In file included from /usr/include/stdio.h:872, from src/sarsimbegin.c:17: In function 'sprintf', inlined from 'SARSimBeginMission' at src/sarsimbegin.c:243:6: /usr/include/bits/stdio2.h:38:10: warning: '%s' directive argument is null [-Wformat-overflow=] 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/playerstatio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/playerstatio.c gcc -o build/sarmusic.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarmusic.c In file included from /usr/include/string.h:504, from src/sarmusic.c:18: In function 'strncpy', inlined from 'SARMusicUpdate' at src/sarmusic.c:399:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'SARMusicUpdate' at src/sarmusic.c:399:7: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'SARMusicUpdate' at src/sarmusic.c:298:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'SARMusicUpdate' at src/sarmusic.c:298:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/sarmenuop.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarmenuop.c gcc -o build/weather.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/weather.c gcc -o build/cmdmemory.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cmdmemory.c gcc -o build/messages.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/messages.c gcc -o build/main.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/main.c src/main.c: In function 'SARKeyBoardCB': src/main.c:719:41: warning: variable 'shift_key_state' set but not used [-Wunused-but-set-variable] 719 | Boolean alt_key_state, ctrl_key_state, shift_key_state; | ^~~~~~~~~~~~~~~ src/main.c:719:10: warning: variable 'alt_key_state' set but not used [-Wunused-but-set-variable] 719 | Boolean alt_key_state, ctrl_key_state, shift_key_state; | ^~~~~~~~~~~~~ src/main.c: In function 'SARResetTimmersCB': src/main.c:1043:27: warning: variable 'obj_human_ptr' set but not used [-Wunused-but-set-variable] 1043 | sar_object_human_struct *obj_human_ptr; | ^~~~~~~~~~~~~ src/main.c:1042:28: warning: variable 'obj_ground_ptr' set but not used [-Wunused-but-set-variable] 1042 | sar_object_ground_struct *obj_ground_ptr; | ^~~~~~~~~~~~~~ src/main.c: In function 'SARInit': src/main.c:2210:64: warning: '%s' directive writing up to 4095 bytes into a region of size 965 [-Wformat-overflow=] 2210 | "Local data files for this program have been\ninstalled in:\n\n%s", | ^~ 2211 | dname.local_data | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:872, from src/main.c:17: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 60 and 4155 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/main.c:2192:39: warning: '%s' directive writing up to 4095 bytes into a region of size 988 [-Wformat-overflow=] 2192 | "Cannot install local data files to:\n%s", | ^~ 2193 | dname.local_data | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:872, from src/main.c:17: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 37 and 4132 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/simop.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/simop.c src/simop.c: In function 'SARSimApplyArtificialForce': src/simop.c:1967:29: warning: variable 'vel' set but not used [-Wunused-but-set-variable] 1967 | sar_position_struct *pos, *vel; | ^~~ src/simop.c:1965:23: warning: variable 'is_player' set but not used [-Wunused-but-set-variable] 1965 | char ear_in_cockpit, is_player; | ^~~~~~~~~ src/simop.c:1962:9: warning: variable 'air_worthy_state' set but not used [-Wunused-but-set-variable] 1962 | int i, air_worthy_state; | ^~~~~~~~~~~~~~~~ src/simop.c: In function 'SARSimApplyGCTL': src/simop.c:2941:3: warning: variable 'throttle_output' set but not used [-Wunused-but-set-variable] 2941 | throttle_output = 0.0f, | ^~~~~~~~~~~~~~~ src/simop.c:2929:35: warning: variable 'cb' set but not used [-Wunused-but-set-variable] 2929 | const sar_contact_bounds_struct *cb; | ^~ gcc -o build/gwx_dialog.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/gwx_dialog.c src/gwx_dialog.c: In function 'GWXDialogCreate': src/gwx_dialog.c:1004:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] 1004 | int len; | ^~~ src/gwx_dialog.c: In function 'GWXDialogLoadIcon': src/gwx_dialog.c:1208:15: warning: variable 'btn_height' set but not used [-Wunused-but-set-variable] 1208 | unsigned int btn_height = 0; | ^~~~~~~~~~ src/gwx_dialog.c: In function 'GWXDialogDraw': src/gwx_dialog.c:1522:30: warning: variable 'margin' set but not used [-Wunused-but-set-variable] 1522 | unsigned int width, height, margin; | ^~~~~~ gcc -o build/sarsimend.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarsimend.c src/sarsimend.c: In function 'SARSimEndMissionTabulate': src/sarsimend.c:68:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] 68 | int player_obj_num; | ^~~~~~~~~~~~~~ src/sarsimend.c:64:14: warning: variable 'name' set but not used [-Wunused-but-set-variable] 64 | const char *name; | ^~~~ gcc -o build/sartime.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sartime.c gcc -o build/missionio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/missionio.c src/missionio.c: In function 'SARMissionGetInterceptNameFromScene': src/missionio.c:131:26: warning: variable 'p_rotate' set but not used [-Wunused-but-set-variable] 131 | sar_parm_rotate_struct *p_rotate; | ^~~~~~~~ src/missionio.c: In function 'SARMissionLoadSceneMapToMenuMapMarkings': src/missionio.c:412:31: warning: variable 'p_object_name' set but not used [-Wunused-but-set-variable] 412 | sar_parm_object_name_struct *p_object_name; | ^~~~~~~~~~~~~ src/missionio.c:411:26: warning: variable 'p_rotate' set but not used [-Wunused-but-set-variable] 411 | sar_parm_rotate_struct *p_rotate; | ^~~~~~~~ src/missionio.c:409:34: warning: variable 'p_new_premodeled' set but not used [-Wunused-but-set-variable] 409 | sar_parm_new_premodeled_struct *p_new_premodeled; | ^~~~~~~~~~~~~~~~ src/missionio.c:408:29: warning: variable 'p_new_human' set but not used [-Wunused-but-set-variable] 408 | sar_parm_new_human_struct *p_new_human; | ^~~~~~~~~~~ src/missionio.c:407:30: warning: variable 'p_new_runway' set but not used [-Wunused-but-set-variable] 407 | sar_parm_new_runway_struct *p_new_runway; | ^~~~~~~~~~~~ src/missionio.c:406:31: warning: variable 'p_new_helipad' set but not used [-Wunused-but-set-variable] 406 | sar_parm_new_helipad_struct *p_new_helipad; | ^~~~~~~~~~~~~ src/missionio.c:405:30: warning: variable 'p_new_object' set but not used [-Wunused-but-set-variable] 405 | sar_parm_new_object_struct *p_new_object; | ^~~~~~~~~~~~ src/missionio.c: In function 'SARMissionLoadSceneToMenuMap': src/missionio.c:739:6: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] 739 | int map_num = -1; | ^~~~~~~ src/missionio.c: In function 'SARMissionLoadMissionLogToMenuMap': src/missionio.c:1151:6: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] 1151 | int map_num = -1; | ^~~~~~~ src/missionio.c: In function 'SARMissionLoadFromFile': src/missionio.c:1497:26: warning: variable 'obj_fire_ptr' set but not used [-Wunused-but-set-variable] 1497 | sar_object_fire_struct *obj_fire_ptr = NULL; | ^~~~~~~~~~~~ src/missionio.c:1496:27: warning: variable 'obj_smoke_ptr' set but not used [-Wunused-but-set-variable] 1496 | sar_object_smoke_struct *obj_smoke_ptr = NULL; | ^~~~~~~~~~~~~ src/missionio.c:1493:29: warning: variable 'obj_helipad_ptr' set but not used [-Wunused-but-set-variable] 1493 | sar_object_helipad_struct *obj_helipad_ptr = NULL; | ^~~~~~~~~~~~~~~ src/missionio.c:1492:28: warning: variable 'obj_ground_ptr' set but not used [-Wunused-but-set-variable] 1492 | sar_object_ground_struct *obj_ground_ptr = NULL; | ^~~~~~~~~~~~~~ src/missionio.c:1471:33: warning: variable 'p_no_depth_test' set but not used [-Wunused-but-set-variable] 1471 | sar_parm_no_depth_test_struct *p_no_depth_test; | ^~~~~~~~~~~~~~~ src/missionio.c:1448:42: warning: variable 'p_texture_base_directory' set but not used [-Wunused-but-set-variable] 1448 | sar_parm_texture_base_directory_struct *p_texture_base_directory; | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/sardrawpm_building.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawpm_building.c gcc -o build/human.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/human.c gcc -o build/simutils.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/simutils.c src/simutils.c: In function 'SARSimUpdatePart': src/simutils.c:603:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] 603 | sar_grad_anim_t prev_pos; | ^~~~~~~~ src/simutils.c:623:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] 623 | sar_grad_anim_t prev_pos; | ^~~~~~~~ src/simutils.c:682:19: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] 682 | sar_grad_anim_t prev_pos; | ^~~~~~~~ gcc -o build/texturelistio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/texturelistio.c gcc -o build/x3d.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/x3d.c src/x3d.c: In function 'X3DOpenDataGLOutput': src/x3d.c:283:12: warning: variable 'texture_on' set but not used [-Wunused-but-set-variable] 283 | GLboolean texture_on = GL_FALSE; | ^~~~~~~~~~ gcc -o build/sardrawpm_ptt.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawpm_ptt.c gcc -o build/sardrawmessages.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawmessages.c src/sardrawmessages.c: In function 'SARDrawHelp': src/sardrawmessages.c:69:32: warning: variable 'xmax' set but not used [-Wunused-but-set-variable] 69 | int line_num, xc, yc, x0, y0, xmax, ymax, fw, fh; | ^~~~ gcc -o build/v3dgl.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/v3dgl.c src/v3dgl.c: In function 'V3DGLResourceNewFromModelData': src/v3dgl.c:202:14: warning: variable 'texture_base_dir' set but not used [-Wunused-but-set-variable] 202 | const char *texture_base_dir; | ^~~~~~~~~~~~~~~~ src/v3dgl.c: In function 'V3DGLProcessModelStandard': src/v3dgl.c:1338:11: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1338 | int status, widthp, heightp; | ^~~~~~ src/v3dgl.c:753:25: warning: variable 'p_texture_off' set but not used [-Wunused-but-set-variable] 753 | mp_texture_off_struct *p_texture_off; | ^~~~~~~~~~~~~ src/v3dgl.c:752:31: warning: variable 'p_texture_orient_xz' set but not used [-Wunused-but-set-variable] 752 | mp_texture_orient_xz_struct *p_texture_orient_xz; | ^~~~~~~~~~~~~~~~~~~ src/v3dgl.c:751:31: warning: variable 'p_texture_orient_yz' set but not used [-Wunused-but-set-variable] 751 | mp_texture_orient_yz_struct *p_texture_orient_yz; | ^~~~~~~~~~~~~~~~~~~ src/v3dgl.c:750:31: warning: variable 'p_texture_orient_xy' set but not used [-Wunused-but-set-variable] 750 | mp_texture_orient_xy_struct *p_texture_orient_xy; | ^~~~~~~~~~~~~~~~~~~ src/v3dgl.c:737:22: warning: variable 'p_unrotate' set but not used [-Wunused-but-set-variable] 737 | mp_unrotate_struct *p_unrotate; | ^~~~~~~~~~ src/v3dgl.c:735:25: warning: variable 'p_untranslate' set but not used [-Wunused-but-set-variable] 735 | mp_untranslate_struct *p_untranslate; | ^~~~~~~~~~~~~ src/v3dgl.c:729:14: warning: variable 'texture_base_dir' set but not used [-Wunused-but-set-variable] 729 | const char *texture_base_dir = NULL; | ^~~~~~~~~~~~~~~~ src/v3dgl.c:720:6: warning: variable 'unitlize_normals' set but not used [-Wunused-but-set-variable] 720 | int unitlize_normals = TRUE; | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:504, from src/v3dgl.c:19: In function 'strncpy', inlined from 'V3DGLProcessModelStandard' at src/v3dgl.c:1361:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'V3DGLProcessModelStandard' at src/v3dgl.c:1353:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'V3DGLProcessModelStandard' at src/v3dgl.c:1346:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'V3DGLResourceNewFromModelData' at src/v3dgl.c:252:21: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/cmdsmoke.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cmdsmoke.c gcc -o build/objsound.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/objsound.c gcc -o build/sarmenuoptions.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarmenuoptions.c src/sarmenuoptions.c: In function 'SARMenuOptionsSoundInfoRefresh': src/sarmenuoptions.c:1461:30: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 1461 | const sar_option_struct *opt; | ^~~ src/sarmenuoptions.c: In function 'SARMenuOptionsFetch': src/sarmenuoptions.c:1727:18: warning: unused variable 'priority' [-Wunused-variable] 1727 | int connection, priority; | ^~~~~~~~ src/sarmenuoptions.c:1727:6: warning: unused variable 'connection' [-Wunused-variable] 1727 | int connection, priority; | ^~~~~~~~~~ src/sarmenuoptions.c: In function 'SARMenuOptionsSwitchCB': src/sarmenuoptions.c:2156:24: warning: variable 'display' set but not used [-Wunused-but-set-variable] 2156 | gw_display_struct *display; | ^~~~~~~ src/sarmenuoptions.c: In function 'SARMenuOptionsSliderCB': src/sarmenuoptions.c:2783:24: warning: variable 'display' set but not used [-Wunused-but-set-variable] 2783 | gw_display_struct *display; | ^~~~~~~ gcc -o build/sarcamp.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarcamp.c src/sarcamp.c: In function 'Get_Location_Name': src/sarcamp.c:349:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 349 | if (! my_string) | ^~ src/sarcamp.c:352:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 352 | switch (location) | ^~~~~~ gcc -o build/v3dmh.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/v3dmh.c gcc -o build/cmdtime.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cmdtime.c gcc -o build/mission.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/mission.c src/mission.c: In function 'SARMissionDoObjectiveSuccess': src/mission.c:470:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] 470 | int player_obj_num; | ^~~~~~~~~~~~~~ src/mission.c: In function 'SARMissionDestroyNotify': src/mission.c:644:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] 644 | int player_obj_num; | ^~~~~~~~~~~~~~ src/mission.c: In function 'SARMissionObjectiveManage': src/mission.c:1138:6: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] 1138 | int player_obj_num; | ^~~~~~~~~~~~~~ gcc -o build/menumap.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/menumap.c src/menumap.c: In function 'SARMenuMapMatchMarkingPosition': src/menumap.c:144:15: warning: variable 'map_yp_max' set but not used [-Wunused-but-set-variable] 144 | map_xp_max, map_yp_max; | ^~~~~~~~~~ src/menumap.c:144:3: warning: variable 'map_xp_max' set but not used [-Wunused-but-set-variable] 144 | map_xp_max, map_yp_max; | ^~~~~~~~~~ src/menumap.c: In function 'SARMenuMapManagePointer': src/menumap.c:896:52: warning: variable 'scroll_y_max' set but not used [-Wunused-but-set-variable] 896 | int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; | ^~~~~~~~~~~~ src/menumap.c:896:38: warning: variable 'scroll_x_max' set but not used [-Wunused-but-set-variable] 896 | int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; | ^~~~~~~~~~~~ src/menumap.c:896:24: warning: variable 'scroll_y_min' set but not used [-Wunused-but-set-variable] 896 | int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; | ^~~~~~~~~~~~ src/menumap.c:896:10: warning: variable 'scroll_x_min' set but not used [-Wunused-but-set-variable] 896 | int scroll_x_min, scroll_y_min, scroll_x_max, scroll_y_max; | ^~~~~~~~~~~~ gcc -o build/v3dmp.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/v3dmp.c src/v3dmp.c: In function 'V3DMPDestroy': src/v3dmp.c:844:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 844 | list = (GLuint)heightfield_load->gl_list; | ^ gcc -o build/textinput.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/textinput.c src/textinput.c: In function 'SARTextInputHandleKey': src/textinput.c:294:10: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable] 294 | Boolean ctrl, shift; | ^~~~ gcc -o build/sound.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sound.c src/sound.c: In function 'SoundInit': src/sound.c:121:30: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 121 | const sar_option_struct *opt; | ^~~ gcc -o build/sardrawpm_controltower.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawpm_controltower.c gcc -o build/sardrawrunway.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawrunway.c gcc -o build/objutils.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/objutils.c src/objutils.c: In function 'SARVisualModelNewList': src/objutils.c:843:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 843 | list = (GLuint)vmodel->data; | ^ src/objutils.c:860:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 860 | vmodel->data = (void *)list; | ^ src/objutils.c:862:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 862 | return((void *)list); | ^ src/objutils.c: In function 'SARVisualModelCallList': src/objutils.c:960:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 960 | GLuint list = (vmodel != NULL) ? (GLuint)vmodel->data : 0; | ^ src/objutils.c: In function 'SARVisualModelDelete': src/objutils.c:988:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 988 | list = (GLuint)vmodel->data; | ^ src/objutils.c: In function 'SARCloudLayerNew': src/objutils.c:1068:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1068 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ gcc -o build/weatherio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/weatherio.c gcc -o build/simmanage.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/simmanage.c src/simmanage.c: In function 'SARSimUpdateScene': src/simmanage.c:158:6: warning: variable 'prev_tod_code' set but not used [-Wunused-but-set-variable] 158 | int prev_tod_code, new_tod_code; | ^~~~~~~~~~~~~ gcc -o build/menu.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/menu.c src/menu.c: In function 'SARMenuObjectDelete': src/menu.c:2411:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2411 | GLuint list = (GLuint)objview->obj_list; | ^ src/menu.c: In function 'SARMenuDoDrawObject': src/menu.c:3258:28: warning: variable 'y_max' set but not used [-Wunused-but-set-variable] 3258 | int x_min, x_max, y_min, y_max; | ^~~~~ src/menu.c:3258:14: warning: variable 'x_max' set but not used [-Wunused-but-set-variable] 3258 | int x_min, x_max, y_min, y_max; | ^~~~~ src/menu.c:3410:36: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] 3410 | lines_visable, columns_visable, scroll_width; | ^~~~~~~~~~~~ src/menu.c: In function 'SARMenuManagePointer': src/menu.c:4659:17: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] 4659 | total_lines, scroll_width; | ^~~~~~~~~~~~ src/menu.c: In function 'SARMenuManageKey': src/menu.c:5735:19: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] 5735 | lines_visable, scroll_width; | ^~~~~~~~~~~~ In file included from /usr/include/string.h:504, from src/menu.c:18: In function 'strncpy', inlined from 'SARMenuDoDrawObject' at src/menu.c:3629:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/matrixmath.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/matrixmath.c gcc -o build/cmdoption.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cmdoption.c gcc -o build/optionio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/optionio.c gcc -o build/sardrawpm_tower.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawpm_tower.c gcc -o build/cpins.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cpins.c src/cpins.c: In function 'CPInsNew': src/cpins.c:560:45: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 560 | "CPInsNew(): Error: Instrument \"%s\" size %i is less than required size %i.\n", | ~^ | | | int | %li 561 | name, s, sizeof(CPIns) | ~ | | | size_t {aka long unsigned int} src/cpins.c:560:75: warning: format '%i' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] 560 | "CPInsNew(): Error: Instrument \"%s\" size %i is less than required size %i.\n", | ~^ | | | int | %li 561 | name, s, sizeof(CPIns) | ~~~~~~~~~~~~~ | | | long unsigned int gcc -o build/sarmenubuild.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarmenubuild.c src/sarmenubuild.c: In function 'SARBuildMenus': src/sarmenubuild.c:763:15: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] 763 | slider_num, map_num; | ^~~~~~~ src/sarmenubuild.c:762:36: warning: variable 'switch_num' set but not used [-Wunused-but-set-variable] 762 | int label_num, btn_num, list_num, switch_num, spin_num, | ^~~~~~~~~~ src/sarmenubuild.c:762:17: warning: variable 'btn_num' set but not used [-Wunused-but-set-variable] 762 | int label_num, btn_num, list_num, switch_num, spin_num, | ^~~~~~~ gcc -o build/sarmemory.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarmemory.c gcc -o build/sarfioopen.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarfioopen.c gcc -o build/sardrawutils.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawutils.c gcc -o build/objio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/objio.c src/objio.c: In function 'SARObjLoadPostLoadCheck': src/objio.c:621:28: warning: variable 'ground' set but not used [-Wunused-but-set-variable] 621 | sar_object_ground_struct *ground; | ^~~~~~ src/objio.c: In function 'SARObjLoadX3DDataVisualModel': src/objio.c:749:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 749 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c: In function 'SARObjLoadTextVisualModel': src/objio.c:794:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 794 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c: In function 'SARObjLoadHeightField': src/objio.c:1805:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1805 | (void *)list, /* GL display list */ | ^ src/objio.c: In function 'SARObjLoadProcessVisualModel': src/objio.c:2207:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2207 | GLuint list = (GLuint)vmodel->data; | ^ src/objio.c:2265:37: warning: variable 'mp_heightfield_load' set but not used [-Wunused-but-set-variable] 2265 | const mp_heightfield_load_struct *mp_heightfield_load; | ^~~~~~~~~~~~~~~~~~~ src/objio.c:2259:35: warning: variable 'mp_comment' set but not used [-Wunused-but-set-variable] 2259 | const mp_comment_struct *mp_comment; | ^~~~~~~~~~ src/objio.c: In function 'SARObjLoadFromFile': src/objio.c:4886:40: warning: variable 'mh_color_spec' set but not used [-Wunused-but-set-variable] 4886 | const mh_color_specification_struct *mh_color_spec; | ^~~~~~~~~~~~~ src/objio.c:4884:43: warning: variable 'mh_tbd' set but not used [-Wunused-but-set-variable] 4884 | const mh_texture_base_directory_struct *mh_tbd; | ^~~~~~ src/objio.c:4883:28: warning: variable 'mh_comment' set but not used [-Wunused-but-set-variable] 4883 | const mh_comment_struct *mh_comment; | ^~~~~~~~~~ src/objio.c:5388:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5388 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c:5435:38: warning: variable 'mp_heightfield_load' set but not used [-Wunused-but-set-variable] 5435 | const mp_heightfield_load_struct *mp_heightfield_load; | ^~~~~~~~~~~~~~~~~~~ src/objio.c:5478:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5478 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c:4706:23: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 4706 | sar_position_struct *pos; | ^~~ src/objio.c:4705:24: warning: variable 'dir' set but not used [-Wunused-but-set-variable] 4705 | sar_direction_struct *dir; | ^~~ gcc -o build/fire.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/fire.c gcc -o build/cmd.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cmd.c gcc -o build/sarmenucb.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarmenucb.c src/sarmenucb.c: In function 'SARMenuCBBeginFreeFlight': src/sarmenucb.c:250:24: warning: variable 'spin_ptr' set but not used [-Wunused-but-set-variable] 250 | sar_menu_spin_struct *spin_ptr; | ^~~~~~~~ src/sarmenucb.c: In function 'SARMenuCBMapOp': src/sarmenucb.c:421:17: warning: variable 'scroll_y_max' set but not used [-Wunused-but-set-variable] 421 | scroll_y_min, scroll_y_max; | ^~~~~~~~~~~~ src/sarmenucb.c:421:3: warning: variable 'scroll_y_min' set but not used [-Wunused-but-set-variable] 421 | scroll_y_min, scroll_y_max; | ^~~~~~~~~~~~ src/sarmenucb.c:420:17: warning: variable 'scroll_x_max' set but not used [-Wunused-but-set-variable] 420 | scroll_x_min, scroll_x_max, | ^~~~~~~~~~~~ src/sarmenucb.c:420:3: warning: variable 'scroll_x_min' set but not used [-Wunused-but-set-variable] 420 | scroll_x_min, scroll_x_max, | ^~~~~~~~~~~~ src/sarmenucb.c: In function 'SARMenuCBPlayerEditCB': src/sarmenucb.c:79:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 79 | #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/sarmenucb.c:685:6: note: in expansion of macro 'ISSTREMPTY' 685 | if(!ISSTREMPTY(v)) | ^~~~~~~~~~ src/sarmenucb.c:79:41: note: did you mean to dereference the pointer? 79 | #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/sarmenucb.c:685:6: note: in expansion of macro 'ISSTREMPTY' 685 | if(!ISSTREMPTY(v)) | ^~~~~~~~~~ src/sarmenucb.c: In function 'SARMenuListActivateCB': src/sarmenucb.c:1283:21: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 1283 | sar_option_struct *opt; | ^~~ src/sarmenucb.c:1278:21: warning: variable 'display' set but not used [-Wunused-but-set-variable] 1278 | gw_display_struct *display; | ^~~~~~~ gcc -o build/sardraw.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardraw.c src/sardraw.c: In function 'SARDrawSceneFoundations': src/sardraw.c:4715:8: warning: variable 'fovx' set but not used [-Wunused-but-set-variable] 4715 | float fovx, fovz; /* Field of view x and z, in radians */ | ^~~~ src/sardraw.c: In function 'SARDrawSceneHorizon': src/sardraw.c:5205:12: warning: variable 'n_theta' set but not used [-Wunused-but-set-variable] 5205 | float n_theta; | ^~~~~~~ src/sardraw.c: In function 'SARDraw': src/sardraw.c:5740:23: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 5740 | sar_object_struct ***ptr, *obj_ptr; | ^~~ src/sardraw.c:5733:13: warning: variable 'total' set but not used [-Wunused-but-set-variable] 5733 | int i, n, *total; | ^~~~~ gcc -o build/cp.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cp.c gcc -o build/sardrawhuman.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawhuman.c gcc -o build/sarutils.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarutils.c gcc -o build/text3d.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/text3d.c gcc -o build/sceneio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sceneio.c src/sceneio.c: In function 'SARSceneLoadFromFile': src/sceneio.c:1160:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1160 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ src/sceneio.c:1207:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1207 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ src/sceneio.c:505:30: warning: variable 'p_passengers' set but not used [-Wunused-but-set-variable] 505 | sar_parm_passengers_struct *p_passengers; | ^~~~~~~~~~~~ src/sceneio.c:501:42: warning: variable 'p_object_map_description' set but not used [-Wunused-but-set-variable] 501 | sar_parm_object_map_description_struct *p_object_map_description; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/sceneio.c:494:33: warning: variable 'p_no_depth_test' set but not used [-Wunused-but-set-variable] 494 | sar_parm_no_depth_test_struct *p_no_depth_test; | ^~~~~~~~~~~~~~~ src/sceneio.c:492:36: warning: variable 'p_translate_random' set but not used [-Wunused-but-set-variable] 492 | sar_parm_translate_random_struct *p_translate_random; | ^~~~~~~~~~~~~~~~~~ src/sceneio.c:479:42: warning: variable 'p_texture_base_directory' set but not used [-Wunused-but-set-variable] 479 | sar_parm_texture_base_directory_struct *p_texture_base_directory; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/sceneio.c:474:29: warning: variable 'p_scene_map' set but not used [-Wunused-but-set-variable] 474 | sar_parm_scene_map_struct *p_scene_map; | ^~~~~~~~~~~ src/sceneio.c:472:37: warning: variable 'p_register_location' set but not used [-Wunused-but-set-variable] 472 | sar_parm_register_location_struct *p_register_location; | ^~~~~~~~~~~~~~~~~~~ src/sceneio.c:471:27: warning: variable 'p_weather' set but not used [-Wunused-but-set-variable] 471 | sar_parm_weather_struct *p_weather; | ^~~~~~~~~ src/sceneio.c:470:37: warning: variable 'p_player_model_file' set but not used [-Wunused-but-set-variable] 470 | sar_parm_player_model_file_struct *p_player_model_file; | ^~~~~~~~~~~~~~~~~~~ src/sceneio.c:469:31: warning: variable 'p_description' set but not used [-Wunused-but-set-variable] 469 | sar_parm_description_struct *p_description; | ^~~~~~~~~~~~~ src/sceneio.c:468:24: warning: variable 'p_name' set but not used [-Wunused-but-set-variable] 468 | sar_parm_name_struct *p_name; | ^~~~~~ src/sceneio.c:463:26: warning: variable 'obj_fire_ptr' set but not used [-Wunused-but-set-variable] 463 | sar_object_fire_struct *obj_fire_ptr = NULL; | ^~~~~~~~~~~~ src/sceneio.c:462:27: warning: variable 'obj_smoke_ptr' set but not used [-Wunused-but-set-variable] 462 | sar_object_smoke_struct *obj_smoke_ptr = NULL; | ^~~~~~~~~~~~~ src/sceneio.c:459:29: warning: variable 'obj_helipad_ptr' set but not used [-Wunused-but-set-variable] 459 | sar_object_helipad_struct *obj_helipad_ptr = NULL; | ^~~~~~~~~~~~~~~ gcc -o build/sarscreenshot.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarscreenshot.c src/sarscreenshot.c: In function 'SARScreenShotRect': src/sarscreenshot.c:276:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] 276 | int status; | ^~~~~~ gcc -o build/image.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/image.c gcc -o build/sardrawselect.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawselect.c gcc -o build/sfmmodel.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sfmmodel.c gcc -o build/cmdset.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cmdset.c gcc -o build/smoke.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/smoke.c gcc -o build/sardrawpm_radiotower.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawpm_radiotower.c gcc -o build/musiclistio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/musiclistio.c gcc -o build/v3dtex.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/v3dtex.c src/v3dtex.c: In function 'V3DTextureSelectFrame': src/v3dtex.c:287:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 287 | gl_texture_id = (GLuint)(t->data[frame_num]); | ^ src/v3dtex.c: In function 'V3DTextureLoadFromFile2D': src/v3dtex.c:675:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 675 | t->data[i] = (void *)gl_texture_id; | ^ src/v3dtex.c:357:19: warning: variable 'ptrend8' set but not used [-Wunused-but-set-variable] 357 | u_int8_t *ptr8, *ptrend8; | ^~~~~~~ src/v3dtex.c: In function 'V3DTextureLoadFromFile2DPreempt': src/v3dtex.c:999:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 999 | t->data[i] = (void *)gl_texture_id; | ^ src/v3dtex.c:721:19: warning: variable 'ptrend8' set but not used [-Wunused-but-set-variable] 721 | u_int8_t *ptr8, *ptrend8; | ^~~~~~~ src/v3dtex.c: In function 'V3DTextureLoadFromData1D': src/v3dtex.c:1055:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1055 | (unsigned int)data | ^ src/v3dtex.c:1091:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1091 | (unsigned int)data | ^ src/v3dtex.c:1169:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1169 | t->data[i] = (void *)gl_texture_id; | ^ src/v3dtex.c: In function 'V3DTextureLoadFromData2D': src/v3dtex.c:1226:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1226 | (unsigned int)data | ^ src/v3dtex.c:1231:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1231 | (unsigned int)data | ^ src/v3dtex.c:1335:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1335 | (unsigned int)cur_data_ptr | ^ src/v3dtex.c:1410:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1410 | t->data[i] = (void *)gl_texture_id; | ^ src/v3dtex.c: In function 'V3DTexturePriority': src/v3dtex.c:1465:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1465 | tex_id_list[0] = (GLuint)t->data[i]; | ^ src/v3dtex.c: In function 'V3DTextureDestroy': src/v3dtex.c:1494:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1494 | gl_texture_id = (GLuint)(t->data[i]); | ^ gcc -o build/cmdfire.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cmdfire.c gcc -o build/sarfiosave.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sarfiosave.c gcc -o build/sardrawhelipad.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/sardrawhelipad.c gcc -o build/objiopremodeled.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/objiopremodeled.c gcc -o build/cpfio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/cpfio.c g++ -o build/tga.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/tga.cpp src/tga.cpp: In function 'int TgaReadHeaderFromData(const u_int8_t*, tga_data_struct*)': src/tga.cpp:494:48: warning: variable 'data_colormap' set but not used [-Wunused-but-set-variable] 494 | const u_int8_t *data_header, *data_id_field, *data_colormap, | ^~~~~~~~~~~~~ src/tga.cpp: In function 'int TgaReadFromFile(const char*, tga_data_struct*, unsigned int)': src/tga.cpp:730:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] 730 | int pix_total, colum_count, row_count; | ^~~~~~~~~ src/tga.cpp: In function 'int TgaReadFromData(const u_int8_t*, tga_data_struct*, unsigned int)': src/tga.cpp:1330:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] 1330 | int pix_total, colum_count, row_count; | ^~~~~~~~~ src/tga.cpp: In function 'int TgaReadPartialFromFile(tga_data_struct*, unsigned int, unsigned int)': src/tga.cpp:2029:6: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] 2029 | int pix_total; | ^~~~~~~~~ g++ -o build/string.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/string.cpp src/string.cpp: In function 'void straddflag(char*, const char*, char, int)': src/string.cpp:714:13: warning: variable 'flag_len' set but not used [-Wunused-but-set-variable] 714 | int s_len, flag_len; | ^~~~~~~~ src/string.cpp: In function 'char* StringGetNetArgument(const char*)': src/string.cpp:1439:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1439 | return(""); | ^ src/string.cpp:1453:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1453 | return(""); | ^ src/string.cpp: In function 'char* StringCurrentTimeFormat(const char*)': src/string.cpp:1476:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1476 | return(""); | ^ src/string.cpp:1478:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1478 | return(""); | ^ src/string.cpp:1484:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1484 | return(""); | ^ g++ -o build/strexp.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/strexp.cpp g++ -o build/gww.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/gww.cpp g++ -o build/disk.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/disk.cpp src/disk.cpp: In function 'char* PrefixPaths(const char*, const char*)': src/disk.cpp:1036:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1036 | return("/"); | ^ In file included from /usr/include/string.h:504, from src/disk.cpp:19: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'char* ChangeDirRel(const char*, const char*)' at src/disk.cpp:886:9: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/disk.cpp: In function 'char* ChangeDirRel(const char*, const char*)': src/disk.cpp:97:47: note: length computed here 97 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ src/disk.cpp:881:8: note: in expansion of macro 'STRLEN' 881 | len = STRLEN(strptr); | ^~~~~~ In file included from /usr/include/string.h:504, from src/disk.cpp:19: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'char* ChangeDirRel(const char*, const char*)' at src/disk.cpp:866:13: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/disk.cpp: In function 'char* ChangeDirRel(const char*, const char*)': src/disk.cpp:97:47: note: length computed here 97 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ src/disk.cpp:861:12: note: in expansion of macro 'STRLEN' 861 | len = STRLEN(npath); | ^~~~~~ In file included from /usr/include/string.h:504, from src/disk.cpp:19: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'char* ChangeDirRel(const char*, const char*)' at src/disk.cpp:852:13: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/disk.cpp: In function 'char* ChangeDirRel(const char*, const char*)': src/disk.cpp:97:47: note: length computed here 97 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ src/disk.cpp:847:12: note: in expansion of macro 'STRLEN' 847 | len = STRLEN(cpath); | ^~~~~~ In file included from /usr/include/string.h:504, from src/disk.cpp:19: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'char* ChangeDirRel(const char*, const char*)' at src/disk.cpp:798:13: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/disk.cpp: In function 'char* ChangeDirRel(const char*, const char*)': src/disk.cpp:97:47: note: length computed here 97 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ src/disk.cpp:793:12: note: in expansion of macro 'STRLEN' 793 | len = STRLEN(cpath); | ^~~~~~ g++ -o build/tgadither.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/tgadither.cpp g++ -o build/fio.o -c -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE src/fio.cpp g++ -o bin/sar2 build/v3dfio.o build/gctl.o build/sarfio.o build/sfm.o build/explosion.o build/cpinsbearing.o build/sfmmath.o build/cmdclean.o build/simcb.o build/sarinstall.o build/simcontact.o build/sarsplash.o build/cpinshorizon.o build/sarkey.o build/stategl.o build/v3dmodel.o build/sarmenumanage.o build/sardrawpm.o build/menuobjview.o build/humanio.o build/gwx.o build/sfmsimforce.o build/simsurface.o build/v3dhf.o build/cpinsaltimeter.o build/horizon.o build/scenesound.o build/sarsimbegin.o build/playerstatio.o build/sarmusic.o build/sarmenuop.o build/weather.o build/cmdmemory.o build/messages.o build/main.o build/simop.o build/gwx_dialog.o build/sarsimend.o build/sartime.o build/missionio.o build/sardrawpm_building.o build/human.o build/simutils.o build/texturelistio.o build/x3d.o build/sardrawpm_ptt.o build/sardrawmessages.o build/v3dgl.o build/cmdsmoke.o build/objsound.o build/sarmenuoptions.o build/sarcamp.o build/v3dmh.o build/cmdtime.o build/mission.o build/menumap.o build/v3dmp.o build/textinput.o build/sound.o build/sardrawpm_controltower.o build/sardrawrunway.o build/objutils.o build/weatherio.o build/simmanage.o build/menu.o build/matrixmath.o build/cmdoption.o build/optionio.o build/sardrawpm_tower.o build/cpins.o build/sarmenubuild.o build/sarmemory.o build/sarfioopen.o build/sardrawutils.o build/objio.o build/fire.o build/cmd.o build/sarmenucb.o build/sardraw.o build/cp.o build/sardrawhuman.o build/sarutils.o build/text3d.o build/sceneio.o build/sarscreenshot.o build/image.o build/sardrawselect.o build/sfmmodel.o build/cmdset.o build/smoke.o build/sardrawpm_radiotower.o build/musiclistio.o build/v3dtex.o build/cmdfire.o build/sarfiosave.o build/sardrawhelipad.o build/objiopremodeled.o build/cpfio.o build/tga.o build/string.o build/strexp.o build/gww.o build/disk.o build/tgadither.o build/fio.o -lm -lSDL2 -lSM -lICE -lX11 -lXext -lXmu -lXpm -lXxf86vm -lGL -lGLU -lpthread -lalut -lvorbisfile -lopenal scons: done building targets. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aBtpiw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64 + cd sar2-2.4.3 + mkdir -p /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/sar2 + mkdir -p /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/man/man6 + mkdir -p /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/icons/hicolor/48x48/ + mkdir -p /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/pixmaps/ + cp -ar data/aircrafts data/automobiles data/control_panels data/human.ini data/images data/missions data/music data/music.ini data/objects data/scenery data/sounds data/textures data/textures.ini data/vessels data/weather.ini /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/sar2/ + cp -a man/sar2.6.bz2 /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/man/man6 + cp -a bin/sar2 /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/bin + cp -a extra/sar2.xpm /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/icons/hicolor/48x48/ + cp -a src/icons/SearchAndRescue.xpm /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/pixmaps/ + pushd /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/pixmaps/ ~/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/pixmaps ~/build/BUILD/sar2-2.4.3 + ln -s ../icons/hicolor/48x48/sar2.xpm sar2.xpm + popd ~/build/BUILD/sar2-2.4.3 + desktop-file-install --dir=/builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/applications extra/sar2.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.4.3-1.fc33 --unique-debug-suffix -2.4.3-1.fc33.riscv64 --unique-debug-src-base sar2-2.4.3-1.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sar2-2.4.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/bin/sar2 extracting debug info from /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/bin/sar2 original debug info size: 4512kB, size after compression: 3372kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 7006 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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: sar2-2.4.3-1.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OQAoru + umask 022 + cd /builddir/build/BUILD + cd sar2-2.4.3 + DOCDIR=/builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/doc/sar2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/doc/sar2 + cp -pr AUTHORS /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/doc/sar2 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/doc/sar2 + cp -pr HACKING /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/doc/sar2 + cp -pr LICENSE /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/doc/sar2 + cp -pr README.md /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64/usr/share/doc/sar2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(sar2.desktop) sar2 = 2.4.3-1.fc33 sar2(riscv-64) = 2.4.3-1.fc33 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) libGL.so.1()(64bit) libGLU.so.1()(64bit) libICE.so.6()(64bit) libSDL2-2.0.so.0()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXxf86vm.so.1()(64bit) libalut.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libopenal.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: sar2-debugsource-2.4.3-1.fc33.riscv64 Provides: sar2-debugsource = 2.4.3-1.fc33 sar2-debugsource(riscv-64) = 2.4.3-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sar2-debuginfo-2.4.3-1.fc33.riscv64 Provides: debuginfo(build-id) = bd96cd2b8a9f07cba7f00996d3aacdfb24029eda sar2-debuginfo = 2.4.3-1.fc33 sar2-debuginfo(riscv-64) = 2.4.3-1.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sar2-debugsource(riscv-64) = 2.4.3-1.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64 Wrote: /builddir/build/RPMS/sar2-debuginfo-2.4.3-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sar2-debugsource-2.4.3-1.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/sar2-2.4.3-1.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3p1QCw + umask 022 + cd /builddir/build/BUILD + cd sar2-2.4.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sar2-2.4.3-1.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0