Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sar2.spec'], chrootPath='/var/lib/mock/f37-build-674476-75878/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/sar2-2.5.0-6.fc37.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/f37-build-674476-75878/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': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mAQ9mx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sar2-2.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sar2-2.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RWTFUD + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sar2-2.5.0 + scons '--optflags=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o build/v3dfio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/v3dfio.c src/v3dfio.c: In function 'V3DLoadModel': src/v3dfio.c:505:32: 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:29: warning: variable 'mp_unrotate' set but not used [-Wunused-but-set-variable] 489 | mp_unrotate_struct *mp_unrotate = NULL; | ^~~~~~~~~~~ src/v3dfio.c:487:32: 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:32: 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:29: warning: variable 'mp_unrotate' set but not used [-Wunused-but-set-variable] 3154 | mp_unrotate_struct *mp_unrotate = NULL; | ^~~~~~~~~~~ src/v3dfio.c:3152:32: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarfio.c src/sarfio.c: In function 'SARParmDelete': src/sarfio.c:348:57: warning: variable 'p_runway_approach_lighting_south' set but not used [-Wunused-but-set-variable] 348 | sar_parm_runway_approach_lighting_south_struct *p_runway_approach_lighting_south; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sarfio.c:347:57: warning: variable 'p_runway_approach_lighting_north' set but not used [-Wunused-but-set-variable] 347 | sar_parm_runway_approach_lighting_north_struct *p_runway_approach_lighting_north; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sarfio.c:341:36: warning: variable 'p_new_smoke' set but not used [-Wunused-but-set-variable] 341 | sar_parm_new_smoke_struct *p_new_smoke; | ^~~~~~~~~~~ src/sarfio.c:340:35: warning: variable 'p_new_fire' set but not used [-Wunused-but-set-variable] 340 | sar_parm_new_fire_struct *p_new_fire; | ^~~~~~~~~~ src/sarfio.c:330:47: warning: variable 'p_mission_begin_at_pos' set but not used [-Wunused-but-set-variable] 330 | sar_parm_mission_begin_at_pos_struct *p_mission_begin_at_pos; | ^~~~~~~~~~~~~~~~~~~~~~ src/sarfio.c:328:48: warning: variable 'p_mission_new_objective' set but not used [-Wunused-but-set-variable] 328 | sar_parm_mission_new_objective_struct *p_mission_new_objective; | ^~~~~~~~~~~~~~~~~~~~~~~ src/sarfio.c:321:31: warning: variable 'p_wind' set but not used [-Wunused-but-set-variable] 321 | sar_parm_wind_struct *p_wind; | ^~~~~~ gcc -o build/sfm.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sfm.c gcc -o build/explosion.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/explosion.c gcc -o build/cpinsbearing.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cpinsbearing.c src/cpinsbearing.c: In function 'CPInsBearingValuesChanged': src/cpinsbearing.c:132:13: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] 132 | int cstate; | ^~~~~~ gcc -o build/sfmmath.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sfmmath.c gcc -o build/cmdclean.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cmdclean.c gcc -o build/simcb.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/simcb.c src/simcb.c: In function 'SARSimTouchDownCB': src/simcb.c:819:32: warning: variable 'explosion_obj_ptr' set but not used [-Wunused-but-set-variable] 819 | sar_object_struct *explosion_obj_ptr = NULL; | ^~~~~~~~~~~~~~~~~ src/simcb.c:234:21: warning: variable 'crash_flags' set but not used [-Wunused-but-set-variable] 234 | sar_obj_flags_t crash_flags = 0; | ^~~~~~~~~~~ src/simcb.c:232:17: warning: variable 'distance_to_camera' set but not used [-Wunused-but-set-variable] 232 | float distance_to_camera, | ^~~~~~~~~~~~~~~~~~ src/simcb.c: In function 'SARSimObjectCollisionCB': src/simcb.c:1204:14: warning: variable 'distance_to_camera' set but not used [-Wunused-but-set-variable] 1204 | float r, distance_to_camera; | ^~~~~~~~~~~~~~~~~~ gcc -o build/sarinstall.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarinstall.c gcc -o build/simcontact.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/simcontact.c gcc -o build/sarsplash.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarsplash.c gcc -o build/cpinshorizon.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cpinshorizon.c src/cpinshorizon.c: In function 'CPInsHorizonValuesChanged': src/cpinshorizon.c:347:33: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarkey.c gcc -o build/stategl.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/stategl.c gcc -o build/v3dmodel.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/v3dmodel.c gcc -o build/sarmenumanage.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarmenumanage.c gcc -o build/sardrawpm.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawpm.c gcc -o build/menuobjview.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/menuobjview.c src/menuobjview.c: In function 'SARMenuObjViewLoad': src/menuobjview.c:913:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 913 | list = (GLuint)ov_ptr->obj_list; | ^ src/menuobjview.c:1012:28: 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:16: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/humanio.c gcc -o build/gwx.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/gwx.c src/gwx.c: In function 'GWGetCharacterFromKeyCode': src/gwx.c:796:9: 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:13: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 810 | keysym = XKeycodeToKeysym( | ^~~~~~ /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ src/gwx.c:827:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 827 | return((int)(keytable[i + 1])); | ^ src/gwx.c: In function 'GWCreateWindow': src/gwx.c:334:47: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:1321:17: note: in expansion of macro 'STRISEMPTY' 1321 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:43: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:1321:17: note: in expansion of macro 'STRISEMPTY' 1321 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c: In function 'GWInit': src/gwx.c:1390:21: warning: variable 'pointer_color' set but not used [-Wunused-but-set-variable] 1390 | const char *pointer_color = NULL; | ^~~~~~~~~~~~~ src/gwx.c:1384:21: warning: variable 'foreground_color' set but not used [-Wunused-but-set-variable] 1384 | const char *foreground_color = NULL; | ^~~~~~~~~~~~~~~~ src/gwx.c:1383:21: 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:47: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:3752:25: note: in expansion of macro 'STRISEMPTY' 3752 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:43: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:3752:25: note: in expansion of macro 'STRISEMPTY' 3752 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:47: warning: comparison between pointer and zero character constant [-Wpointer-compare] 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/gwx.c:3773:25: note: in expansion of macro 'STRISEMPTY' 3773 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c:334:43: note: did you mean to dereference the pointer? 334 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/gwx.c:3773:25: note: in expansion of macro 'STRISEMPTY' 3773 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ src/gwx.c: In function 'GWContextDelete': src/gwx.c:3947:21: 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:28: warning: variable 'line_spacing' set but not used [-Wunused-but-set-variable] 5634 | int width_spacing, line_spacing; /* In pixels */ | ^~~~~~~~~~~~ src/gwx.c: At top level: src/gwx.c:914:13: warning: 'GWGrabPointer' defined but not used [-Wunused-function] 914 | static void GWGrabPointer( | ^~~~~~~~~~~~~ gcc -o build/sfmsimforce.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sfmsimforce.c src/sfmsimforce.c: In function 'SFMForceApplyNatural': src/sfmsimforce.c:680:24: warning: variable 'prev_angle' set but not used [-Wunused-but-set-variable] 680 | double prev_angle; | ^~~~~~~~~~ src/sfmsimforce.c:980:39: warning: 'surfaces.z' may be used uninitialized [-Wmaybe-uninitialized] 980 | SFMPositionStruct rel_wind, area, surfaces, drag, accel; | ^~~~~~~~ In function 'SFMForceApplyAirDrag', inlined from 'SFMForceApplyNatural' at src/sfmsimforce.c:463:5: src/sfmsimforce.c:1062:28: warning: 'surfaces.y' may be used uninitialized [-Wmaybe-uninitialized] 1062 | surfaces.y += model->air_brakes_area; | ^~ src/sfmsimforce.c: In function 'SFMForceApplyNatural': src/sfmsimforce.c:980:39: note: 'surfaces.y' was declared here 980 | SFMPositionStruct rel_wind, area, surfaces, drag, accel; | ^~~~~~~~ In function 'SFMForceApplyAirDrag', inlined from 'SFMForceApplyNatural' at src/sfmsimforce.c:463:5: src/sfmsimforce.c:1072:51: warning: 'surfaces.x' may be used uninitialized [-Wmaybe-uninitialized] 1072 | area.x = ABS(cos(dir->bank)) * surfaces.x + ABS(sin(dir->bank)) * surfaces.z; | ^ src/sfmsimforce.c: In function 'SFMForceApplyNatural': src/sfmsimforce.c:980:39: note: 'surfaces.x' was declared here 980 | SFMPositionStruct rel_wind, area, surfaces, drag, accel; | ^~~~~~~~ gcc -o build/simsurface.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/simsurface.c gcc -o build/v3dhf.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/v3dhf.c gcc -o build/cpinsaltimeter.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cpinsaltimeter.c src/cpinsaltimeter.c: In function 'CPInsAltimeterNew': src/cpinsaltimeter.c:91:25: warning: variable 'insv' set but not used [-Wunused-but-set-variable] 91 | CPInsAltimeter *insv; | ^~~~ src/cpinsaltimeter.c: In function 'CPInsAltimeterValuesChanged': src/cpinsaltimeter.c:128:13: warning: variable 'cstate' set but not used [-Wunused-but-set-variable] 128 | int cstate; | ^~~~~~ gcc -o build/horizon.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/horizon.c gcc -o build/scenesound.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/scenesound.c gcc -o build/sarsimbegin.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarsimbegin.c src/sarsimbegin.c: In function 'SARSimBeginMission': src/sarsimbegin.c:245:18: warning: '%s' directive argument is null [-Wformat-overflow=] 245 | "%s took off at %s", | ^~ gcc -o build/playerstatio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/playerstatio.c gcc -o build/sarmusic.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarmusic.c src/sarmusic.c: In function 'SARMusicUpdate': src/sarmusic.c:253:4: warning: 'strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 253 | strncpy(tmp_path, cstrptr, PATH_MAX + NAME_MAX); \ | ^~~~~~~ src/sarmusic.c:264:5: warning: 'strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 264 | strncpy(tmp_path, cstrptr, PATH_MAX + NAME_MAX); \ | ^~~~~~~ src/sarmusic.c:253:4: warning: 'strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 253 | strncpy(tmp_path, cstrptr, PATH_MAX + NAME_MAX); \ | ^~~~~~~ src/sarmusic.c:264:5: warning: 'strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 264 | strncpy(tmp_path, cstrptr, PATH_MAX + NAME_MAX); \ | ^~~~~~~ gcc -o build/sarmenuop.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarmenuop.c gcc -o build/weather.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/weather.c gcc -o build/cmdmemory.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cmdmemory.c gcc -o build/messages.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/messages.c gcc -o build/main.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/main.c src/main.c: In function 'SARKeyBoardCB': src/main.c:721:48: warning: variable 'shift_key_state' set but not used [-Wunused-but-set-variable] 721 | Boolean alt_key_state, ctrl_key_state, shift_key_state; | ^~~~~~~~~~~~~~~ src/main.c:721:17: warning: variable 'alt_key_state' set but not used [-Wunused-but-set-variable] 721 | Boolean alt_key_state, ctrl_key_state, shift_key_state; | ^~~~~~~~~~~~~ src/main.c: In function 'SARResetTimmersCB': src/main.c:1045:34: warning: variable 'obj_human_ptr' set but not used [-Wunused-but-set-variable] 1045 | sar_object_human_struct *obj_human_ptr; | ^~~~~~~~~~~~~ src/main.c:1044:35: warning: variable 'obj_ground_ptr' set but not used [-Wunused-but-set-variable] 1044 | sar_object_ground_struct *obj_ground_ptr; | ^~~~~~~~~~~~~~ src/main.c: In function 'SARInit': src/main.c:1961:17: warning: array subscript 11 is outside array bounds of 'char *[11]' [-Warray-bounds] 1961 | strv[n + 0] = STRDUP("--display"); | ~~~~^~~~~~~ src/main.c:1960:29: note: at offset 88 into object of size 88 allocated by 'realloc' 1960 | strv = (char **)realloc(strv, strc * sizeof(char *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/main.c:1962:17: warning: array subscript 12 is outside array bounds of 'char *[11]' [-Warray-bounds] 1962 | strv[n + 1] = STRDUP(display_address); | ~~~~^~~~~~~ src/main.c:1960:29: note: at offset 96 into object of size 88 allocated by 'realloc' 1960 | strv = (char **)realloc(strv, strc * sizeof(char *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/main.c:2213:64: warning: '%s' directive writing up to 4095 bytes into a region of size 965 [-Wformat-overflow=] 2213 | "Local data files for this program have been\ninstalled in:\n\n%s", | ^~ 2214 | dname.local_data | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from src/main.c:17: In function 'sprintf', inlined from 'SARInit' at src/main.c:2212:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 60 and 4155 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/main.c: In function 'SARInit': src/main.c:2195:39: warning: '%s' directive writing up to 4095 bytes into a region of size 988 [-Wformat-overflow=] 2195 | "Cannot install local data files to:\n%s", | ^~ 2196 | dname.local_data | ~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'SARInit' at src/main.c:2194:6: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 37 and 4132 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -o build/simop.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/simop.c src/simop.c: In function 'SARSimApplyArtificialForce': src/simop.c:1932:36: warning: variable 'vel' set but not used [-Wunused-but-set-variable] 1932 | sar_position_struct *pos, *vel; | ^~~ src/simop.c:1930:30: warning: variable 'is_player' set but not used [-Wunused-but-set-variable] 1930 | char ear_in_cockpit, is_player; | ^~~~~~~~~ src/simop.c:1927:16: warning: variable 'air_worthy_state' set but not used [-Wunused-but-set-variable] 1927 | int i, air_worthy_state; | ^~~~~~~~~~~~~~~~ src/simop.c: In function 'SARSimApplyGCTL': src/simop.c:2907:17: warning: variable 'throttle_output' set but not used [-Wunused-but-set-variable] 2907 | throttle_output = 0.0f, | ^~~~~~~~~~~~~~~ src/simop.c:2895:42: warning: variable 'cb' set but not used [-Wunused-but-set-variable] 2895 | const sar_contact_bounds_struct *cb; | ^~ gcc -o build/gwx_dialog.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/gwx_dialog.c src/gwx_dialog.c: In function 'GWXDialogCreate': src/gwx_dialog.c:1004:13: 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:22: 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:37: warning: variable 'margin' set but not used [-Wunused-but-set-variable] 1522 | unsigned int width, height, margin; | ^~~~~~ gcc -o build/sarsimend.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarsimend.c src/sarsimend.c: In function 'SARSimEndMissionTabulate': src/sarsimend.c:68:13: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] 68 | int player_obj_num; | ^~~~~~~~~~~~~~ src/sarsimend.c:64:21: warning: variable 'name' set but not used [-Wunused-but-set-variable] 64 | const char *name; | ^~~~ gcc -o build/sartime.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sartime.c gcc -o build/missionio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/missionio.c src/missionio.c: In function 'SARMissionGetInterceptNameFromScene': src/missionio.c:131:33: 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:38: 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:33: warning: variable 'p_rotate' set but not used [-Wunused-but-set-variable] 411 | sar_parm_rotate_struct *p_rotate; | ^~~~~~~~ src/missionio.c:409:41: 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:36: 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:37: 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:38: 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:37: 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:13: 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:13: 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:1498:33: warning: variable 'obj_fire_ptr' set but not used [-Wunused-but-set-variable] 1498 | sar_object_fire_struct *obj_fire_ptr = NULL; | ^~~~~~~~~~~~ src/missionio.c:1497:34: warning: variable 'obj_smoke_ptr' set but not used [-Wunused-but-set-variable] 1497 | sar_object_smoke_struct *obj_smoke_ptr = NULL; | ^~~~~~~~~~~~~ src/missionio.c:1494:36: warning: variable 'obj_helipad_ptr' set but not used [-Wunused-but-set-variable] 1494 | sar_object_helipad_struct *obj_helipad_ptr = NULL; | ^~~~~~~~~~~~~~~ src/missionio.c:1493:35: warning: variable 'obj_ground_ptr' set but not used [-Wunused-but-set-variable] 1493 | sar_object_ground_struct *obj_ground_ptr = NULL; | ^~~~~~~~~~~~~~ src/missionio.c:1472:40: warning: variable 'p_no_depth_test' set but not used [-Wunused-but-set-variable] 1472 | sar_parm_no_depth_test_struct *p_no_depth_test; | ^~~~~~~~~~~~~~~ src/missionio.c:1449:49: warning: variable 'p_texture_base_directory' set but not used [-Wunused-but-set-variable] 1449 | sar_parm_texture_base_directory_struct *p_texture_base_directory; | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -o build/sardrawpm_building.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawpm_building.c gcc -o build/human.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/human.c gcc -o build/simutils.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/simutils.c src/simutils.c: In function 'SARSimUpdatePart': src/simutils.c:603:33: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] 603 | sar_grad_anim_t prev_pos; | ^~~~~~~~ src/simutils.c:623:33: warning: variable 'prev_pos' set but not used [-Wunused-but-set-variable] 623 | sar_grad_anim_t prev_pos; | ^~~~~~~~ src/simutils.c:682:33: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/texturelistio.c gcc -o build/x3d.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/x3d.c src/x3d.c: In function 'X3DOpenDataGLOutput': src/x3d.c:283:25: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawpm_ptt.c gcc -o build/sardrawmessages.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawmessages.c src/sardrawmessages.c: In function 'SARDrawHelp': src/sardrawmessages.c:69:39: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/v3dgl.c src/v3dgl.c: In function 'V3DGLResourceNewFromModelData': src/v3dgl.c:202:21: 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:25: warning: variable 'status' set but not used [-Wunused-but-set-variable] 1338 | int status, widthp, heightp; | ^~~~~~ src/v3dgl.c:753:32: 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:38: 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:38: 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:38: 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:29: warning: variable 'p_unrotate' set but not used [-Wunused-but-set-variable] 737 | mp_unrotate_struct *p_unrotate; | ^~~~~~~~~~ src/v3dgl.c:735:32: warning: variable 'p_untranslate' set but not used [-Wunused-but-set-variable] 735 | mp_untranslate_struct *p_untranslate; | ^~~~~~~~~~~~~ src/v3dgl.c:729:21: warning: variable 'texture_base_dir' set but not used [-Wunused-but-set-variable] 729 | const char *texture_base_dir = NULL; | ^~~~~~~~~~~~~~~~ src/v3dgl.c:720:13: warning: variable 'unitlize_normals' set but not used [-Wunused-but-set-variable] 720 | int unitlize_normals = TRUE; | ^~~~~~~~~~~~~~~~ src/v3dgl.c:1361:25: warning: 'strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 1361 | strncpy(tmp_path, p_heightfield_load->path, PATH_MAX + NAME_MAX); | ^ src/v3dgl.c:1353:25: warning: 'strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 1353 | strncpy( | ^ src/v3dgl.c:1346:25: warning: 'strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 1346 | strncpy(tmp_path, p_heightfield_load->path, PATH_MAX + NAME_MAX); | ^ src/v3dgl.c: In function 'V3DGLResourceNewFromModelData': src/v3dgl.c:252:21: warning: 'strncpy' specified bound 4351 equals destination size [-Wstringop-truncation] 252 | strncpy(tmp_path,cstrptr,PATH_MAX + NAME_MAX); | ^ gcc -o build/cmdsmoke.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cmdsmoke.c gcc -o build/objsound.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/objsound.c gcc -o build/sarmenuoptions.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection 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:1734:25: warning: unused variable 'priority' [-Wunused-variable] 1734 | int connection, priority; | ^~~~~~~~ src/sarmenuoptions.c:1734:13: warning: unused variable 'connection' [-Wunused-variable] 1734 | int connection, priority; | ^~~~~~~~~~ src/sarmenuoptions.c: In function 'SARMenuOptionsSwitchCB': src/sarmenuoptions.c:2163:24: warning: variable 'display' set but not used [-Wunused-but-set-variable] 2163 | gw_display_struct *display; | ^~~~~~~ src/sarmenuoptions.c: In function 'SARMenuOptionsSliderCB': src/sarmenuoptions.c:2794:24: warning: variable 'display' set but not used [-Wunused-but-set-variable] 2794 | gw_display_struct *display; | ^~~~~~~ gcc -o build/sarcamp.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/v3dmh.c gcc -o build/cmdtime.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cmdtime.c gcc -o build/mission.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/mission.c src/mission.c: In function 'SARMissionDoObjectiveSuccess': src/mission.c:470:13: 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:13: 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:13: warning: variable 'player_obj_num' set but not used [-Wunused-but-set-variable] 1138 | int player_obj_num; | ^~~~~~~~~~~~~~ gcc -o build/menumap.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/menumap.c src/menumap.c: In function 'SARMenuMapMatchMarkingPosition': src/menumap.c:144:29: warning: variable 'map_yp_max' set but not used [-Wunused-but-set-variable] 144 | map_xp_max, map_yp_max; | ^~~~~~~~~~ src/menumap.c:144:17: 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:59: 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:45: 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:31: 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:17: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/v3dmp.c src/v3dmp.c: In function 'V3DMPDestroy': src/v3dmp.c:844:20: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/textinput.c src/textinput.c: In function 'SARTextInputHandleKey': src/textinput.c:294:17: warning: variable 'ctrl' set but not used [-Wunused-but-set-variable] 294 | Boolean ctrl, shift; | ^~~~ gcc -o build/sound.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawpm_controltower.c gcc -o build/sardrawrunway.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawrunway.c gcc -o build/objutils.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/objutils.c src/objutils.c: In function 'SARVisualModelNewList': src/objutils.c:843:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 843 | list = (GLuint)vmodel->data; | ^ src/objutils.c:860:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 860 | vmodel->data = (void *)list; | ^ src/objutils.c:862:16: 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:42: 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:16: 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:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1068 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ gcc -o build/weatherio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/weatherio.c gcc -o build/simmanage.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/simmanage.c src/simmanage.c: In function 'SARSimUpdateScene': src/simmanage.c:158:13: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/menu.c src/menu.c: In function 'SARMenuObjectDelete': src/menu.c:2411:35: 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:42: 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:28: 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:57: 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:38: 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:40: warning: variable 'scroll_width' set but not used [-Wunused-but-set-variable] 5735 | lines_visable, scroll_width; | ^~~~~~~~~~~~ src/menu.c: In function 'SARMenuDoDrawObject': src/menu.c:3629:17: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 3629 | strncpy(item_name, item->name, item_name_len); | ^ gcc -o build/matrixmath.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/matrixmath.c gcc -o build/cmdoption.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cmdoption.c gcc -o build/optionio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/optionio.c gcc -o build/sardrawpm_tower.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawpm_tower.c gcc -o build/cpins.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarmenubuild.c src/sarmenubuild.c: In function 'SARBuildMenus': src/sarmenubuild.c:763:29: warning: variable 'map_num' set but not used [-Wunused-but-set-variable] 763 | slider_num, map_num; | ^~~~~~~ src/sarmenubuild.c:762:47: 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:28: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarmemory.c gcc -o build/sarfioopen.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarfioopen.c gcc -o build/sardrawutils.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawutils.c gcc -o build/objio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/objio.c src/objio.c: In function 'SARObjLoadPostLoadCheck': src/objio.c:621:35: 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:27: 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:27: 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:17: 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:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2207 | GLuint list = (GLuint)vmodel->data; | ^ src/objio.c:2265:51: 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:42: 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:4913:54: warning: variable 'mh_color_spec' set but not used [-Wunused-but-set-variable] 4913 | const mh_color_specification_struct *mh_color_spec; | ^~~~~~~~~~~~~ src/objio.c:4911:57: warning: variable 'mh_tbd' set but not used [-Wunused-but-set-variable] 4911 | const mh_texture_base_directory_struct *mh_tbd; | ^~~~~~ src/objio.c:4910:42: warning: variable 'mh_comment' set but not used [-Wunused-but-set-variable] 4910 | const mh_comment_struct *mh_comment; | ^~~~~~~~~~ src/objio.c:5415:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5415 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c:5462:59: warning: variable 'mp_heightfield_load' set but not used [-Wunused-but-set-variable] 5462 | const mp_heightfield_load_struct *mp_heightfield_load; | ^~~~~~~~~~~~~~~~~~~ src/objio.c:5505:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5505 | GLuint list = (GLuint)SARVisualModelNewList(vmodel); | ^ src/objio.c:4733:30: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 4733 | sar_position_struct *pos; | ^~~ src/objio.c:4732:31: warning: variable 'dir' set but not used [-Wunused-but-set-variable] 4732 | sar_direction_struct *dir; | ^~~ gcc -o build/fire.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/fire.c gcc -o build/cmd.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cmd.c gcc -o build/sarmenucb.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarmenucb.c src/sarmenucb.c: In function 'SARMenuCBBeginFreeFlight': src/sarmenucb.c:250:31: 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:31: warning: variable 'scroll_y_max' set but not used [-Wunused-but-set-variable] 421 | scroll_y_min, scroll_y_max; | ^~~~~~~~~~~~ src/sarmenucb.c:421:17: warning: variable 'scroll_y_min' set but not used [-Wunused-but-set-variable] 421 | scroll_y_min, scroll_y_max; | ^~~~~~~~~~~~ src/sarmenucb.c:420:31: warning: variable 'scroll_x_max' set but not used [-Wunused-but-set-variable] 420 | scroll_x_min, scroll_x_max, | ^~~~~~~~~~~~ src/sarmenucb.c:420:17: 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:47: warning: comparison between pointer and zero character constant [-Wpointer-compare] 79 | #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ src/sarmenucb.c:685:13: note: in expansion of macro 'ISSTREMPTY' 685 | if(!ISSTREMPTY(v)) | ^~~~~~~~~~ src/sarmenucb.c:79:43: note: did you mean to dereference the pointer? 79 | #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ src/sarmenucb.c:685:13: note: in expansion of macro 'ISSTREMPTY' 685 | if(!ISSTREMPTY(v)) | ^~~~~~~~~~ src/sarmenucb.c: In function 'SARMenuListActivateCB': src/sarmenucb.c:1283:28: warning: variable 'opt' set but not used [-Wunused-but-set-variable] 1283 | sar_option_struct *opt; | ^~~ src/sarmenucb.c:1278:28: warning: variable 'display' set but not used [-Wunused-but-set-variable] 1278 | gw_display_struct *display; | ^~~~~~~ gcc -o build/sardraw.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardraw.c src/sardraw.c: In function 'SARDrawSceneFoundations': src/sardraw.c:4703:15: warning: variable 'fovx' set but not used [-Wunused-but-set-variable] 4703 | float fovx, fovz; /* Field of view x and z, in radians */ | ^~~~ src/sardraw.c: In function 'SARDrawSceneHorizon': src/sardraw.c:5193:19: warning: variable 'n_theta' set but not used [-Wunused-but-set-variable] 5193 | float n_theta; | ^~~~~~~ src/sardraw.c: In function 'SARDraw': src/sardraw.c:5728:30: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 5728 | sar_object_struct ***ptr, *obj_ptr; | ^~~ src/sardraw.c:5721:20: warning: variable 'total' set but not used [-Wunused-but-set-variable] 5721 | int i, n, *total; | ^~~~~ src/sardraw.c:6672:31: warning: 'dir' may be used uninitialized [-Wmaybe-uninitialized] 6672 | if(dir->pitch != 0) | ~~~^~~~~~~ src/sardraw.c:5730:37: note: 'dir' was declared here 5730 | const sar_direction_struct *dir; | ^~~ gcc -o build/cp.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cp.c gcc -o build/sardrawhuman.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawhuman.c gcc -o build/sarutils.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarutils.c gcc -o build/text3d.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/text3d.c gcc -o build/sceneio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sceneio.c src/sceneio.c: In function 'SARSceneLoadFromFile': src/sceneio.c:1163:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1163 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ src/sceneio.c:1210:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1210 | list = (GLuint)SARVisualModelNewList(*vmodel); | ^ src/sceneio.c:506:37: warning: variable 'p_passengers' set but not used [-Wunused-but-set-variable] 506 | sar_parm_passengers_struct *p_passengers; | ^~~~~~~~~~~~ src/sceneio.c:502:49: warning: variable 'p_object_map_description' set but not used [-Wunused-but-set-variable] 502 | sar_parm_object_map_description_struct *p_object_map_description; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/sceneio.c:495:40: warning: variable 'p_no_depth_test' set but not used [-Wunused-but-set-variable] 495 | sar_parm_no_depth_test_struct *p_no_depth_test; | ^~~~~~~~~~~~~~~ src/sceneio.c:493:43: warning: variable 'p_translate_random' set but not used [-Wunused-but-set-variable] 493 | sar_parm_translate_random_struct *p_translate_random; | ^~~~~~~~~~~~~~~~~~ src/sceneio.c:480:49: warning: variable 'p_texture_base_directory' set but not used [-Wunused-but-set-variable] 480 | sar_parm_texture_base_directory_struct *p_texture_base_directory; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/sceneio.c:475:36: warning: variable 'p_scene_map' set but not used [-Wunused-but-set-variable] 475 | sar_parm_scene_map_struct *p_scene_map; | ^~~~~~~~~~~ src/sceneio.c:473:44: warning: variable 'p_register_location' set but not used [-Wunused-but-set-variable] 473 | sar_parm_register_location_struct *p_register_location; | ^~~~~~~~~~~~~~~~~~~ src/sceneio.c:472:31: warning: unused variable 'p_wind' [-Wunused-variable] 472 | sar_parm_wind_struct *p_wind; | ^~~~~~ src/sceneio.c:471:34: warning: variable 'p_weather' set but not used [-Wunused-but-set-variable] 471 | sar_parm_weather_struct *p_weather; | ^~~~~~~~~ src/sceneio.c:470:44: 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:38: warning: variable 'p_description' set but not used [-Wunused-but-set-variable] 469 | sar_parm_description_struct *p_description; | ^~~~~~~~~~~~~ src/sceneio.c:468:31: warning: variable 'p_name' set but not used [-Wunused-but-set-variable] 468 | sar_parm_name_struct *p_name; | ^~~~~~ src/sceneio.c:463:33: 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:34: 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:36: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarscreenshot.c src/sarscreenshot.c: In function 'SARScreenShotRect': src/sarscreenshot.c:276:13: warning: variable 'status' set but not used [-Wunused-but-set-variable] 276 | int status; | ^~~~~~ gcc -o build/image.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/image.c gcc -o build/sardrawselect.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawselect.c gcc -o build/sfmmodel.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sfmmodel.c gcc -o build/cmdset.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cmdset.c gcc -o build/smoke.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/smoke.c gcc -o build/sardrawpm_radiotower.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawpm_radiotower.c gcc -o build/musiclistio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/musiclistio.c gcc -o build/v3dtex.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/v3dtex.c src/v3dtex.c: In function 'V3DTextureSelectFrame': src/v3dtex.c:287:25: 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:26: 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:26: 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:26: 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:26: 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:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1055 | (unsigned int)data | ^ src/v3dtex.c:1091:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1091 | (unsigned int)data | ^ src/v3dtex.c:1169:26: 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:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1226 | (unsigned int)data | ^ src/v3dtex.c:1231:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1231 | (unsigned int)data | ^ src/v3dtex.c:1335:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1335 | (unsigned int)cur_data_ptr | ^ src/v3dtex.c:1410:26: 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:30: 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:29: 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 -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cmdfire.c gcc -o build/sarfiosave.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sarfiosave.c src/sarfiosave.c: In function 'SARParmSaveToFileAnyIterate': src/sarfiosave.c:183:24: warning: format '%f' expects a matching 'double' argument [-Wformat=] 183 | "wind %f %f" | ~^ | | | double src/sarfiosave.c:183:27: warning: format '%f' expects a matching 'double' argument [-Wformat=] 183 | "wind %f %f" | ~^ | | | double gcc -o build/sardrawhelipad.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/sardrawhelipad.c gcc -o build/objiopremodeled.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/objiopremodeled.c gcc -o build/cpfio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/cpfio.c g++ -o build/tga.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/tga.cpp src/tga.cpp: In function 'int TgaReadHeaderFromData(const u_int8_t*, tga_data_struct*)': src/tga.cpp:494:56: 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:13: 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:13: 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:13: warning: variable 'pix_total' set but not used [-Wunused-but-set-variable] 2029 | int pix_total; | ^~~~~~~~~ g++ -o build/string.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/string.cpp src/string.cpp: In function 'void straddflag(char*, const char*, char, int)': src/string.cpp:714:20: 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1439 | return(""); | ~^~~ src/string.cpp:1453:16: 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:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1476 | return(""); | ~^~~ src/string.cpp:1478:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1478 | return(""); | ~^~~ src/string.cpp:1484:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1484 | return(""); | ~^~~ g++ -o build/strexp.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/strexp.cpp In file included from /usr/include/string.h:535, from src/strexp.cpp:17: In function 'strncpy', inlined from 'strchrexp' at src/strexp.cpp:145:10, inlined from 'strchrexp' at src/strexp.cpp:112:8: /usr/include/bits/string_fortified.h:95:34: warning: 'strncpy' destination unchanged after copying no bytes [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o build/gww.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/gww.cpp g++ -o build/disk.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/disk.cpp src/disk.cpp: In function 'char* PrefixPaths(const char*, const char*)': src/disk.cpp:1036:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1036 | return("/"); | ~^~~~ src/disk.cpp: In function 'ChangeDirRel': src/disk.cpp:866:20: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 866 | strncpy(rtn_str, npath, len); | ^ src/disk.cpp:97:53: note: length computed here 97 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ src/disk.cpp:852:20: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 852 | strncpy(rtn_str, cpath, len); | ^ src/disk.cpp:97:53: note: length computed here 97 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ src/disk.cpp:798:20: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 798 | strncpy(rtn_str, cpath, len); | ^ src/disk.cpp:97:53: note: length computed here 97 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ g++ -o build/tgadither.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection src/tgadither.cpp g++ -o build/fio.o -c -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection 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.6dZjJ2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sar2-2.5.0 + mkdir -p /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/sar2 + mkdir -p /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/man/man6 + mkdir -p /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/icons/hicolor/48x48/ + mkdir -p /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.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.5.0-6.fc37.riscv64/usr/share/sar2/ + cp -a man/sar2.6.bz2 /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/man/man6 + cp -a bin/sar2 /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/bin + cp -a extra/sar2.xpm /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/icons/hicolor/48x48/ + cp -a src/icons/SearchAndRescue.xpm /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/pixmaps/ + pushd /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/pixmaps/ ~/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/pixmaps ~/build/BUILD/sar2-2.5.0 + ln -s ../icons/hicolor/48x48/sar2.xpm sar2.xpm + popd ~/build/BUILD/sar2-2.5.0 + desktop-file-install --dir=/builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/applications extra/sar2.desktop + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.5.0-6.fc37 --unique-debug-suffix -2.5.0-6.fc37.riscv64 --unique-debug-src-base sar2-2.5.0-6.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sar2-2.5.0 extracting debug info from /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/bin/sar2 original debug info size: 11512kB, size after compression: 10396kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 7133 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: sar2-2.5.0-6.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mMO8jJ + umask 022 + cd /builddir/build/BUILD + cd sar2-2.5.0 + DOCDIR=/builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/doc/sar2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/doc/sar2 + cp -pr AUTHORS /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/doc/sar2 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/doc/sar2 + cp -pr HACKING /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/doc/sar2 + cp -pr LICENSE /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/doc/sar2 + cp -pr README.md /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64/usr/share/doc/sar2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(sar2.desktop) sar2 = 2.5.0-6.fc37 sar2(riscv-64) = 2.5.0-6.fc37 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libopenal.so.1()(64bit) libstdc++.so.6()(64bit) libvorbisfile.so.3()(64bit) rtld(GNU_HASH) Processing files: sar2-debugsource-2.5.0-6.fc37.riscv64 Provides: sar2-debugsource = 2.5.0-6.fc37 sar2-debugsource(riscv-64) = 2.5.0-6.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sar2-debuginfo-2.5.0-6.fc37.riscv64 Provides: debuginfo(build-id) = 774493dfb46bf83a2087b2decd13823bcad087ab sar2-debuginfo = 2.5.0-6.fc37 sar2-debuginfo(riscv-64) = 2.5.0-6.fc37 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.5.0-6.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64 Wrote: /builddir/build/RPMS/sar2-debuginfo-2.5.0-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/sar2-debugsource-2.5.0-6.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/sar2-2.5.0-6.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.74oHtl + umask 022 + cd /builddir/build/BUILD + cd sar2-2.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sar2-2.5.0-6.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.hl2UjD + umask 022 + cd /builddir/build/BUILD + rm -rf sar2-2.5.0 sar2-2.5.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0