Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/saoimage.spec'], chrootPath='/var/lib/mock/f33-build-207779-48354/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/saoimage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/saoimage-1.35.1-27.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/saoimage.spec'], chrootPath='/var/lib/mock/f33-build-207779-48354/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/saoimage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vgknqN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf saoimage-1.35.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/saoimage-1.35.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd saoimage-1.35.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (saoimage-1.35.1-decls.patch):' Patch #0 (saoimage-1.35.1-decls.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .decls --fuzz=0 patching file btnlib/border.c patching file btnlib/create.c patching file btnlib/draw.c patching file btnlib/event.c patching file btnlib/image.c patching file btnlib/label.c patching file btnlib/mount.c patching file btnlib/resize.c patching file clralloc.c patching file clrctrl.c patching file clrhard.c patching file clrinit.c patching file clrmenu.c patching file clrread.c patching file clrsetup.c patching file clrvary.c patching file cmdnew.c patching file cmdparse1.c patching file cmdparse.c patching file crdinvrt.c patching file crdrot.c patching file crdsynth.c patching file crdtemp.c patching file csrarea.c patching file csrgrab.c patching file csrpoly1.c patching file csrpoly2.c patching file csrpoly3.c patching file csrsave.c patching file csrshape.c patching file csrtext.c patching file ctrlcntn.c patching file ctrlfile.c patching file ctrlgc.c patching file dispblnk.c patching file dispbtmp.c patching file editctrl.c patching file editdraw.c patching file grphbtmp.c patching file grphgrab.c patching file grphinit.c patching file grphmove.c patching file grpholap.c patching file grphtext.c patching file histdist.c patching file histeql.c patching file histlist.c patching file histmap.c patching file histscan.c patching file histzero.c patching file imgcheck.c patching file imglogo.c patching file imgnew.c patching file imgtrans.c patching file irafcrd.c patching file irafimtl.c patching file irafio.c patching file irafpipe.c patching file maininit.c patching file mainkey.c patching file mainslct.c patching file mgfyctrl.c patching file mgfytabl.c patching file mgfyval.c patching file pancrsr.c patching file panimage.c patching file prntcent.c patching file prntcurs.c patching file readarr.c patching file readfith.c patching file readfits0.c patching file rgnanli.c patching file rgnctrl.c patching file rgndraw.c patching file rgndrop.c patching file rgnmake.c patching file rgnwpros.c patching file rgnwrite.c patching file sclctrl.c patching file sclmap.c patching file wndwconf.c patching file wndwinit.c patching file wndwmaus.c Patch #1 (saoimage-1.35.1-pad.patch): + echo 'Patch #1 (saoimage-1.35.1-pad.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pad --fuzz=0 patching file wcssubs/hput.c Patch #2 (saoimage-1.35.1-mkstemp.patch): + echo 'Patch #2 (saoimage-1.35.1-mkstemp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .mkstemp --fuzz=0 patching file disppsct.c Patch #3 (saoimage-1.35.1-inc.patch): + echo 'Patch #3 (saoimage-1.35.1-inc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .inc --fuzz=0 patching file btnlib/attach.c patching file btnlib/border.c patching file btnlib/create.c patching file btnlib/event.c patching file btnlib/image.c patching file btnlib/label.c patching file btnlib/remote.c patching file btnlib/resize.c patching file btnlib/tool/bitmap.c patching file btnlib/tool/wrattach.c patching file btnlib/tool/wrfeel.c patching file btnlib/util.c patching file clralloc.c patching file clrhard.c patching file clrinit.c patching file clrmenu.c patching file clrread.c patching file cmddisp.c patching file cmdimage.c patching file cmdnew.c patching file cmdparse.c patching file crdrot.c patching file crdset.c patching file crdsynth.c patching file crdtemp.c patching file csrcoord.c patching file csrgrab.c patching file csrmove.c patching file csrpoly1.c patching file csrpoly2.c patching file csrsave.c patching file csrshape.c patching file csrtext.c patching file ctrlcntn.c patching file ctrldisk.c patching file ctrlfile.c patching file ctrlgc.c patching file ctrlmbox.c patching file ctrlsckt.c patching file dispblnk.c patching file dispbtmp.c patching file display.c patching file disppsct.c patching file disppxmp.c patching file editctrl.c patching file editinit.c patching file editline.c patching file grphbtmp.c patching file grphgrab.c patching file grphinit.c patching file grphlbl.c patching file histdist.c patching file histeql.c patching file histlist.c patching file histmap.c patching file histzero.c patching file imgcheck.c patching file imgflip.c patching file imgnew.c patching file imgread.c patching file imgrot.c patching file imgtrans.c patching file irafcrd.c patching file irafdisp.c patching file irafenv.c patching file iraffdbk.c patching file irafimtl.c patching file irafio.c patching file irafpipe.c patching file mainbffr.c patching file mainevnt.c patching file maininit.c patching file mainkey.c patching file mainutil.c patching file mgfyctrl.c patching file mgfydraw.c patching file mgfyinit.c patching file mgfytabl.c patching file pancopy.c patching file panctrl.c patching file panimage.c patching file prntcent.c patching file prntcurs.c patching file readarr.c patching file readfith.c patching file readfits0.c patching file readfits.c patching file readint.c patching file readreal.c patching file rgnanli.c patching file rgnctrl.c patching file rgndraw.c patching file rgnmake.c patching file rgnread.c patching file rgntoken.c patching file rgnwpros.c patching file rgnwrite.c patching file rtcmd.c patching file sclctrl.c patching file sclmap.c patching file shfile.c patching file tnxpos.c patching file vms/ghstname.c patching file vms/zfiovi.c patching file wcssubs-3.5.1/tnxpos.c patching file wndwcre.c patching file wndwinit.c Patch #4 (saoimage-1.35.1-bpp.patch): + echo 'Patch #4 (saoimage-1.35.1-bpp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bpp --fuzz=0 patching file wndwinit.c patching file dispblnk.c Patch #5 (saoimage-1.35.1-formatsec.patch): + echo 'Patch #5 (saoimage-1.35.1-formatsec.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .formatsec --fuzz=0 patching file iraffdbk.c patching file mainbffr.c patching file mgfytabl.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HjgdWP + umask 022 + cd /builddir/build/BUILD + cd saoimage-1.35.1 + make 'OFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -j4 linux IMTOOLRC=/etc/imtoolrc make -f makefile.linux saoimage ARCH=linux make[1]: Entering directory '/builddir/build/BUILD/saoimage-1.35.1' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clralloc.o clralloc.c Building btnlib/libbtn.a... cd btnlib; make CFLAGS="-c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD" CC=cc cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clrctrl.o clrctrl.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clrhard.o clrhard.c make[2]: Entering directory '/builddir/build/BUILD/saoimage-1.35.1/btnlib' cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD attach.c clralloc.c: In function 'alloc_colors': clralloc.c:73:2: warning: implicit declaration of function 'init_hard_colors' [-Wimplicit-function-declaration] 73 | init_hard_colors(color, color->colormap); | ^~~~~~~~~~~~~~~~ In file included from attach.c:25: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ attach.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ clralloc.c:74:2: warning: implicit declaration of function 'lookup_cursor_colors' [-Wimplicit-function-declaration] 74 | lookup_cursor_colors(color, color->colormap, 1); | ^~~~~~~~~~~~~~~~~~~~ In file included from clralloc.c:28: At top level: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from clralloc.c:27: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ clralloc.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ clrctrl.c: In function 'reinit_color': clrctrl.c:286:23: warning: comparison between pointer and integer 286 | if( cgraph.graph.ID != NULL ) { | ^~ In file included from clrhard.c:33: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ clrhard.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from clrctrl.c:28: At top level: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from clrctrl.c:26: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from clrctrl.c:26: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from clrctrl.c:26: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from clrctrl.c:26: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from clrctrl.c:26: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from clrctrl.c:26: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from clrctrl.c:26: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from clrctrl.c:26: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from clrctrl.c:25: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ clrctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD draw.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD event.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD border.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clrinit.o clrinit.c In file included from draw.c:33: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ draw.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ border.c:27:22: warning: 'btn_ReverseByte' declared 'static' but never defined [-Wunused-function] 27 | static unsigned char btn_ReverseByte(); | ^~~~~~~~~~~~~~~ border.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ event.c: In function 'btn_Control': event.c:345:42: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Window' {aka 'long unsigned int'} [-Wformat=] 345 | (void)fprintf(stderr, " event window= %x, event type = %x\n", | ~^ | | | unsigned int | %lx 346 | event->xany.window, event->type); | ~~~~~~~~~~~~~~~~~~ | | | Window {aka long unsigned int} In file included from event.c:32: At top level: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ event.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clrmap.o clrmap.c In file included from clrinit.c:28: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from clrinit.c:27: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from clrinit.c:26: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from clrinit.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ clrinit.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clrmenu.o clrmenu.c In file included from clrmenu.c:36: defs/colormap.def:2:13: warning: 'SccsDefId' defined but not used [-Wunused-variable] 2 | static char SccsDefId[] = "%W% %G%"; | ^~~~~~~~~ In file included from clrmenu.c:28: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from clrmenu.c:27: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from clrmenu.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from clrmenu.c:24: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ clrmenu.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from clrmap.c:26: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from clrmap.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ clrmap.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD create.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD label.c label.c: In function 'btn_StencilAlligned': label.c:313:13: warning: type of 'inverse' defaults to 'int' [-Wimplicit-int] 313 | static void btn_StencilAlligned ( src, msk, dst, last_dst, first_mask, | ^~~~~~~~~~~~~~~~~~~ label.c: In function 'btn_StencilAllignedInv': label.c:358:13: warning: type of 'inverse' defaults to 'int' [-Wimplicit-int] 358 | static void btn_StencilAllignedInv ( src, msk, dst, last_dst, first_mask, | ^~~~~~~~~~~~~~~~~~~~~~ At top level: label.c:4:13: warning: 'SccsId' defined but not used [-Wunused-variable] 4 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD image.c In file included from create.c:33: motf.h:2:13: warning: 'SccsMId' defined but not used [-Wunused-variable] 2 | static char SccsMId[] = "%W% %G%"; | ^~~~~~~ In file included from create.c:32: borders.h:2:13: warning: 'SccsDefId' defined but not used [-Wunused-variable] 2 | static char SccsDefId[] = "%W% %G%"; | ^~~~~~~~~ In file included from create.c:29: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ create.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD mount.c In file included from image.c:28: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ image.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from mount.c:27: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ mount.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD press.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD remote.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD resize.c cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD util.c In file included from press.c:24: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ press.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from remote.c:32: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ remote.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from resize.c:25: buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ resize.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ util.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clrread.o clrread.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clrsetup.o clrsetup.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o clrvary.o clrvary.c ar cr libbtn.a attach.o draw.o event.o border.o create.o label.o image.o mount.o press.o remote.o resize.o util.o clrread.c: In function 'parse_color_table': clrread.c:117:15: warning: unused variable 'entry' [-Wunused-variable] 117 | int status, entry; | ^~~~~ clrread.c: In function 'prep_alpha': clrread.c:303:12: warning: type of 'len' defaults to 'int' [-Wimplicit-int] 303 | static int prep_alpha ( line, len ) | ^~~~~~~~~~ In file included from clrread.c:28: At top level: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ clrread.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ rm -f *.o ranlib libbtn.a > /dev/null clrsetup.c: In function 'init_cell_color': clrsetup.c:89:29: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 89 | color->image_plane_mask = AllPlanes; | ^~~~~~~~~ In file included from clrsetup.c:29: At top level: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ clrsetup.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from clrvary.c:27: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from clrvary.c:23: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from clrvary.c:21: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from clrvary.c:21: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from clrvary.c:21: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from clrvary.c:21: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from clrvary.c:21: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from clrvary.c:21: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from clrvary.c:21: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from clrvary.c:21: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from clrvary.c:20: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ clrvary.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/saoimage-1.35.1/btnlib' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o cmddisp.o cmddisp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o cmdimage.o cmdimage.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o cmdnew.o cmdnew.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o cmdparse.o cmdparse.c In file included from cmddisp.c:50: hfiles/magnify.h:2:13: warning: 'SccsMagnifyId' defined but not used [-Wunused-variable] 2 | static char SccsMagnifyId[] = "%W% %G%"; | ^~~~~~~~~~~~~ In file included from cmddisp.c:49: hfiles/cmdparse.h:2:13: warning: 'SccsParseId' defined but not used [-Wunused-variable] 2 | static char SccsParseId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from cmddisp.c:47: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from cmddisp.c:47: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from cmddisp.c:47: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from cmddisp.c:47: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from cmddisp.c:47: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from cmddisp.c:47: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from cmddisp.c:47: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from cmddisp.c:47: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from cmddisp.c:46: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ cmddisp.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from cmdnew.c:46: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from cmdnew.c:45: hfiles/cmdparse.h:2:13: warning: 'SccsParseId' defined but not used [-Wunused-variable] 2 | static char SccsParseId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from cmdnew.c:44: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from cmdnew.c:42: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from cmdnew.c:42: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from cmdnew.c:42: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from cmdnew.c:42: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from cmdnew.c:42: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from cmdnew.c:42: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from cmdnew.c:42: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from cmdnew.c:42: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from cmdnew.c:41: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ cmdnew.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cmdimage.c: In function 'parse_filetype': cmdimage.c:180:10: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 180 | return( usage("array size", argc, argv, i-3, i) ); | ^~~~~ cmdimage.c:66:7: note: previous declaration of 'usage' was here 66 | int usage(); | ^~~~~ cmdparse.c: In function 'parse_etc': cmdparse.c:199:15: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 199 | return( usage("wcscom", argc, argv, i-1, i) ); | ^~~~~ cmdparse.c:62:71: note: previous declaration of 'usage' was here 62 | int parse_rotate(), parse_scale(), parse_color(), parse_fileread(), usage(); | ^~~~~ In file included from cmdimage.c:53: At top level: hfiles/cmdparse.h:2:13: warning: 'SccsParseId' defined but not used [-Wunused-variable] 2 | static char SccsParseId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from cmdimage.c:51: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from cmdimage.c:51: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from cmdimage.c:51: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from cmdimage.c:51: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from cmdimage.c:51: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from cmdimage.c:51: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from cmdimage.c:51: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from cmdimage.c:51: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ cmdparse.c:326:7: warning: implicit declaration of function 'set_region_file' [-Wimplicit-function-declaration] 326 | set_region_file (argv[i]); | ^~~~~~~~~~~~~~~ In file included from cmdimage.c:50: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ cmdimage.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from cmdparse.c:38: At top level: hfiles/cmdparse.h:2:13: warning: 'SccsParseId' defined but not used [-Wunused-variable] 2 | static char SccsParseId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from cmdparse.c:36: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from cmdparse.c:36: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from cmdparse.c:36: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from cmdparse.c:36: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from cmdparse.c:36: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from cmdparse.c:36: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from cmdparse.c:36: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from cmdparse.c:36: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from cmdparse.c:35: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ cmdparse.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o crdinvrt.o crdinvrt.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o crdrot.o crdrot.c In file included from crdinvrt.c:22: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ crdinvrt.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from crdrot.c:26: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ crdrot.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ crdinvrt.c: In function 'lu_decompose.constprop': crdinvrt.c:163:15: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized] 163 | pivots[j] = imax; | ~~~~~~~~~~^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o crdset.o crdset.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o crdsynth.o crdsynth.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o crdtemp.o crdtemp.c In file included from crdset.c:37: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from crdset.c:36: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ crdset.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o crdtrans.o crdtrans.c In file included from crdsynth.c:25: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ crdsynth.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from crdtrans.c:20: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ crdtrans.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ crdtemp.c: In function 'set_dispoff': crdtemp.c:234:3: warning: implicit declaration of function 'd_transform' [-Wimplicit-function-declaration] 234 | d_transform(BAtrans, 0.0, 0.0, &x, &y); | ^~~~~~~~~~~ In file included from crdtemp.c:29: At top level: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ crdtemp.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csranli.o csranli.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrarea.o csrarea.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrcoord.o csrcoord.c In file included from csranli.c:32: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csranli.c:31: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csranli.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrctrl.o csrctrl.c In file included from csrarea.c:22: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrarea.c:21: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrarea.c:20: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrarea.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ csrarea.c: In function 'cursor_area': csrarea.c:39:10: warning: 'area' may be used uninitialized in this function [-Wmaybe-uninitialized] 39 | double area; | ^~~~ csrcoord.c: In function 'report_cursor_info': csrcoord.c:282:30: warning: unused variable 'rad' [-Wunused-variable] 282 | double area, areas, aread, rad, rads, ra0,dec0,ra1,dec1, degpix, secpix; | ^~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrdraw.o csrdraw.c In file included from csrcoord.c:34: At top level: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrcoord.c:33: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrcoord.c:32: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrcoord.c:31: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrcoord.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrgrab.o csrgrab.c In file included from hfiles/struct.h:18, from csrctrl.c:23: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from csrctrl.c:23: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from csrctrl.c:23: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from csrctrl.c:23: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from csrctrl.c:23: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from csrctrl.c:23: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from csrctrl.c:23: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrctrl.c:23: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrctrl.c:22: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ csrctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from csrdraw.c:30: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrdraw.c:29: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrdraw.c:28: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrdraw.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrmove.o csrmove.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrpoly1.o csrpoly1.c In file included from csrgrab.c:27: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from csrgrab.c:26: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrgrab.c:25: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrgrab.c:24: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrgrab.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrpoly2.o csrpoly2.c In file included from csrpoly1.c:28: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from csrpoly1.c:27: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrpoly1.c:26: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrpoly1.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrpoly1.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrpoly3.o csrpoly3.c csrmove.c: In function 'move_cursor': csrmove.c:78:5: warning: implicit declaration of function 'move_textcursor'; did you mean 'move_cursor'? [-Wimplicit-function-declaration] 78 | move_textcursor(dxm, dym); | ^~~~~~~~~~~~~~~ | move_cursor In file included from csrmove.c:32: At top level: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from csrmove.c:31: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrmove.c:30: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrmove.c:29: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrmove.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from csrpoly2.c:33: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrpoly2.c:32: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrpoly2.c:31: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrpoly2.c:30: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrpoly2.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrsave.o csrsave.c csrpoly3.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ csrpoly3.c: In function 'closest_polygon_line': csrpoly3.c:41:7: warning: 'min_endpoint' may be used uninitialized in this function [-Wmaybe-uninitialized] 41 | int min_endpoint, endpoint; | ^~~~~~~~~~~~ csrpoly3.c:57:4: warning: 'min_cosine' may be used uninitialized in this function [-Wmaybe-uninitialized] 57 | if( min_cosine < 0.0 ) | ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrshape.o csrshape.c In file included from csrsave.c:34: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrsave.c:30: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrsave.c:29: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrsave.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrslct.o csrslct.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o csrtext.o csrtext.c csrslct.c: In function 'select_cursor': csrslct.c:55:7: warning: implicit declaration of function 'grab_keys_for_textcursor' [-Wimplicit-function-declaration] 55 | grab_keys_for_textcursor(1); | ^~~~~~~~~~~~~~~~~~~~~~~~ csrslct.c:167:6: warning: implicit declaration of function 'report_cursor_info' [-Wimplicit-function-declaration] 167 | report_cursor_info (&cursor); | ^~~~~~~~~~~~~~~~~~ In file included from hfiles/struct.h:18, from csrslct.c:24: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from csrslct.c:24: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ csrshape.c: In function 'make_sqrcur': csrshape.c:308:7: warning: unused variable 'loop' [-Wunused-variable] 308 | int loop; | ^~~~ csrshape.c: In function 'make_diacur': csrshape.c:344:7: warning: unused variable 'loop' [-Wunused-variable] 344 | int loop; | ^~~~ csrshape.c: In function 'make_crosscur': csrshape.c:380:7: warning: unused variable 'loop' [-Wunused-variable] 380 | int loop; | ^~~~ csrshape.c: In function 'make_excur': csrshape.c:418:7: warning: unused variable 'loop' [-Wunused-variable] 418 | int loop; | ^~~~ In file included from hfiles/struct.h:16, from csrslct.c:24: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from csrslct.c:24: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from csrslct.c:24: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from csrslct.c:24: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ csrshape.c: In function 'make_piecur': In file included from hfiles/struct.h:12, from csrslct.c:24: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ csrshape.c:457:44: warning: unused variable 'b4' [-Wunused-variable] 457 | register int a0, a1, a2, a3, b1, b2, b3, b4; | ^~ In file included from csrslct.c:24: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ csrshape.c:457:40: warning: unused variable 'b3' [-Wunused-variable] 457 | register int a0, a1, a2, a3, b1, b2, b3, b4; | ^~ In file included from csrslct.c:23: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ csrshape.c:457:36: warning: unused variable 'b2' [-Wunused-variable] 457 | register int a0, a1, a2, a3, b1, b2, b3, b4; | ^~ csrslct.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ csrshape.c:457:32: warning: unused variable 'b1' [-Wunused-variable] 457 | register int a0, a1, a2, a3, b1, b2, b3, b4; | ^~ csrshape.c:457:28: warning: unused variable 'a3' [-Wunused-variable] 457 | register int a0, a1, a2, a3, b1, b2, b3, b4; | ^~ csrshape.c:457:24: warning: unused variable 'a2' [-Wunused-variable] 457 | register int a0, a1, a2, a3, b1, b2, b3, b4; | ^~ csrshape.c:457:20: warning: unused variable 'a1' [-Wunused-variable] 457 | register int a0, a1, a2, a3, b1, b2, b3, b4; | ^~ csrshape.c:457:16: warning: unused variable 'a0' [-Wunused-variable] 457 | register int a0, a1, a2, a3, b1, b2, b3, b4; | ^~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o ctrlcntn.o ctrlcntn.c In file included from csrshape.c:30: At top level: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrshape.c:29: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrshape.c:28: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrshape.c:27: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ csrshape.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ csrtext.c: In function 'textcursor_keyentry': csrtext.c:219:7: warning: implicit declaration of function 'ascii_region' [-Wimplicit-function-declaration] 219 | ascii_region(&control.event.xkey, XK_s); | ^~~~~~~~~~~~ csrtext.c:236:5: warning: implicit declaration of function 'disp_dispbox' [-Wimplicit-function-declaration] 236 | disp_dispbox(); | ^~~~~~~~~~~~ csrtext.c:261:8: warning: unused variable 'gc' [-Wunused-variable] 261 | GC gc; | ^~ In file included from csrtext.c:50: At top level: hfiles/region.h:2:13: warning: 'SccsRegionId' defined but not used [-Wunused-variable] 2 | static char SccsRegionId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrtext.c:45: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from csrtext.c:44: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from hfiles/struct.h:18, from csrtext.c:42: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from csrtext.c:42: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from csrtext.c:42: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from csrtext.c:42: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from csrtext.c:42: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from csrtext.c:42: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from csrtext.c:42: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from csrtext.c:42: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from csrtext.c:41: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ csrtext.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o ctrldisk.o ctrldisk.c ctrlcntn.c: In function 'init_select': ctrlcntn.c:449:25: warning: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] 449 | control.select_size = getdtablesize(); | ^~~~~~~~~~~~~ In file included from ctrlcntn.c:30: At top level: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ ctrlcntn.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ ctrldisk.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ ctrlcntn.c: In function 'open_connection': ctrlcntn.c:164:40: warning: 'ipc' may be used uninitialized in this function [-Wmaybe-uninitialized] 164 | connection->mask[3] = (1 << (ipc - 96)); | ~~~~~^~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o ctrlfile.o ctrlfile.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o ctrlgc.o ctrlgc.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o ctrlmbox.o ctrlmbox.c ctrlmbox.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o ctrlpipe.o ctrlpipe.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o ctrlsckt.o ctrlsckt.c In file included from ctrlfile.c:29: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ ctrlfile.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ ctrlgc.c: In function 'get_fontstruct': ctrlgc.c:249:60: warning: comparison between pointer and integer 249 | if( (app_font[app_code] == NULL) && (init_font(app_code) == NULL) ) | ^~ In file included from ctrlgc.c:31: At top level: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from ctrlgc.c:30: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ ctrlgc.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ ctrlpipe.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o dispblnk.o dispblnk.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o dispbtmp.o dispbtmp.c ctrlsckt.c: In function 'open_socket_listener': ctrlsckt.c:89:17: warning: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types] 89 | if( bind(ipc, &net_address, sizeof(net_address)) ) { | ^~~~~~~~~~~~ | | | struct sockaddr_in * In file included from ctrlsckt.c:26: /usr/include/sys/socket.h:112:49: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' 112 | extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) | ^ ctrlsckt.c: In function 'accept_socket_connection': ctrlsckt.c:115:49: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 115 | if( (ipc = accept(listener->fd, &net_address, &address_len)) < 0 ) { | ^~~~~~~~~~~~ | | | int * In file included from ctrlsckt.c:26: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from ctrlsckt.c:38: At top level: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ ctrlsckt.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o dispdfse.o dispdfse.c dispdfse.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o dispdthr.o dispdthr.c dispblnk.c: In function 'save_blink': dispblnk.c:77:29: warning: comparison between pointer and integer 77 | if( blink[index].pixmap != NULL ) { | ^~ dispblnk.c:79:27: warning: assignment to 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 79 | blink[index].pixmap = NULL; | ^ dispblnk.c:84:43: warning: comparison between pointer and integer 84 | dispbox.yheight, dispbox.depth)) == NULL ) | ^~ dispblnk.c:88:27: warning: comparison between pointer and integer 88 | if( blink[index].pixmap != NULL ) { | ^~ dispblnk.c: In function 'free_blink': dispblnk.c:120:25: warning: comparison between pointer and integer 120 | if( blink[i].pixmap != NULL ) { | ^~ dispblnk.c:122:23: warning: assignment to 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 122 | blink[i].pixmap = NULL; | ^ dispblnk.c: In function 'display_blink': dispblnk.c:162:27: warning: comparison between pointer and integer 162 | if( blink[index].pixmap != NULL ) { | ^~ In file included from dispblnk.c:30: At top level: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from dispblnk.c:28: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from dispblnk.c:28: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from dispblnk.c:28: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from dispblnk.c:28: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from dispblnk.c:28: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from dispblnk.c:28: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from dispblnk.c:28: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from dispblnk.c:28: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ dispblnk.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from dispbtmp.c:38: defs/dither.def:2:13: warning: 'SccsDitherId' defined but not used [-Wunused-variable] 2 | static char SccsDitherId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from dispbtmp.c:34: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from dispbtmp.c:32: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from dispbtmp.c:32: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from dispbtmp.c:32: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from dispbtmp.c:32: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from dispbtmp.c:32: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from dispbtmp.c:32: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from dispbtmp.c:32: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from dispbtmp.c:32: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from dispbtmp.c:31: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from dispbtmp.c:30: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ dispbtmp.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ dispdthr.c: In function 'dither_replicate': dispdthr.c:189:10: warning: unused variable 'data_row_end' [-Wunused-variable] 189 | short *data_row_end; /* l: last short in input data row */ | ^~~~~~~~~~~~ At top level: dispdthr.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "@(#)dispdither.c 1.2 8/12/89"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o display.o display.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o disppsct.o disppsct.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o disppxmp.o disppxmp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o editctrl.o editctrl.c disppxmp.c: In function 'map_buf_repzoom': disppxmp.c:199:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 199 | #endif ANSIC | ^~~~~ disppxmp.c:161:29: warning: unused variable 'displaylimit' [-Wunused-variable] 161 | register unsigned char *displaylimit; /* limit comparison pointer */ | ^~~~~~~~~~~~ disppxmp.c:160:29: warning: unused variable 'xreplimit' [-Wunused-variable] 160 | register unsigned char *xreplimit; /* loop comparison pointer */ | ^~~~~~~~~ In file included from disppxmp.c:24: At top level: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ disppxmp.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ display.c: In function 'center_pointer': display.c:54:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 54 | else pointer_centered = 1; return; } | ^~~~ display.c:54:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 54 | else pointer_centered = 1; return; } | ^~~~~~ display.c: In function 'move_pointer': display.c:260:3: warning: implicit declaration of function 'd_transform' [-Wimplicit-function-declaration] 260 | d_transform(&coord.filetodisp, (double)ix, (double)iy, &fx, &fy); | ^~~~~~~~~~~ In file included from display.c:28: At top level: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from display.c:26: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from display.c:26: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from display.c:26: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from display.c:26: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from display.c:26: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from display.c:26: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from display.c:26: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from display.c:26: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from display.c:25: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ display.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from disppsct.c:54: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from disppsct.c:53: hfiles/region.h:2:13: warning: 'SccsRegionId' defined but not used [-Wunused-variable] 2 | static char SccsRegionId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from disppsct.c:51: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from disppsct.c:51: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from disppsct.c:51: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from disppsct.c:51: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from disppsct.c:51: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from disppsct.c:51: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from disppsct.c:51: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from disppsct.c:51: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from disppsct.c:50: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from disppsct.c:49: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ disppsct.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from editctrl.c:41: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from editctrl.c:40: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from editctrl.c:39: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ editctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o editdraw.o editdraw.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o editemcs.o editemcs.c disppsct.c: In function 'screen_dump': disppsct.c:70:19: warning: '%s' directive writing up to 79 bytes into a region of size 76 [-Wformat-overflow=] 70 | #define R_DISPOSE "lpr %s" /* printer dispose command */ | ^~~~~~~~ disppsct.c:351:24: note: in expansion of macro 'R_DISPOSE' 351 | sprintf(dispose, R_DISPOSE, tempfile); | ^~~~~~~~~ disppsct.c:70:24: note: format string is defined here 70 | #define R_DISPOSE "lpr %s" /* printer dispose command */ | ^~ In file included from /usr/include/stdio.h:871, from disppsct.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 84 bytes into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disppsct.c:71:19: warning: '%s' directive writing up to 79 bytes into a region of size 73 [-Wformat-overflow=] 71 | #define P_DISPOSE "lpr -P%s %s" /* dispose to user's printer */ | ^~~~~~~~~~~~~ disppsct.c:349:24: note: in expansion of macro 'P_DISPOSE' 349 | sprintf(dispose, P_DISPOSE, str, tempfile); | ^~~~~~~~~ disppsct.c:71:29: note: format string is defined here 71 | #define P_DISPOSE "lpr -P%s %s" /* dispose to user's printer */ | ^~ In file included from editdraw.c:28: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from /usr/include/stdio.h:871, from disppsct.c:29: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 87) into a destination of size 80 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from editdraw.c:27: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ editdraw.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o editinit.o editinit.c In file included from editemcs.c:23: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ editemcs.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ disppsct.c:392:27: warning: 'ip' may be used uninitialized in this function [-Wmaybe-uninitialized] 392 | register unsigned char *ip; | ^~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o editline.o editline.c In file included from editinit.c:39: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ editinit.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o editrdrw.o editrdrw.c In file included from editline.c:25: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ editline.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphbar.o grphbar.c In file included from editrdrw.c:24: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ editrdrw.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphbtmp.o grphbtmp.c In file included from grphbar.c:18: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ grphbar.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphctrl.o grphctrl.c In file included from grphbtmp.c:26: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from grphbtmp.c:22: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ grphbtmp.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphdraw.o grphdraw.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphgrab.o grphgrab.c In file included from grphctrl.c:33: defs/cgraph.def:13:2: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 13 | NULL, /* Window ID; handle of bar subwindow */ | ^~~~ defs/cgraph.def:13:2: note: (near initialization for 'colorbar.ID') defs/cgraph.def:30:2: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 30 | NULL, /* Font font; font id for XDrawImageString */ | ^~~~ defs/cgraph.def:30:2: note: (near initialization for 'cgraph.font') defs/cgraph.def:37:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 37 | NULL, /* Window ID; handle of bar subwindow */ | ^~~~ defs/cgraph.def:37:4: note: (near initialization for 'cgraph.bar.ID') defs/cgraph.def:48:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 48 | NULL, /* Window min_ID; lowest color (0) subwindow */ | ^~~~ defs/cgraph.def:48:4: note: (near initialization for 'cgraph.barlabel.min_ID') defs/cgraph.def:49:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 49 | NULL, /* Window max_ID; highest color (ncolors-1) subwindow */ | ^~~~ defs/cgraph.def:49:4: note: (near initialization for 'cgraph.barlabel.max_ID') defs/cgraph.def:58:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 58 | NULL, /* Window ID; handle of graph subwindow */ | ^~~~ defs/cgraph.def:58:4: note: (near initialization for 'cgraph.graph.ID') defs/cgraph.def:69:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 69 | NULL, /* Window gamma_ID; window in which to label gamma */ | ^~~~ defs/cgraph.def:69:4: note: (near initialization for 'cgraph.graphlabel.gamma_ID') defs/cgraph.def:70:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 70 | NULL, /* Window minmax_ID; window in which to label min & max */ | ^~~~ defs/cgraph.def:70:4: note: (near initialization for 'cgraph.graphlabel.minmax_ID') defs/cgraph.def:72:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 72 | NULL, /* Window geq_ID; borderless box with "g=" */ | ^~~~ defs/cgraph.def:72:4: note: (near initialization for 'cgraph.graphlabel.geq_ID') defs/cgraph.def:73:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 73 | NULL, /* Window red_ID; red border box for red gamma */ | ^~~~ defs/cgraph.def:73:4: note: (near initialization for 'cgraph.graphlabel.red_ID') defs/cgraph.def:74:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 74 | NULL, /* Window green_ID; green border box for green gamma */ | ^~~~ defs/cgraph.def:74:4: note: (near initialization for 'cgraph.graphlabel.green_ID') defs/cgraph.def:75:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 75 | NULL, /* Window blue_ID; blue border box for blue gamma */ | ^~~~ defs/cgraph.def:75:4: note: (near initialization for 'cgraph.graphlabel.blue_ID') defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphinit.o grphinit.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphlbl.o grphlbl.c defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 234 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } defs/cgraph.def:24:27: warning: missing braces around initializer [-Wmissing-braces] 24 | struct cgraphRec cgraph = { | ^ ...... 142 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 188 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } ...... 234 | { 0 } /* XPoint line[MAXPOINTS]; graph line for this color */ | { } grphctrl.c: In function 'map_graphbox': grphctrl.c:50:21: warning: comparison between pointer and integer 50 | if( graphbox.ID == NULL ) { | ^~ In file included from grphctrl.c:33: At top level: defs/cgraph.def:2:13: warning: 'SccsCgraphdefId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphdefId[] = "%W% %G%"; | ^~~~~~~~~~~~~~~ In file included from grphctrl.c:28: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from grphctrl.c:26: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from grphctrl.c:26: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from grphctrl.c:26: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from grphctrl.c:26: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from grphctrl.c:26: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from grphctrl.c:26: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from grphctrl.c:26: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from grphctrl.c:26: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from grphctrl.c:25: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ grphctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from grphgrab.c:24: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from grphgrab.c:23: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from grphgrab.c:22: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ grphgrab.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from grphdraw.c:28: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from grphdraw.c:27: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ grphdraw.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphline.o grphline.c grphinit.c: In function 'adjust_color_graph': grphinit.c:288:25: warning: comparison between pointer and integer 288 | if( cgraph.graph.ID == NULL ) { | ^~ In file included from grphinit.c:41: At top level: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from grphinit.c:32: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from grphinit.c:32: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from grphinit.c:32: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from grphinit.c:32: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from grphinit.c:32: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from grphinit.c:32: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from grphinit.c:32: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from grphinit.c:32: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ grphinit.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphmove.o grphmove.c In file included from grphlbl.c:31: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from grphlbl.c:29: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from grphlbl.c:29: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from grphlbl.c:29: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from grphlbl.c:29: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from grphlbl.c:29: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from grphlbl.c:29: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from grphlbl.c:29: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from grphlbl.c:29: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from grphlbl.c:28: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ grphlbl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ grphlbl.c: In function 'label_colorbar': grphlbl.c:51:21: warning: '%3d' directive writing between 3 and 10 bytes into a region of size 4 [-Wformat-overflow=] 51 | sprintf(max, "%3d", color.ncolors - 1); | ^~~ grphlbl.c:51:20: note: directive argument in the range [1, 2147483646] 51 | sprintf(max, "%3d", color.ncolors - 1); | ^~~~~ In file included from /usr/include/stdio.h:871, from grphlbl.c:24: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 11 bytes into a destination of size 4 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from grphline.c:26: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from grphline.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ grphline.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ grphlbl.c: In function 'label_gamma': grphlbl.c:108:9: warning: 'gamma' may be used uninitialized in this function [-Wmaybe-uninitialized] 108 | if( color.ctable.green.gamma != gamma ) { | ^ In file included from grphmove.c:23: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from grphmove.c:19: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ grphmove.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grpholap.o grpholap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphpos.o grphpos.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o grphtext.o grphtext.c grphpos.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from grpholap.c:26: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from grpholap.c:22: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ grpholap.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o histdist.o histdist.c grphtext.c: In function 'init_color_graph_label': grphtext.c:50:37: warning: comparison between pointer and integer 50 | if( (cgraph.graphlabel.gamma_ID != NULL) && | ^~ grphtext.c:60:39: warning: comparison between pointer and integer 60 | if( (cgraph.graphlabel.gamma_ID != NULL) && | ^~ grphtext.c:64:31: warning: comparison between pointer and integer 64 | if( cgraph.graphlabel.geq_ID == NULL ) { | ^~ grphtext.c:96:36: warning: comparison between pointer and integer 96 | if( cgraph.graphlabel.gamma_ID == NULL ) { | ^~ grphtext.c:105:37: warning: comparison between pointer and integer 105 | if( (cgraph.graphlabel.gamma_ID != NULL) && | ^~ grphtext.c:115:39: warning: comparison between pointer and integer 115 | if( (cgraph.graphlabel.gamma_ID != NULL) && | ^~ grphtext.c:119:31: warning: comparison between pointer and integer 119 | if( cgraph.graphlabel.geq_ID == NULL ) | ^~ grphtext.c:148:36: warning: comparison between pointer and integer 148 | if( cgraph.graphlabel.gamma_ID == NULL ) { | ^~ grphtext.c: In function 'init_colorbar_label': grphtext.c:207:66: warning: comparison between pointer and integer 207 | if( (cgraph.graphlabel.active == 0) || (cgraph.barlabel.max_ID != NULL) ) | ^~ In file included from grphtext.c:30: At top level: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from grphtext.c:25: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from grphtext.c:25: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from grphtext.c:25: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from grphtext.c:25: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from grphtext.c:25: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from grphtext.c:25: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from grphtext.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from grphtext.c:25: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ grphtext.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from histdist.c:24: hfiles/histeq.h:2:13: warning: 'SccsHistEqId' defined but not used [-Wunused-variable] 2 | static char SccsHistEqId[] = "%W% %G%"; | ^~~~~~~~~~~~ histdist.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o histeql.o histeql.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o histlist.o histlist.c In file included from histeql.c:24: hfiles/histeq.h:2:13: warning: 'SccsHistEqId' defined but not used [-Wunused-variable] 2 | static char SccsHistEqId[] = "%W% %G%"; | ^~~~~~~~~~~~ histeql.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o histmap.o histmap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o histscan.o histscan.c In file included from histscan.c:17: hfiles/histeq.h:2:13: warning: 'SccsHistEqId' defined but not used [-Wunused-variable] 2 | static char SccsHistEqId[] = "%W% %G%"; | ^~~~~~~~~~~~ histscan.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ histlist.c:27:13: warning: 'adjust_list' declared 'static' but never defined [-Wunused-function] 27 | static void adjust_list(); | ^~~~~~~~~~~ In file included from histlist.c:21: hfiles/histeq.h:2:13: warning: 'SccsHistEqId' defined but not used [-Wunused-variable] 2 | static char SccsHistEqId[] = "%W% %G%"; | ^~~~~~~~~~~~ histlist.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o histzero.o histzero.c In file included from histmap.c:26: hfiles/histeq.h:2:13: warning: 'SccsHistEqId' defined but not used [-Wunused-variable] 2 | static char SccsHistEqId[] = "%W% %G%"; | ^~~~~~~~~~~~ histmap.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imgcheck.o imgcheck.c histmap.c: In function 'generate_scalemap': histmap.c:225:3: warning: 'range_j' may be used uninitialized in this function [-Wmaybe-uninitialized] 225 | for( i = top, j = top + 1; j > mark; i--, j-- ) { | ^~~ histmap.c:149:7: note: 'range_j' was declared here 149 | int range_j, max_range; | ^~~~~~~ In file included from histzero.c:23: hfiles/histeq.h:2:13: warning: 'SccsHistEqId' defined but not used [-Wunused-variable] 2 | static char SccsHistEqId[] = "%W% %G%"; | ^~~~~~~~~~~~ histzero.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imgflip.o imgflip.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imglogo.o imglogo.c imgcheck.c: In function 'check_array': imgcheck.c:177:66: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 177 | (void)fprintf(stderr, "File size neither given nor square: %d (%d)\n", | ~^ | | | int | %ld 178 | rawsize, fsize); | ~~~~~ | | | long int imgcheck.c:224:40: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 224 | (void)fprintf(stderr, "Request (%d) exceeds file size: %d (%d)\n", | ~^ | | | int | %ld 225 | arrsize, rawsize, fsize); | ~~~~~~~ | | | long int imgcheck.c:224:67: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] 224 | (void)fprintf(stderr, "Request (%d) exceeds file size: %d (%d)\n", | ~^ | | | int | %ld 225 | arrsize, rawsize, fsize); | ~~~~~ | | | long int In file included from imgcheck.c:47: At top level: hfiles/cmdparse.h:2:13: warning: 'SccsParseId' defined but not used [-Wunused-variable] 2 | static char SccsParseId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from imgcheck.c:42: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from imgcheck.c:41: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ imgcheck.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imgnew.o imgnew.c imglogo.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ imgflip.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imgparam.o imgparam.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imgread.o imgread.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imgrot.o imgrot.c In file included from imgparam.c:35: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from imgparam.c:34: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from imgparam.c:33: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ imgparam.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ imgnew.c: In function 'new_panimage': imgnew.c:183:4: warning: implicit declaration of function 'copy_buf_subsample' [-Wimplicit-function-declaration] 183 | copy_buf_subsample(buffer.shortbuf, buffer.panbuf, block_x, | ^~~~~~~~~~~~~~~~~~ imgnew.c:188:4: warning: implicit declaration of function 'copy_buf_sum'; did you mean 'copy_buf_max'? [-Wimplicit-function-declaration] 188 | copy_buf_sum(buffer.shortbuf, buffer.panbuf, block_x, block_y, 0, | ^~~~~~~~~~~~ | copy_buf_max imgnew.c: In function 'show_filename': imgnew.c:239:8: warning: unused variable 'nim_string' [-Wunused-variable] 239 | char nim_string[SZ_FNAME]; | ^~~~~~~~~~ In file included from hfiles/struct.h:18, from imgnew.c:48: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from imgnew.c:48: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from imgnew.c:48: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from imgnew.c:48: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from imgnew.c:48: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from imgnew.c:48: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from imgnew.c:48: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from imgnew.c:48: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from imgnew.c:47: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from imgnew.c:46: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ imgnew.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ imgrot.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imgtrans.o imgtrans.c In file included from hfiles/struct.h:18, from imgread.c:25: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from imgread.c:25: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from imgread.c:25: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from imgread.c:25: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from imgread.c:25: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from imgread.c:25: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from imgread.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from imgread.c:25: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from imgread.c:24: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ imgread.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o irafcrd.o irafcrd.c In file included from imgtrans.c:24: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ imgtrans.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o irafdisp.o irafdisp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o irafenv.o irafenv.c imgtrans.c: In function 'rotate_buf': imgtrans.c:84:5: warning: 'maxdim' may be used uninitialized in this function [-Wmaybe-uninitialized] 84 | cwturn_buf(buf, maxdim); | ^~~~~~~~~~~~~~~~~~~~~~~ irafenv.c: In function 'update_wcs': irafenv.c:117:30: warning: embedded '\0' in format [-Wformat-contains-nul] 117 | sprintf(wcs_file, "%s%s\0", "uparm/", root_name); | ^~ irafenv.c:122:30: warning: embedded '\0' in format [-Wformat-contains-nul] 122 | sprintf(wcs_file, "%s%s\0", "~/iraf/uparm/", root_name); | ^~ irafenv.c:126:30: warning: embedded '\0' in format [-Wformat-contains-nul] 126 | sprintf(wcs_file, "%s%s\0", "/tmp/", root_name); | ^~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o iraffdbk.o iraffdbk.c In file included from irafenv.c:39: At top level: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from irafenv.c:38: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from irafenv.c:37: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ irafenv.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from /usr/include/string.h:495, from irafenv.c:36: In function 'strncpy', inlined from 'update_wcs' at irafenv.c:173:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafcrd.c: In function 'parse_iraf_subsection': irafcrd.c:132:2: warning: value computed is not used [-Wunused-value] 132 | *u++; | ^~~~ In file included from hfiles/struct.h:18, from irafcrd.c:40: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from irafcrd.c:40: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from irafcrd.c:40: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from irafcrd.c:40: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from irafcrd.c:40: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from irafcrd.c:40: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from irafcrd.c:40: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from irafcrd.c:40: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ irafcrd.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ irafdisp.c: In function 'disp_subpiece': irafdisp.c:171:3: warning: implicit declaration of function 'disp_panbox'; did you mean 'disp_dispbox'? [-Wimplicit-function-declaration] 171 | disp_panbox(); | ^~~~~~~~~~~ | disp_dispbox In file included from irafdisp.c:33: At top level: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from irafdisp.c:31: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from irafdisp.c:31: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from irafdisp.c:31: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from irafdisp.c:31: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from irafdisp.c:31: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from irafdisp.c:31: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from irafdisp.c:31: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from irafdisp.c:31: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from irafdisp.c:30: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ irafdisp.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o irafimtl.o irafimtl.c iraffdbk.c: In function 'trigger_curpos_to_iraf': iraffdbk.c:184:14: warning: unused variable 'poly' [-Wunused-variable] 184 | PolyPoint *poly; | ^~~~ In file included from hfiles/struct.h:18, from iraffdbk.c:31: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from iraffdbk.c:31: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from iraffdbk.c:31: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from iraffdbk.c:31: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from iraffdbk.c:31: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from iraffdbk.c:31: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from iraffdbk.c:31: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from iraffdbk.c:31: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from iraffdbk.c:30: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ iraffdbk.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o irafio.o irafio.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o irafpipe.o irafpipe.c irafio.c: In function 'close_imtool_connection': irafio.c:80:3: warning: implicit declaration of function 'close_connection'; did you mean 'close_imtool_connection'? [-Wimplicit-function-declaration] 80 | close_connection(&control.IRAF_in); | ^~~~~~~~~~~~~~~~ | close_imtool_connection In file included from hfiles/struct.h:18, from irafimtl.c:34: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mainbffr.o mainbffr.c In file included from hfiles/struct.h:17, from irafimtl.c:34: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from irafimtl.c:34: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from irafimtl.c:34: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from irafimtl.c:34: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from irafimtl.c:34: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from irafimtl.c:34: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from irafimtl.c:34: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from irafimtl.c:33: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ irafimtl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from irafio.c:44: At top level: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ irafio.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ irafpipe.c: In function 'read_imtool_packet': irafpipe.c:112:5: warning: implicit declaration of function 'flush_connection'; did you mean 'read_connection'? [-Wimplicit-function-declaration] 112 | flush_connection(port); | ^~~~~~~~~~~~~~~~ | read_connection irafpipe.c:46:7: warning: unused variable 'last_packet' [-Wunused-variable] 46 | int last_packet; | ^~~~~~~~~~~ In file included from irafpipe.c:30: At top level: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ irafpipe.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mainevnt.o mainevnt.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o maininit.o maininit.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mainkey.o mainkey.c In file included from mainbffr.c:34: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from mainbffr.c:32: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mainbffr.c:32: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mainbffr.c:32: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mainbffr.c:32: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mainbffr.c:32: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mainbffr.c:32: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mainbffr.c:32: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mainbffr.c:32: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from mainbffr.c:31: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ mainbffr.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ mainevnt.c: In function 'control_event_loop': mainevnt.c:100:4: warning: implicit declaration of function 'respond_to_connection' [-Wimplicit-function-declaration] 100 | respond_to_connection(mask); | ^~~~~~~~~~~~~~~~~~~~~ In file included from mainevnt.c:29: At top level: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from mainevnt.c:28: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mainevnt.c:28: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mainevnt.c:28: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mainevnt.c:28: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mainevnt.c:28: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mainevnt.c:28: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mainevnt.c:28: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mainevnt.c:28: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from mainevnt.c:27: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from mainevnt.c:26: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ mainevnt.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mainslct.o mainslct.c In file included from maininit.c:57: defs/color.def:11:25: warning: missing braces around initializer [-Wmissing-braces] 11 | struct colorRec color = { | ^ ...... 188 | { 0 } /* XColor cellstore[COLMAPSZ]; for setting colors */ | { } In file included from maininit.c:58: defs/image.def:11:23: warning: missing braces around initializer [-Wmissing-braces] 11 | struct imageRec img = { | ^ ...... 58 | 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, | { ...... 61 | 0.0, 0.0, /* double imtoolWZ[2]; imtool greyscale Z values */ | } 62 | 0, /* int fbconfig; imtool frame configuration number */ | { 63 | 0, /* int frame_number; imtool frame number */ | } In file included from maininit.c:70: defs/cursor.def:18:4: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 18 | NULL, /* Window ID; drawable where to draw */ | ^~~~ defs/cursor.def:18:4: note: (near initialization for 'cursor.win.ID') defs/cursor.def:37:2: warning: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 37 | NULL, /* int point_cnt; number of points for XDrawLines */ | ^~~~ defs/cursor.def:37:2: note: (near initialization for 'cursor.point_cnt') maininit.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] 85 | main(argc, argv) | ^~~~ In file included from maininit.c:70: defs/cursor.def:2:13: warning: 'SccsCurdefId' defined but not used [-Wunused-variable] 2 | static char SccsCurdefId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from maininit.c:65: defs/desktop.def:2:13: warning: 'SccsDesktopId' defined but not used [-Wunused-variable] 2 | static char SccsDesktopId[] = "%W% %G%"; | ^~~~~~~~~~~~~ In file included from maininit.c:64: defs/btnbox.def:2:13: warning: 'SccsBtnboxId' defined but not used [-Wunused-variable] 2 | static char SccsBtnboxId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from maininit.c:63: defs/panbox.def:2:13: warning: 'SccsPanboxId' defined but not used [-Wunused-variable] 2 | static char SccsPanboxId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from maininit.c:62: defs/graphbox.def:2:13: warning: 'SccsGraphboxId' defined but not used [-Wunused-variable] 2 | static char SccsGraphboxId[] = "%W% %G%"; | ^~~~~~~~~~~~~~ In file included from maininit.c:61: defs/colorbox.def:2:13: warning: 'SccsColorboxId' defined but not used [-Wunused-variable] 2 | static char SccsColorboxId[] = "%W% %G%"; | ^~~~~~~~~~~~~~ In file included from maininit.c:60: defs/magnibox.def:2:13: warning: 'SccsMagniboxId' defined but not used [-Wunused-variable] 2 | static char SccsMagniboxId[] = "%W% %G%"; | ^~~~~~~~~~~~~~ In file included from maininit.c:59: defs/dispbox.def:2:13: warning: 'SccsDispboxId' defined but not used [-Wunused-variable] 2 | static char SccsDispboxId[] = "%W% %G%"; | ^~~~~~~~~~~~~ In file included from maininit.c:58: defs/image.def:2:13: warning: 'SccsImdefId' defined but not used [-Wunused-variable] 2 | static char SccsImdefId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from maininit.c:57: defs/color.def:2:13: warning: 'SccsColdefId' defined but not used [-Wunused-variable] 2 | static char SccsColdefId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from maininit.c:56: defs/control.def:2:13: warning: 'SccsCtrldefId' defined but not used [-Wunused-variable] 2 | static char SccsCtrldefId[] = "%W% %G%"; | ^~~~~~~~~~~~~ In file included from hfiles/struct.h:18, from maininit.c:39: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from maininit.c:39: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from maininit.c:39: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from maininit.c:39: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from maininit.c:39: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from maininit.c:39: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from maininit.c:39: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from maininit.c:39: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from maininit.c:38: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from maininit.c:37: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ maininit.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mainutil.o mainutil.c mainkey.c: In function 'key_response': mainkey.c:121:8: warning: unused variable 'sysout0' [-Wunused-variable] 121 | char sysout0[16]; | ^~~~~~~ mainkey.c:106:16: warning: unused variable 'ycent' [-Wunused-variable] 106 | double xcent,ycent; | ^~~~~ mainkey.c:106:10: warning: unused variable 'xcent' [-Wunused-variable] 106 | double xcent,ycent; | ^~~~~ mainkey.c:104:13: warning: unused variable 'lstr' [-Wunused-variable] 104 | int ix,iy,lstr; | ^~~~ mainkey.c:104:10: warning: unused variable 'iy' [-Wunused-variable] 104 | int ix,iy,lstr; | ^~ mainkey.c:104:7: warning: unused variable 'ix' [-Wunused-variable] 104 | int ix,iy,lstr; | ^~ mainkey.c:103:8: warning: unused variable 'string' [-Wunused-variable] 103 | char string[16]; | ^~~~~~ mainkey.c:102:8: warning: unused variable 'vstring' [-Wunused-variable] 102 | char vstring[16]; | ^~~~~~~ In file included from hfiles/struct.h:18, from mainkey.c:25: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mainkey.c:25: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mainkey.c:25: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mainkey.c:25: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mainkey.c:25: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mainkey.c:25: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mainkey.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mainkey.c:25: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from mainkey.c:24: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ mainkey.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o menuctrl.o menuctrl.c mainslct.c: In function 'dispatch_select': mainslct.c:64:7: warning: implicit declaration of function 'grab_keys_for_textcursor' [-Wimplicit-function-declaration] 64 | grab_keys_for_textcursor(0); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from hfiles/struct.h:18, from mainslct.c:23: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mainslct.c:23: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mainslct.c:23: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mainslct.c:23: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mainslct.c:23: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mainslct.c:23: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mainslct.c:23: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mainslct.c:23: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from mainslct.c:22: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ mainslct.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from /usr/include/string.h:495, from mainkey.c:19: In function 'strncpy', inlined from 'PrintFITSHead' at mainkey.c:741:9, inlined from 'key_response' at mainkey.c:317:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o menuinit.o menuinit.c In file included from hfiles/struct.h:18, from mainutil.c:31: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mainutil.c:31: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mainutil.c:31: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mainutil.c:31: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mainutil.c:31: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mainutil.c:31: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mainutil.c:31: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mainutil.c:31: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from mainutil.c:30: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ mainutil.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" panel/makemenu.c; mv -f makemenu.o menupanl.o In file included from hfiles/struct.h:18, from menuctrl.c:29: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from menuctrl.c:29: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from menuctrl.c:29: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from menuctrl.c:29: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from menuctrl.c:29: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from menuctrl.c:29: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from menuctrl.c:29: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from menuctrl.c:29: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from menuctrl.c:28: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from menuctrl.c:27: btnlib/buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ menuctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from menuinit.c:26: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from menuinit.c:25: btnlib/buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ menuinit.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mgfyctrl.o mgfyctrl.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mgfydraw.o mgfydraw.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mgfyinit.o mgfyinit.c In file included from panel/makemenu.c:8: panel/menucsr.h: In function 'MakeCursorPanel': panel/menucsr.h:481:3: warning: implicit declaration of function 'JoinMenus'; did you mean 'JoinMenu'? [-Wimplicit-function-declaration] 481 | JoinMenus (box[0], box[1]); | ^~~~~~~~~ | JoinMenu In file included from panel/makemenu.c:4: At top level: panel/../btnlib/buttons.h:2:13: warning: 'SccsBtnhId' defined but not used [-Wunused-variable] 2 | static char SccsBtnhId[] = "%W% %G%"; | ^~~~~~~~~~ mgfyctrl.c: In function 'label_file_coords_proportional': mgfyctrl.c:320:9: warning: implicit declaration of function 'get_pixel_val' [-Wimplicit-function-declaration] 320 | if( get_pixel_val((int)bufX, (int)bufY, &ival, &dval, &clip) ) { | ^~~~~~~~~~~~~ mgfyctrl.c:322:7: warning: implicit declaration of function 'integer_string' [-Wimplicit-function-declaration] 322 | integer_string(ival, clip, &(string[16]), VAL_SZ); | ^~~~~~~~~~~~~~ mgfyctrl.c:324:7: warning: implicit declaration of function 'real_string' [-Wimplicit-function-declaration] 324 | real_string(dval, &string[17], VAL_SZ - 1); | ^~~~~~~~~~~ mgfyctrl.c:299:7: warning: unused variable 'val' [-Wunused-variable] 299 | int val; | ^~~ mgfyctrl.c: At top level: mgfyctrl.c:45:13: warning: 'draw_proportional_coord' declared 'static' but never defined [-Wunused-function] 45 | static void draw_proportional_coord(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from mgfyctrl.c:38: hfiles/magnify.h:2:13: warning: 'SccsMagnifyId' defined but not used [-Wunused-variable] 2 | static char SccsMagnifyId[] = "%W% %G%"; | ^~~~~~~~~~~~~ In file included from mgfyctrl.c:37: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from mgfyctrl.c:35: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mgfyctrl.c:35: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mgfyctrl.c:35: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mgfyctrl.c:35: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mgfyctrl.c:35: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mgfyctrl.c:35: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mgfyctrl.c:35: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mgfyctrl.c:35: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ mgfyctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from mgfydraw.c:25: hfiles/magnify.h:2:13: warning: 'SccsMagnifyId' defined but not used [-Wunused-variable] 2 | static char SccsMagnifyId[] = "%W% %G%"; | ^~~~~~~~~~~~~ In file included from mgfydraw.c:24: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ mgfydraw.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from mgfyinit.c:30: hfiles/magnify.h:2:13: warning: 'SccsMagnifyId' defined but not used [-Wunused-variable] 2 | static char SccsMagnifyId[] = "%W% %G%"; | ^~~~~~~~~~~~~ In file included from mgfyinit.c:29: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from mgfyinit.c:27: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mgfyinit.c:27: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mgfyinit.c:27: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mgfyinit.c:27: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mgfyinit.c:27: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mgfyinit.c:27: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mgfyinit.c:27: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mgfyinit.c:27: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from mgfyinit.c:26: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ mgfyinit.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ mgfyctrl.c: In function 'label_file_coords': mgfyctrl.c:250:22: warning: '%s' directive writing up to 63 bytes into a region of size 48 [-Wformat-overflow=] 250 | sprintf(string, "%s %6d ", cstring, val); | ^~ ~~~~~~~ mgfyctrl.c:250:21: note: directive argument in the range [-32768, 32767] 250 | sprintf(string, "%s %6d ", cstring, val); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:871, from mgfyctrl.c:30: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 73 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mgfyctrl.c:221:24: warning: '%s' directive writing up to 63 bytes into a region of size 48 [-Wformat-overflow=] 221 | sprintf(string, "%s %.4g ", cstring, rval); | ^~ ~~~~~~~ mgfyctrl.c:221:23: note: assuming directive output of 10 bytes 221 | sprintf(string, "%s %.4g ", cstring, rval); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from mgfyctrl.c:30: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 79 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mgfyctrl.c:198:19: warning: '%s' directive writing up to 63 bytes into a region of size 48 [-Wformat-overflow=] 198 | sprintf(string, "%s %.4g ", cstring, rval); | ^~ ~~~~~~~ mgfyctrl.c:198:18: note: assuming directive output of 10 bytes 198 | sprintf(string, "%s %.4g ", cstring, rval); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from mgfyctrl.c:30: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 79 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mgfyctrl.c:196:19: warning: '%s' directive writing up to 63 bytes into a region of size 48 [-Wformat-overflow=] 196 | sprintf(string, "%s >%.4g ", cstring, rval); | ^~ ~~~~~~~ mgfyctrl.c:196:18: note: assuming directive output of 10 bytes 196 | sprintf(string, "%s >%.4g ", cstring, rval); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from mgfyctrl.c:30: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 79 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mgfyctrl.c:194:19: warning: '%s' directive writing up to 63 bytes into a region of size 48 [-Wformat-overflow=] 194 | sprintf(string, "%s <%.4g ", cstring, rval); | ^~ ~~~~~~~ mgfyctrl.c:194:18: note: assuming directive output of 10 bytes 194 | sprintf(string, "%s <%.4g ", cstring, rval); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from mgfyctrl.c:30: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 79 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mgfyctrl.c:172:22: warning: '%s' directive writing up to 63 bytes into a region of size 48 [-Wformat-overflow=] 172 | sprintf(string, "%s x ", cstring); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:871, from mgfyctrl.c:30: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 73 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mgfymark.o mgfymark.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mgfytabl.o mgfytabl.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o mgfyval.o mgfyval.c In file included from mgfymark.c:25: defs/magnify.def:2:22: warning: 'SccsMagdefId' defined but not used [-Wunused-variable] 2 | static unsigned char SccsMagdefId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from mgfymark.c:24: hfiles/magnify.h:2:13: warning: 'SccsMagnifyId' defined but not used [-Wunused-variable] 2 | static char SccsMagnifyId[] = "%W% %G%"; | ^~~~~~~~~~~~~ In file included from mgfymark.c:23: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ mgfymark.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from hfiles/struct.h:18, from mgfytabl.c:25: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mgfytabl.c:25: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mgfytabl.c:25: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mgfytabl.c:25: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mgfytabl.c:25: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mgfytabl.c:25: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mgfytabl.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mgfytabl.c:25: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ mgfytabl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o pancopy.o pancopy.c In file included from mgfyval.c:39: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from mgfyval.c:38: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from mgfyval.c:38: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from mgfyval.c:38: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from mgfyval.c:38: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from mgfyval.c:38: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from mgfyval.c:38: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from mgfyval.c:38: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from mgfyval.c:38: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ mgfyval.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o pancrsr.o pancrsr.c In file included from pancopy.c:25: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ pancopy.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o panctrl.o panctrl.c In file included from pancrsr.c:26: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from hfiles/struct.h:18, from pancrsr.c:21: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from pancrsr.c:21: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from pancrsr.c:21: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from pancrsr.c:21: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from pancrsr.c:21: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from pancrsr.c:21: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from pancrsr.c:21: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from pancrsr.c:21: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ pancrsr.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o panimage.o panimage.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o panwndw.o panwndw.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o readarr.o readarr.c panctrl.c: In function 'set_zoom': panctrl.c:326:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 326 | if (zoom != 0.0 && (0.01 > zoom) || (zoom > 400.0) ) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from hfiles/struct.h:18, from panctrl.c:27: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from panctrl.c:27: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from panctrl.c:27: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from panctrl.c:27: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from panctrl.c:27: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from panctrl.c:27: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from panctrl.c:27: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from panctrl.c:27: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from panctrl.c:26: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from panctrl.c:25: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ panctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ panimage.c:30:13: warning: 'map_adj_panbuf' declared 'static' but never defined [-Wunused-function] 30 | static void map_adj_panbuf(); | ^~~~~~~~~~~~~~ In file included from panimage.c:32: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from panimage.c:26: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from panimage.c:26: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from panimage.c:26: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from panimage.c:26: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from panimage.c:26: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from panimage.c:26: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from panimage.c:26: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from panimage.c:26: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from panimage.c:25: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ panimage.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from hfiles/struct.h:18, from panwndw.c:28: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from panwndw.c:28: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from panwndw.c:28: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from panwndw.c:28: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from panwndw.c:28: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from panwndw.c:28: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from panwndw.c:28: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from panwndw.c:28: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from panwndw.c:27: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ panwndw.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from readarr.c:29: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from readarr.c:25: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from readarr.c:24: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ readarr.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o readfith.o readfith.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o readfits.o readfits.c panctrl.c: In function 'set_zoom': panctrl.c:312:11: warning: 'zoom' may be used uninitialized in this function [-Wmaybe-uninitialized] 312 | else if (zoom == 0) { | ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o readint.o readint.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o readiraf.o readiraf.c In file included from readint.c:39: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from readint.c:38: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ readint.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ readfits.c: In function 'init_fits': readfits.c:159:8: warning: implicit declaration of function 'open_disk' [-Wimplicit-function-declaration] 159 | fd = open_disk(img->filename, IOP_Read, 0); | ^~~~~~~~~ readfits.c: At top level: readfits.c:204:1: warning: "/*" within comment [-Wcomment] 204 | /* Jul 7 1998 Change setlinmode() to setwcslin() | In file included from readfits.c:37: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from readfits.c:36: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from readfits.c:35: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ readfits.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from hfiles/struct.h:18, from readfith.c:42: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from readfith.c:42: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from readfith.c:42: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from readfith.c:42: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from readfith.c:42: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from readfith.c:42: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from readfith.c:42: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from readfith.c:42: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from readfith.c:41: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ readfith.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from hfiles/struct.h:18, from readiraf.c:39: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from readiraf.c:39: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from readiraf.c:39: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from readiraf.c:39: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from readiraf.c:39: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from readiraf.c:39: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from readiraf.c:39: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from readiraf.c:39: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from readiraf.c:38: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ readiraf.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o readreal.o readreal.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgnanli.o rgnanli.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgnctrl.o rgnctrl.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgndraw.o rgndraw.c In file included from readreal.c:28: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from readreal.c:27: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ readreal.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from hfiles/cursor.h:13, from rgnanli.c:29: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgnanli.c:29: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ rgnanli.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ rgndraw.c: In function 'init_region_draw': rgndraw.c:57:6: warning: type of 'view' defaults to 'int' [-Wimplicit-int] 57 | void init_region_draw ( view, label ) | ^~~~~~~~~~~~~~~~ rgndraw.c:57:6: warning: type of 'label' defaults to 'int' [-Wimplicit-int] rgnctrl.c: In function 'cycle_regions': rgnctrl.c:238:5: warning: implicit declaration of function 'reload_textcursor' [-Wimplicit-function-declaration] 238 | reload_textcursor(); | ^~~~~~~~~~~~~~~~~ rgnctrl.c:239:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 239 | if( cursor.type != COP_Point ) | ^~ In file included from rgndraw.c:50: At top level: rgnctrl.c:243:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 243 | if( control.verbose ) | ^~ hfiles/region.h:2:13: warning: 'SccsRegionId' defined but not used [-Wunused-variable] 2 | static char SccsRegionId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from rgndraw.c:39: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from rgndraw.c:39: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from rgndraw.c:39: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from rgndraw.c:39: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from rgndraw.c:39: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgndrop.o rgndrop.c In file included from hfiles/struct.h:13, from rgndraw.c:39: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from rgndraw.c:39: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgndraw.c:39: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgndraw.c:38: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgndraw.c:37: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ rgndraw.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ rgnctrl.c:244:7: warning: implicit declaration of function 'report_cursor_info' [-Wimplicit-function-declaration] 244 | report_cursor_info (&cursor); | ^~~~~~~~~~~~~~~~~~ In file included from hfiles/struct.h:18, from rgnctrl.c:27: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from rgnctrl.c:27: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from rgnctrl.c:27: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from rgnctrl.c:27: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from rgnctrl.c:27: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from rgnctrl.c:27: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from rgnctrl.c:27: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgnctrl.c:27: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgnctrl.c:26: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ rgnctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgnmake.o rgnmake.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgnread.o rgnread.c In file included from rgndrop.c:31: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from rgndrop.c:25: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgndrop.c:24: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgndrop.c:23: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ rgndrop.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ rgnmake.c: In function 'make_next_region': rgnmake.c:112:7: warning: unused variable 'lstr' [-Wunused-variable] 112 | int lstr; | ^~~~ rgnmake.c:109:9: warning: unused variable 'string' [-Wunused-variable] 109 | char *string; | ^~~~~~ In file included from hfiles/struct.h:18, from rgnmake.c:41: At top level: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from rgnmake.c:41: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from rgnmake.c:41: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from rgnmake.c:41: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from rgnmake.c:41: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from rgnmake.c:41: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from rgnmake.c:41: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgnmake.c:41: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgnmake.c:40: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from rgnmake.c:39: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ rgnmake.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgntoken.o rgntoken.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgnwpros.o rgnwpros.c rgnread.c: In function 'set_region_file': rgnread.c:148:9: warning: unused variable 'type' [-Wunused-variable] 148 | int type; | ^~~~ In file included from rgnread.c:44: At top level: hfiles/region.h:2:13: warning: 'SccsRegionId' defined but not used [-Wunused-variable] 2 | static char SccsRegionId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgnread.c:43: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:18, from rgnread.c:41: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from rgnread.c:41: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from rgnread.c:41: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from rgnread.c:41: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from rgnread.c:41: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from rgnread.c:41: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from rgnread.c:41: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgnread.c:41: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgnread.c:40: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from rgnread.c:39: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ rgnread.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ rgntoken.c:36:42: warning: missing braces around initializer [-Wmissing-braces] 36 | static struct reg_types types[TYPECNT] = { | ^ In file included from rgntoken.c:29: hfiles/region.h:2:13: warning: 'SccsRegionId' defined but not used [-Wunused-variable] 2 | static char SccsRegionId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgntoken.c:28: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ rgntoken.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from rgnwpros.c:39: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from rgnwpros.c:38: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgnwpros.c:37: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgnwpros.c:36: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ rgnwpros.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o rgnwrite.o rgnwrite.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o sclctrl.o sclctrl.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o sclmap.o sclmap.c In file included from rgnwrite.c:45: hfiles/edit.h:2:13: warning: 'SccsEditId' defined but not used [-Wunused-variable] 2 | static char SccsEditId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from rgnwrite.c:44: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgnwrite.c:43: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from rgnwrite.c:42: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from rgnwrite.c:41: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from rgnwrite.c:40: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ rgnwrite.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wndwadj.o wndwadj.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wndwconf.o wndwconf.c In file included from sclctrl.c:32: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from sclctrl.c:27: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from sclctrl.c:27: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from sclctrl.c:27: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from sclctrl.c:27: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from sclctrl.c:27: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from sclctrl.c:27: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from sclctrl.c:27: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from sclctrl.c:27: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from sclctrl.c:26: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from sclctrl.c:25: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ sclctrl.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ In file included from wndwadj.c:27: hfiles/cgraph.h:2:13: warning: 'SccsCgraphId' defined but not used [-Wunused-variable] 2 | static char SccsCgraphId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:18, from wndwadj.c:25: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from wndwadj.c:25: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from wndwadj.c:25: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from wndwadj.c:25: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from wndwadj.c:25: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from wndwadj.c:25: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from wndwadj.c:25: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from wndwadj.c:25: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ wndwadj.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ sclmap.c: In function 'get_histogram_range': sclmap.c:328:14: warning: unused variable 'hoff' [-Wunused-variable] 328 | int hwidth,hoff; | ^~~~ sclmap.c:328:7: warning: unused variable 'hwidth' [-Wunused-variable] 328 | int hwidth,hoff; | ^~~~~~ In file included from sclmap.c:28: At top level: hfiles/scale.h:2:13: warning: 'SccsScaleId' defined but not used [-Wunused-variable] 2 | static char SccsScaleId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from sclmap.c:26: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from sclmap.c:26: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from sclmap.c:26: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from sclmap.c:26: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from sclmap.c:26: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from sclmap.c:26: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from sclmap.c:26: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from sclmap.c:26: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from sclmap.c:25: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ sclmap.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wndwcre.o wndwcre.c In file included from hfiles/struct.h:18, from wndwconf.c:40: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from wndwconf.c:40: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from wndwconf.c:40: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from wndwconf.c:40: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from wndwconf.c:40: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from wndwconf.c:40: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from wndwconf.c:40: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from wndwconf.c:40: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from wndwconf.c:39: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ wndwconf.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wndwinit.o wndwinit.c wndwcre.c: In function 'get_window_dimensions': wndwcre.c:146:24: warning: "/*" within comment [-Wcomment] 146 | Bool check_expose(); /* l: function to identify window's expose event | wndwcre.c:148:3: warning: "/*" within comment [-Wcomment] 148 | /* if waiting for an Expose event before querying window */ | In file included from wndwcre.c:30: At top level: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ wndwcre.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wndwmaus.o wndwmaus.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o prntcurs.o prntcurs.c In file included from hfiles/struct.h:18, from wndwinit.c:36: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from wndwinit.c:36: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from wndwinit.c:36: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from wndwinit.c:36: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from wndwinit.c:36: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from wndwinit.c:36: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from wndwinit.c:36: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from wndwinit.c:36: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from wndwinit.c:35: hfiles/define.h:2:13: warning: 'defineId' defined but not used [-Wunused-variable] 2 | static char defineId[] = "%W% %G%"; | ^~~~~~~~ In file included from wndwinit.c:34: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ wndwinit.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o prntcent.o prntcent.c In file included from prntcurs.c:32: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from prntcurs.c:27: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from prntcurs.c:27: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from prntcurs.c:27: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from prntcurs.c:27: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from prntcurs.c:27: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from prntcurs.c:27: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from prntcurs.c:27: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from prntcurs.c:27: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ prntcurs.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o fitsfile.o fitsfile.c wndwmaus.c:55:15: warning: 'missilecursor' defined but not used [-Wunused-variable] 55 | static Cursor missilecursor; | ^~~~~~~~~~~~~ In file included from wndwmaus.c:48: defs/mouse.def:2:22: warning: 'SccsMouseId' defined but not used [-Wunused-variable] 2 | static unsigned char SccsMouseId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:18, from wndwmaus.c:42: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from wndwmaus.c:42: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from wndwmaus.c:42: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from wndwmaus.c:42: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from wndwmaus.c:42: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from wndwmaus.c:42: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from wndwmaus.c:42: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from wndwmaus.c:42: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from wndwmaus.c:41: hfiles/constant.h:2:13: warning: 'SccsConstId' defined but not used [-Wunused-variable] 2 | static char SccsConstId[] = "%W% %G%"; | ^~~~~~~~~~~ wndwmaus.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ prntcurs.c: In function 'print_cursor': prntcurs.c:134:27: warning: ' ' directive writing 3 bytes into a region of size between 1 and 48 [-Wformat-overflow=] 134 | sprintf(vstring, "%s %.5g ", cstring, rval); | ^~~ prntcurs.c:134:24: note: assuming directive output of 11 bytes 134 | sprintf(vstring, "%s %.5g ", cstring, rval); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from prntcurs.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 72 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prntcurs.c:111:22: warning: ' ' directive writing 3 bytes into a region of size between 1 and 48 [-Wformat-overflow=] 111 | sprintf(vstring, "%s %.5g ", cstring, rval); | ^~~ prntcurs.c:111:19: note: assuming directive output of 11 bytes 111 | sprintf(vstring, "%s %.5g ", cstring, rval); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from prntcurs.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 72 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prntcurs.c:109:22: warning: ' >' directive writing 3 bytes into a region of size between 1 and 48 [-Wformat-overflow=] 109 | sprintf(vstring, "%s >%.5g ", cstring, rval); | ^~~ prntcurs.c:109:19: note: assuming directive output of 11 bytes 109 | sprintf(vstring, "%s >%.5g ", cstring, rval); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from prntcurs.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 72 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prntcurs.c:107:22: warning: ' <' directive writing 3 bytes into a region of size between 1 and 48 [-Wformat-overflow=] 107 | sprintf(vstring, "%s <%.5g ", cstring, rval); | ^~~ prntcurs.c:107:19: note: assuming directive output of 11 bytes 107 | sprintf(vstring, "%s <%.5g ", cstring, rval); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from prntcurs.c:23: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 14 and 72 bytes into a destination of size 48 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hfiles/struct.h:18, from prntcent.c:30: hfiles/buffer.h:2:13: warning: 'SccsBufId' defined but not used [-Wunused-variable] 2 | static char SccsBufId[] = "%W% %G%"; | ^~~~~~~~~ In file included from hfiles/struct.h:17, from prntcent.c:30: hfiles/window.h:2:13: warning: 'SccsWndwId' defined but not used [-Wunused-variable] 2 | static char SccsWndwId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:16, from prntcent.c:30: hfiles/image.h:2:13: warning: 'SccsImageId' defined but not used [-Wunused-variable] 2 | static char SccsImageId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:15, from prntcent.c:30: hfiles/cursor.h:2:13: warning: 'SccsCursorId' defined but not used [-Wunused-variable] 2 | static char SccsCursorId[] = "%W% %G%"; | ^~~~~~~~~~~~ In file included from hfiles/struct.h:14, from prntcent.c:30: hfiles/coord.h:2:13: warning: 'SccsCoordId' defined but not used [-Wunused-variable] 2 | static char SccsCoordId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from hfiles/struct.h:13, from prntcent.c:30: hfiles/control.h:2:13: warning: 'SccsCtrlId' defined but not used [-Wunused-variable] 2 | static char SccsCtrlId[] = "%W% %G%"; | ^~~~~~~~~~ In file included from hfiles/struct.h:12, from prntcent.c:30: hfiles/color.h:2:13: warning: 'SccsColorId' defined but not used [-Wunused-variable] 2 | static char SccsColorId[] = "%W% %G%"; | ^~~~~~~~~~~ In file included from prntcent.c:30: hfiles/struct.h:2:13: warning: 'SccsStructId' defined but not used [-Wunused-variable] 2 | static char SccsStructId[] = "%W% %G%"; | ^~~~~~~~~~~~ prntcent.c:2:13: warning: 'SccsId' defined but not used [-Wunused-variable] 2 | static char SccsId[] = "%W% %G%"; | ^~~~~~ fitsfile.c: In function 'fitsrhead': fitsfile.c:115:11: warning: variable 'endnext' set but not used [-Wunused-but-set-variable] 115 | char *endnext; | ^~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imio.o imio.c fitsfile.c: In function 'fitswhdu': cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wcsinit.o wcsinit.c fitsfile.c:1262:21: warning: unused variable 'lasthead' [-Wunused-variable] 1262 | char *endhead, *lasthead, *padding; | ^~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wcs.o wcs.c In file included from /usr/include/string.h:495, from fitsfile.c:79: In function 'strncpy', inlined from 'fitsrhead' at fitsfile.c:374:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wcsinit.c: In function 'wcsinitc': wcsinit.c:231:20: warning: unused variable 'm' [-Wunused-variable] 231 | int ieq, i, j, m, naxes, cd11p, cd12p, cd21p, cd22p; | ^ wcsinit.c:231:17: warning: unused variable 'j' [-Wunused-variable] 231 | int ieq, i, j, m, naxes, cd11p, cd12p, cd21p, cd22p; | ^ wcs.c: In function 'pix2wcst': wcs.c:1914:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1914 | if (lstr > 9 && wcs->printsys) | ^ fitsfile.c: In function 'fitsrthead': fitsfile.c:948:24: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 948 | sprintf (tname, "TBCOL%d", ifield+1); | ^~ fitsfile.c:948:18: note: directive argument in the range [1, 2147483647] 948 | sprintf (tname, "TBCOL%d", ifield+1); | ^~~~~~~~~ In file included from /usr/include/stdio.h:871, from fitsfile.c:75: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 12 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitsfile.c:955:24: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 955 | sprintf (tname, "TFORM%d", ifield+1);; | ^~ fitsfile.c:955:18: note: directive argument in the range [1, 2147483647] 955 | sprintf (tname, "TFORM%d", ifield+1);; | ^~~~~~~~~ In file included from /usr/include/stdio.h:871, from fitsfile.c:75: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 12 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitsfile.c:966:24: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 966 | sprintf (tname, "TTYPE%d", ifield+1);; | ^~ fitsfile.c:966:18: note: directive argument in the range [1, 2147483647] 966 | sprintf (tname, "TTYPE%d", ifield+1);; | ^~~~~~~~~ In file included from /usr/include/stdio.h:871, from fitsfile.c:75: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 12 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitsfile.c:903:2: warning: attempt to free a non-heap object 'temp' [-Wfree-nonheap-object] 903 | free (temp); | ^~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o worldpos.o worldpos.c In file included from /usr/include/string.h:495, from wcs.c:81: In function 'strncpy', inlined from 'wcstype' at wcs.c:374:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'wcstype' at wcs.c:485:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'wcstype' at wcs.c:492:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ worldpos.c: In function 'worldpos': worldpos.c:356:12: warning: 'rat' may be used uninitialized in this function [-Wmaybe-uninitialized] 356 | if (raout-ra0>twopi/2.0) raout = raout - twopi; | ~~~~~^~~~ In file included from worldpos.c:90: wcs.h:218:23: warning: 'dect' may be used uninitialized in this function [-Wmaybe-uninitialized] 218 | #define raddeg(x) ((x)*180./PI) | ^ worldpos.c:111:22: note: 'dect' was declared here 111 | double sins, coss, dect, rat, dt, l, m, mg, da, dd, cos0, sin0; | ^~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o platepos.o platepos.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o dsspos.o dsspos.c In file included from worldpos.c:90: worldpos.c: In function 'worldpix': wcs.h:218:23: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] 218 | #define raddeg(x) ((x)*180./PI) | ^ worldpos.c:389:13: note: 'm' was declared here 389 | double l, m, geo1, geo2, geo3, sinr, cosr, tx, x, a2, a3, a4; | ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o tnxpos.o tnxpos.c wcs.c: In function 'wcsfull.part.0': wcs.c:1283:7: warning: 'xcent' may be used uninitialized in this function [-Wmaybe-uninitialized] 1283 | *cra = xcent; | ~~~~~^~~~~~~ wcs.c:1284:8: warning: 'ycent' may be used uninitialized in this function [-Wmaybe-uninitialized] 1284 | *cdec = ycent; | ~~~~~~^~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wcscon.o wcscon.c tnxpos.c: In function 'wf_gsder': tnxpos.c:730:9: warning: variable 'ncoeff' set but not used [-Wunused-but-set-variable] 730 | int ncoeff, nxder, nyder, i, j, k, nbytes; | ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o slasubs.o slasubs.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o imhfile.o imhfile.c imhfile.c: In function 'irafrimage': imhfile.c:266:36: warning: variable 'nbx' set but not used [-Wunused-but-set-variable] 266 | int nbr, nbimage, nbaxis, nbl, nbx, nbdiff; | ^~~ imhfile.c: In function 'iraf2fits': imhfile.c:591:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 591 | else | ^~~~ imhfile.c:593:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 593 | hputcom (fitsheader,"NAXIS2", "IRAF .imh naxis[2]"); | ^~~~~~~ imhfile.c: In function 'irafwhead': imhfile.c:898:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 898 | ftruncate (fd, nbhead); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from imhfile.c:83: In function 'strncpy', inlined from 'iraf2fits' at imhfile.c:492:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'iraf2fits' at imhfile.c:846:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'same_path' at imhfile.c:1046:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'same_path' at imhfile.c:1059:8: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 255 equals destination size [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'same_path' at imhfile.c:1066:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'same_path' at imhfile.c:1028:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 255 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'same_path' at imhfile.c:1041:8: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 255 equals destination size [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 255 equals destination size [-Wstringop-overflow=] In function 'strncat', inlined from 'same_path' at imhfile.c:1059:8: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' specified bound 255 equals destination size [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o hget.o hget.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o iget.o iget.c imhfile.c: In function 'irafwimage': imhfile.c:1007:5: warning: attempt to free a non-heap object 'pixname' [-Wfree-nonheap-object] 1007 | free (pixname); | ^~~~~~~~~~~~~~ hget.c: In function 'str2dec': hget.c:1265:31: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized] 1265 | dec = sign * (deg + (min / 60.0) + (sec / 3600.0)); | ~~~~~^~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o hput.o hput.c In file included from /usr/include/string.h:495, from imhfile.c:83: In function 'strncpy', inlined from 'iraf2fits' at imhfile.c:538:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'iraf2fits' at imhfile.c:822:10: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'iraf2fits' at imhfile.c:811:13: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'iraf2fits' at imhfile.c:781:10: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'iraf2fits' at imhfile.c:769:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'iraf2fits' at imhfile.c:838:11: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 80 bytes from a string of length 80 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imhfile.c: In function 'iraf2fits': imhfile.c:699:22: warning: 'lname' may be used uninitialized in this function [-Wmaybe-uninitialized] 699 | else if (lname > 67 && lname < 110) | ~~~~~~~~~~~^~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wcslib.o wcslib.c In file included from /usr/include/string.h:495, from hput.c:54: In function 'strncpy', inlined from 'hputc' at hput.c:486:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c: In function 'hputc': hput.c:376:22: note: length computed here 376 | lkeyword = (int) strlen (keyword); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from hput.c:54: In function 'strncpy', inlined from 'hputc' at hput.c:503:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c: In function 'hputc': hput.c:377:18: note: length computed here 377 | lval = (int) strlen (value); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from hput.c:54: In function 'strncpy', inlined from 'hputc' at hput.c:495:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c: In function 'hputc': hput.c:377:18: note: length computed here 377 | lval = (int) strlen (value); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from hput.c:54: In function 'strncpy', inlined from 'hputc' at hput.c:514:6: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 49 bytes from a string of length 49 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wcslib.c: In function 'wcsset': wcslib.c:523:15: warning: 'ndx' may be used uninitialized in this function [-Wmaybe-uninitialized] 523 | *ndx = j; | ~~~~~^~~ hput.c: In function 'hputnr8': hput.c:170:23: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 170 | sprintf (format, "%%.%df", ndec); | ^~ hput.c:170:19: note: directive argument in the range [0, 2147483647] 170 | sprintf (format, "%%.%df", ndec); | ^~~~~~~~ In file included from /usr/include/stdio.h:871, from hput.c:55: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c:163:23: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 163 | sprintf (format, "%%.%dg", -ndec); | ^~ hput.c:163:19: note: directive argument in the range [1, 2147483647] 163 | sprintf (format, "%%.%dg", -ndec); | ^~~~~~~~ In file included from /usr/include/stdio.h:871, from hput.c:55: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hget.c: In function 'strncsrch': hget.c:1447:22: warning: 'oclast' may be used uninitialized in this function [-Wmaybe-uninitialized] 1447 | if (sl == clast || sl == oclast) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~ hget.c:1447:9: warning: 'clast' may be used uninitialized in this function [-Wmaybe-uninitialized] 1447 | if (sl == clast || sl == oclast) { | ^ hget.c:1379:24: warning: 'os2' may be used uninitialized in this function [-Wmaybe-uninitialized] 1379 | char *s,*s1e, sl, *os2; | ^~~ hput.c: In function 'hputm': hput.c:279:17: warning: 'lroot' may be used uninitialized in this function [-Wmaybe-uninitialized] 279 | newkey[lroot+2] = (char) 0; | ~~~~~^~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o lin.o lin.c In file included from /usr/include/string.h:495, from hput.c:54: In function 'strncpy', inlined from 'hputs' at hput.c:339:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c: In function 'hputs': hput.c:333:19: note: length computed here 333 | lcval = (int) strlen (cval); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from hput.c:54: In function 'strncpy', inlined from 'hputcom' at hput.c:605:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'hputcom' at hput.c:613:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c: In function 'hputcom': hput.c:550:18: note: length computed here 550 | lcom = (int) strlen (comment); | ^~~~~~~~~~~~~~~~ hput.c:610:5: warning: 'c0' may be used uninitialized in this function [-Wmaybe-uninitialized] 610 | c1 = c0 + 2; | ~~~^~~~~~~~ In file included from /usr/include/string.h:495, from hput.c:54: In function 'strncpy', inlined from 'hadd' at hput.c:700:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c: In function 'hadd': hput.c:699:18: note: length computed here 699 | lkey = (int) strlen (keyword); | ^~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o cel.o cel.c hput.c: In function 'deg2str': hput.c:1073:23: warning: '%4d' directive writing between 4 and 11 bytes into a region of size 7 [-Wformat-overflow=] 1073 | sprintf (degform, "%%%4d", field); | ^~~ hput.c:1073:20: note: directive argument in the range [-2147483644, 2147483647] 1073 | sprintf (degform, "%%%4d", field); | ^~~~~~~ In file included from /usr/include/stdio.h:871, from hput.c:55: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 13 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c:1069:23: warning: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 1069 | sprintf (degform, "%%%d.%df", field, ndec); | ^~ hput.c:1069:20: note: directive argument in the range [-2147483644, 2147483647] 1069 | sprintf (degform, "%%%d.%df", field, ndec); | ^~~~~~~~~~ hput.c:1069:20: note: directive argument in the range [1, 2147483647] In file included from /usr/include/stdio.h:871, from hput.c:55: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 25 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c: In function 'num2str': hput.c:1114:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] 1114 | sprintf (numform, "%%.%df", ndec); | ^~ hput.c:1114:24: note: directive argument in the range [1, 2147483647] 1114 | sprintf (numform, "%%.%df", ndec); | ^~~~~~~~ In file included from /usr/include/stdio.h:871, from hput.c:55: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c:1108:27: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 1108 | sprintf (numform, "%%%dd", field); | ^~ hput.c:1108:24: note: directive argument in the range [1, 2147483647] 1108 | sprintf (numform, "%%%dd", field); | ^~~~~~~ In file included from /usr/include/stdio.h:871, from hput.c:55: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 13 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hput.c:1104:27: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 1104 | sprintf (numform, "%%%d.%df", field, ndec); | ^~ hput.c:1104:24: note: directive argument in the range [1, 2147483647] 1104 | sprintf (numform, "%%%d.%df", field, ndec); | ^~~~~~~~~~ hput.c:1104:24: note: directive argument in the range [1, 2147483647] In file included from /usr/include/stdio.h:871, from hput.c:55: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 24 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o proj.o proj.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o wcstrig.o wcstrig.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o sph.o sph.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o dateutil.o dateutil.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" -c -o distort.o distort.c distort.c: In function 'distortinit': distort.c:74:4: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] 74 | sprintf (keyword, "A_%d_%d", i, j); | ^~~~~~~ distort.c:74:4: warning: incompatible implicit declaration of built-in function 'sprintf' distort.c:42:1: note: include '' or provide a declaration of 'sprintf' 41 | #include "wcs.h" +++ |+#include 42 | distort.c:91:4: warning: incompatible implicit declaration of built-in function 'sprintf' 91 | sprintf (keyword, "B_%d_%d", i, j); | ^~~~~~~ distort.c:91:4: note: include '' or provide a declaration of 'sprintf' distort.c:108:4: warning: incompatible implicit declaration of built-in function 'sprintf' 108 | sprintf (keyword, "AP_%d_%d", i, j); | ^~~~~~~ distort.c:108:4: note: include '' or provide a declaration of 'sprintf' distort.c:125:4: warning: incompatible implicit declaration of built-in function 'sprintf' 125 | sprintf (keyword, "BP_%d_%d", i, j); | ^~~~~~~ distort.c:125:4: note: include '' or provide a declaration of 'sprintf' distort.c: In function 'getdistcode': distort.c:297:19: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 297 | dcode = (char *) calloc (8, sizeof (char)); | ^~~~~~ distort.c:297:19: warning: incompatible implicit declaration of built-in function 'calloc' distort.c:42:1: note: include '' or provide a declaration of 'calloc' 41 | #include "wcs.h" +++ |+#include 42 | distort.c: In function 'distortinit': distort.c:74:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 7 and 8 [-Wformat-overflow=] 74 | sprintf (keyword, "A_%d_%d", i, j); | ^~ distort.c:74:22: note: directive argument in the range [0, 2147483647] 74 | sprintf (keyword, "A_%d_%d", i, j); | ^~~~~~~~~ distort.c:74:4: note: 'sprintf' output between 6 and 16 bytes into a destination of size 12 74 | sprintf (keyword, "A_%d_%d", i, j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:91:28: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 7 and 8 [-Wformat-overflow=] 91 | sprintf (keyword, "B_%d_%d", i, j); | ^~ distort.c:91:22: note: directive argument in the range [0, 2147483647] 91 | sprintf (keyword, "B_%d_%d", i, j); | ^~~~~~~~~ distort.c:91:4: note: 'sprintf' output between 6 and 16 bytes into a destination of size 12 91 | sprintf (keyword, "B_%d_%d", i, j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:108:29: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 6 and 7 [-Wformat-overflow=] 108 | sprintf (keyword, "AP_%d_%d", i, j); | ^~ distort.c:108:22: note: directive argument in the range [0, 2147483647] 108 | sprintf (keyword, "AP_%d_%d", i, j); | ^~~~~~~~~~ distort.c:108:4: note: 'sprintf' output between 7 and 17 bytes into a destination of size 12 108 | sprintf (keyword, "AP_%d_%d", i, j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c:125:29: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 6 and 7 [-Wformat-overflow=] 125 | sprintf (keyword, "BP_%d_%d", i, j); | ^~ distort.c:125:22: note: directive argument in the range [0, 2147483647] 125 | sprintf (keyword, "BP_%d_%d", i, j); | ^~~~~~~~~~ distort.c:125:4: note: 'sprintf' output between 7 and 17 bytes into a destination of size 12 125 | sprintf (keyword, "BP_%d_%d", i, j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ distort.c: In function 'foc2pix': distort.c:162:6: warning: 's[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 162 | sum = s[0]; | ~~~~^~~~~~ distort.c: In function 'pix2foc': distort.c:223:6: warning: 's[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] 223 | sum = s[0]; | ~~~~^~~~~~ dateutil.c: In function 'lt2fd': dateutil.c:775:48: warning: ':' directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] 775 | sprintf (isotime, "%04d-%02d-%02dT%02d:%02d:%02d", | ^ In file included from /usr/include/stdio.h:871, from dateutil.c:262: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 32 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proj.c: In function 'qscfwd': proj.c:4134:8: warning: 'yf' may be used uninitialized in this function [-Wmaybe-uninitialized] 4134 | if (fabs(yf) > 1.0) { | ^~~~~~~~ proj.c:4128:8: warning: 'xf' may be used uninitialized in this function [-Wmaybe-uninitialized] 4128 | if (fabs(xf) > 1.0) { | ^~~~~~~~ dateutil.c: In function 'dt2fd': dateutil.c:337:23: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 31 [-Wformat-overflow=] 337 | sprintf (string, "%sT%s", dstring, tstring); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:871, from dateutil.c:262: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 64 bytes into a destination of size 32 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dateutil.c: In function 'ut2fd': dateutil.c:2956:48: warning: ':' directive writing 1 byte into a region of size between 0 and 16 [-Wformat-overflow=] 2956 | sprintf (isotime, "%04d-%02d-%02dT%02d:%02d:%02d", | ^ In file included from /usr/include/stdio.h:871, from dateutil.c:262: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 72 bytes into a destination of size 32 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dateutil.c: In function 'isdate': dateutil.c:3748:5: warning: 'imon' may be used uninitialized in this function [-Wmaybe-uninitialized] 3748 | if (imon > 0 && iday > 0) | ^ Building saoimage for architecture linux. cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLSB -DPSCRIPT -DQUIT -DMIRIAD -DFITS -DOIF -DIMTOOL -DFBCONFIG_2=\"/etc/imtoolrc\" clralloc.o clrctrl.o clrhard.o clrinit.o clrmap.o clrmenu.o clrread.o clrsetup.o clrvary.o cmddisp.o cmdimage.o cmdnew.o cmdparse.o crdinvrt.o crdrot.o crdset.o crdsynth.o crdtemp.o crdtrans.o csranli.o csrarea.o csrcoord.o csrctrl.o csrdraw.o csrgrab.o csrmove.o csrpoly1.o csrpoly2.o csrpoly3.o csrsave.o csrshape.o csrslct.o csrtext.o ctrlcntn.o ctrldisk.o ctrlfile.o ctrlgc.o ctrlmbox.o ctrlpipe.o ctrlsckt.o dispblnk.o dispbtmp.o dispdfse.o dispdthr.o display.o disppsct.o disppxmp.o editctrl.o editdraw.o editemcs.o editinit.o editline.o editrdrw.o grphbar.o grphbtmp.o grphctrl.o grphdraw.o grphgrab.o grphinit.o grphlbl.o grphline.o grphmove.o grpholap.o grphpos.o grphtext.o histdist.o histeql.o histlist.o histmap.o histscan.o histzero.o imgcheck.o imgflip.o imglogo.o imgnew.o imgparam.o imgread.o imgrot.o imgtrans.o irafcrd.o irafdisp.o irafenv.o iraffdbk.o irafimtl.o irafio.o irafpipe.o mainbffr.o mainevnt.o maininit.o mainkey.o mainslct.o mainutil.o menuctrl.o menuinit.o menupanl.o mgfyctrl.o mgfydraw.o mgfyinit.o mgfymark.o mgfytabl.o mgfyval.o pancopy.o pancrsr.o panctrl.o panimage.o panwndw.o readarr.o readfith.o readfits.o readint.o readiraf.o readreal.o rgnanli.o rgnctrl.o rgndraw.o rgndrop.o rgnmake.o rgnread.o rgntoken.o rgnwpros.o rgnwrite.o sclctrl.o sclmap.o wndwadj.o wndwconf.o wndwcre.o wndwinit.o wndwmaus.o prntcurs.o prntcent.o fitsfile.o imio.o wcsinit.o wcs.o worldpos.o platepos.o dsspos.o tnxpos.o wcscon.o slasubs.o imhfile.o hget.o iget.o hput.o wcslib.o lin.o cel.o proj.o wcstrig.o sph.o dateutil.o distort.o -o saoimage -lm btnlib/libbtn.a -lX11 -L/usr/X11R6/lib /usr/bin/ld: rgndraw.o: in function `.LANCHOR0': /builddir/build/BUILD/saoimage-1.35.1/rgndraw.c:52: multiple definition of `rgdraw'; csrtext.o:/builddir/build/BUILD/saoimage-1.35.1/csrtext.c:52: first defined here collect2: error: ld returned 1 exit status make[1]: *** [makefile.linux:247: saoimage] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/saoimage-1.35.1' make: *** [makefile:119: linux] Error 2 error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HjgdWP (%build) Bad exit status from /var/tmp/rpm-tmp.HjgdWP (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/saoimage.spec