+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tlf-0.9.31.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tlf-0.9.31.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for tlf-0.9.31.2 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31' Making all in doc gmake[2]: Entering directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31/doc' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31/doc' Making all in rules gmake[2]: Entering directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31/rules' gmake[3]: Entering directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31/rules' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31/rules' gmake[2]: Leaving directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31/rules' Making all in src gmake[2]: Entering directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT addarea.o -MD -MP -MF ".deps/addarea.Tpo" -c -o addarea.o addarea.c; \ then mv -f ".deps/addarea.Tpo" ".deps/addarea.Po"; else rm -f ".deps/addarea.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT addcall.o -MD -MP -MF ".deps/addcall.Tpo" -c -o addcall.o addcall.c; \ then mv -f ".deps/addcall.Tpo" ".deps/addcall.Po"; else rm -f ".deps/addcall.Tpo"; exit 1; fi addcall.c: In function 'addcall': addcall.c:101:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 101 | if ((arrldx_usa ==1) && ((countrynr == w_cty) || (countrynr == ve_cty))) | ^~ addcall.c:105:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 105 | if((country_mult==1) && (universal ==1)) | ^~ addcall.c:108:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 108 | if ((dx_arrlsections ==1) && ((countrynr == w_cty) || (countrynr == ve_cty))) | ^~ addcall.c:112:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 112 | if (pacc_pa_flg == 1) | ^~ addcall.c:65:13: warning: 'strncat' specified bound 20 equals destination size [-Wstringop-truncation] 65 | strncat(checkcall, hiscall, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addcall.c:65:13: warning: 'strncat' specified bound 20 equals destination size [-Wstringop-overflow=] addcall.c: In function 'addcall2': addcall.c:258:9: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 258 | strncpy (hiscall, lan_logline + 29, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addcall.c:298:25: warning: 'strncpy' output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 298 | strncpy (cqzone, zonebuffer, 3); //idem.... | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addcall.c:278:9: warning: 'strncat' specified bound 20 equals destination size [-Wstringop-overflow=] 278 | strncat(checkcall, hiscall, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT addmult.o -MD -MP -MF ".deps/addmult.Tpo" -c -o addmult.o addmult.c; \ then mv -f ".deps/addmult.Tpo" ".deps/addmult.Po"; else rm -f ".deps/addmult.Tpo"; exit 1; fi addmult.c: In function 'addmult2': addmult.c:342:17: warning: 'strcpy' offset [-25769803776, -12] is out of the bounds [0, 12000] of object 'mults' with type 'char[1000][12]' [-Warray-bounds] 342 | strcpy(mults[multarray_nr], comment); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from addmult.c:25: globalvars.h:6:13: note: 'mults' declared here 6 | extern char mults[MAX_MULTS][12]; // array of multipliers worked so far | ^~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT addpfx.o -MD -MP -MF ".deps/addpfx.Tpo" -c -o addpfx.o addpfx.c; \ then mv -f ".deps/addpfx.Tpo" ".deps/addpfx.Po"; else rm -f ".deps/addpfx.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT addspot.o -MD -MP -MF ".deps/addspot.Tpo" -c -o addspot.o addspot.c; \ then mv -f ".deps/addspot.Tpo" ".deps/addspot.Po"; else rm -f ".deps/addspot.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT audio.o -MD -MP -MF ".deps/audio.Tpo" -c -o audio.o audio.c; \ then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; else rm -f ".deps/audio.Tpo"; exit 1; fi audio.c: In function 'record': audio.c:669:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 669 | mvprintw(16,20, ""); | ^~ audio.c:680:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 680 | mvprintw(16,20, ""); | ^~ audio.c:692:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 692 | mvprintw(16,20, ""); | ^~ audio.c:703:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 703 | mvprintw(16,20, ""); | ^~ audio.c:714:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 714 | mvprintw(16,20, ""); | ^~ audio.c:725:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 725 | mvprintw(16,20, ""); | ^~ audio.c:736:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 736 | mvprintw(16,20, ""); | ^~ audio.c:747:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 747 | mvprintw(16,20, ""); | ^~ audio.c:758:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 758 | mvprintw(16,20, ""); | ^~ audio.c:769:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 769 | mvprintw(16,20, ""); | ^~ audio.c:780:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 780 | mvprintw(16,20, ""); | ^~ audio.c:791:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 791 | mvprintw(16,20, ""); | ^~ audio.c:803:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 803 | mvprintw(16,20, ""); | ^~ audio.c:815:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 815 | mvprintw(16,20, ""); | ^~ audio.c:850:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 850 | mvprintw(4, 10, ""); | ^~ audio.c:895:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 895 | mvprintw(18,20, ""); | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT autocq.o -MD -MP -MF ".deps/autocq.Tpo" -c -o autocq.o autocq.c; \ then mv -f ".deps/autocq.Tpo" ".deps/autocq.Po"; else rm -f ".deps/autocq.Tpo"; exit 1; fi autocq.c: In function 'auto_cq': autocq.c:62:93: warning: zero-length gnu_printf format string [-Wformat-zero-length] 62 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ autocq.c:103:74: warning: zero-length gnu_printf format string [-Wformat-zero-length] 103 | mvprintw(12,29, ""); | ^~ autocq.c: In function 'cw_char_length': autocq.c:137:1: warning: 'strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 137 | strncpy(cwmessage, message, 80); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ autocq.c: In function 'auto_cq': autocq.c:72:65: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 72 | strncpy(cwmessage, message[11], 79); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT background_process.o -MD -MP -MF ".deps/background_process.Tpo" -c -o background_process.o background_process.c; \ then mv -f ".deps/background_process.Tpo" ".deps/background_process.Po"; else rm -f ".deps/background_process.Tpo"; exit 1; fi background_process.c: In function 'cw_simulator': background_process.c:259:12: warning: variable 'x' set but not used [-Wunused-but-set-variable] 259 | static int x; | ^ background_process.c:357:17: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 159 [-Wstringop-truncation] 357 | strncat(buffer, datacpy,2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ background_process.c:384:17: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 159 [-Wstringop-truncation] 384 | strncat(buffer, datacpy,2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT calledit.o -MD -MP -MF ".deps/calledit.Tpo" -c -o calledit.o calledit.c; \ then mv -f ".deps/calledit.Tpo" ".deps/calledit.Po"; else rm -f ".deps/calledit.Tpo"; exit 1; fi calledit.c: In function 'calledit': calledit.c:52:36: warning: zero-length gnu_printf format string [-Wformat-zero-length] 52 | mvprintw(12, 29+b, ""); | ^~ calledit.c:76:46: warning: zero-length gnu_printf format string [-Wformat-zero-length] 76 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:87:46: warning: zero-length gnu_printf format string [-Wformat-zero-length] 87 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:101:46: warning: zero-length gnu_printf format string [-Wformat-zero-length] 101 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:113:46: warning: zero-length gnu_printf format string [-Wformat-zero-length] 113 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:121:46: warning: zero-length gnu_printf format string [-Wformat-zero-length] 121 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:129:46: warning: zero-length gnu_printf format string [-Wformat-zero-length] 129 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:146:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 146 | if (cnt > 1) | ^~ In file included from calledit.h:20, from calledit.c:25: /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:1198:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1198 | #define wattroff(win,at) wattr_off(win, NCURSES_CAST(attr_t, at), NULL) | ^~~~~~~~~ /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:1260:33: note: in expansion of macro 'wattroff' 1260 | #define attroff(at) wattroff(stdscr,(at)) | ^~~~~~~~ calledit.c:149:33: note: in expansion of macro 'attroff' 149 | attroff(A_STANDOUT); | ^~~~~~~ calledit.c:154:46: warning: zero-length gnu_printf format string [-Wformat-zero-length] 154 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:173:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 173 | if (cnt > 1) | ^~ /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:1198:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1198 | #define wattroff(win,at) wattr_off(win, NCURSES_CAST(attr_t, at), NULL) | ^~~~~~~~~ /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:1260:33: note: in expansion of macro 'wattroff' 1260 | #define attroff(at) wattroff(stdscr,(at)) | ^~~~~~~~ calledit.c:176:33: note: in expansion of macro 'attroff' 176 | attroff(A_STANDOUT); | ^~~~~~~ calledit.c:181:46: warning: zero-length gnu_printf format string [-Wformat-zero-length] 181 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:185:39: warning: the comparison will always evaluate as 'false' for the address of 'overwrite' will never be NULL [-Waddress] 185 | if (overwrite == 0) | ^~ /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:755:28: note: 'overwrite' declared here 755 | extern NCURSES_EXPORT(int) overwrite (const WINDOW*,WINDOW *); /* implemented */ | ^~~~~~~~~ calledit.c:236:54: warning: zero-length gnu_printf format string [-Wformat-zero-length] 236 | mvprintw(12, 29 + b, ""); | ^~ calledit.c:35:14: warning: variable 'insertflg' set but not used [-Wunused-but-set-variable] 35 | int cnt = 0, insertflg = 0; | ^~~~~~~~~ calledit.c: In function 'insert_char': calledit.c:301:47: warning: zero-length gnu_printf format string [-Wformat-zero-length] 301 | mvprintw(12, 29+curposition, ""); | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT callinput.o -MD -MP -MF ".deps/callinput.Tpo" -c -o callinput.o callinput.c; \ then mv -f ".deps/callinput.Tpo" ".deps/callinput.Po"; else rm -f ".deps/callinput.Tpo"; exit 1; fi callinput.c: In function 'callinput': callinput.c:208:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 208 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:302:77: warning: zero-length gnu_printf format string [-Wformat-zero-length] 302 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:333:55: warning: zero-length gnu_printf format string [-Wformat-zero-length] 333 | mvprintw(3,10,""); | ^~ callinput.c:419:87: warning: zero-length gnu_printf format string [-Wformat-zero-length] 419 | mvprintw(12, 29 + strlen(hiscall) , ""); | ^~ callinput.c:495:87: warning: zero-length gnu_printf format string [-Wformat-zero-length] 495 | mvprintw(12, 29 + strlen(hiscall) , ""); | ^~ callinput.c:523:87: warning: zero-length gnu_printf format string [-Wformat-zero-length] 523 | mvprintw(12, 29 + strlen(hiscall) , ""); | ^~ callinput.c:559:77: warning: zero-length gnu_printf format string [-Wformat-zero-length] 559 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:568:77: warning: zero-length gnu_printf format string [-Wformat-zero-length] 568 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:589:58: warning: zero-length gnu_printf format string [-Wformat-zero-length] 589 | mvprintw(12, 29, ""); | ^~ callinput.c:615:57: warning: zero-length gnu_printf format string [-Wformat-zero-length] 615 | mvprintw(29,12, ""); | ^~ callinput.c:637:57: warning: zero-length gnu_printf format string [-Wformat-zero-length] 637 | mvprintw(5, 0, ""); | ^~ callinput.c:661:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 661 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:681:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 681 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:693:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 693 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:706:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 706 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:718:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 718 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:729:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 729 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:740:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 740 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:751:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 751 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:762:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 762 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:773:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 773 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:785:85: warning: zero-length gnu_printf format string [-Wformat-zero-length] 785 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:801:73: warning: zero-length gnu_printf format string [-Wformat-zero-length] 801 | mvprintw(12, curx - 1, ""); | ^~ callinput.c:894:93: warning: zero-length gnu_printf format string [-Wformat-zero-length] 894 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ callinput.c:946:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 946 | else | ^~~~ callinput.c:949:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 949 | if (bandmap_pos > 0){ | ^~ callinput.c:952:58: warning: zero-length gnu_printf format string [-Wformat-zero-length] 952 | mvprintw(14, 17, ""); | ^~ callinput.c:988:41: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 988 | else | ^~~~ callinput.c:991:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 991 | if (bandmap_pos > 0){ | ^~ callinput.c:994:66: warning: zero-length gnu_printf format string [-Wformat-zero-length] 994 | mvprintw(14, 17, ""); | ^~ callinput.c:1026:64: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1026 | mvprintw(12,29,""); | ^~ callinput.c:1045:64: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1045 | mvprintw(12,29,""); | ^~ callinput.c:1252:83: warning: zero-length gnu_printf format string [-Wformat-zero-length] 1252 | mvprintw(12,29 + strlen(hiscall), ""); | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT changefreq.o -MD -MP -MF ".deps/changefreq.Tpo" -c -o changefreq.o changefreq.c; \ then mv -f ".deps/changefreq.Tpo" ".deps/changefreq.Po"; else rm -f ".deps/changefreq.Tpo"; exit 1; fi changefreq.c: In function 'change_freq': changefreq.c:34:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 34 | if (trx_control == 0) | ^~ changefreq.c:37:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 37 | while (1) { | ^~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT changepars.o -MD -MP -MF ".deps/changepars.Tpo" -c -o changepars.o changepars.c; \ then mv -f ".deps/changepars.Tpo" ".deps/changepars.Po"; else rm -f ".deps/changepars.Tpo"; exit 1; fi changepars.c: In function 'changepars': changepars.c:137:26: warning: zero-length gnu_printf format string [-Wformat-zero-length] 137 | mvprintw(12, 29, ""); | ^~ changepars.c:145:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 145 | for (k = 0; parameterstring[k]; k++) | ^~~ changepars.c:149:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 149 | for (i=0 ; i <= maxpar ; i++){ | ^~~ changepars.c:566:41: warning: too many arguments for format [-Wformat-extra-args] 566 | mvprintw(12,29, "CQD: pgup/dwn", cqdelay); | ^~~~~~~~~~~~~~~ changepars.c:604:63: warning: zero-length gnu_printf format string [-Wformat-zero-length] 604 | mvprintw(12, 29 + strlen(hiscall) , ""); | ^~ changepars.c:756:26: warning: zero-length gnu_printf format string [-Wformat-zero-length] 756 | mvprintw(12, 29, ""); | ^~ changepars.c: In function 'networkinfo': changepars.c:803:49: warning: too many arguments for format [-Wformat-extra-args] 803 | mvprintw(4 + inode, 28, "Packets sent: %d | %d ", send_packets[inode], send_error[inode], nodes); | ^~~~~~~~~~~~~~~~~~~~~~~~ changepars.c:784:18: warning: variable 'key' set but not used [-Wunused-but-set-variable] 784 | int i, j, inode, key; | ^~~ changepars.c: In function 'multiplierinfo': changepars.c:849:10: warning: variable 'key' set but not used [-Wunused-but-set-variable] 849 | int j, k,key, vert, hor, cnt, found; | ^~~ changepars.c: In function 'debug_tty': changepars.c:1083:35: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1083 | mvprintw(7,40, "Length = %d characters",strlen(line)); | ~^ ~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT checklogfile.o -MD -MP -MF ".deps/checklogfile.Tpo" -c -o checklogfile.o checklogfile.c; \ then mv -f ".deps/checklogfile.Tpo" ".deps/checklogfile.Po"; else rm -f ".deps/checklogfile.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT checkparameters.o -MD -MP -MF ".deps/checkparameters.Tpo" -c -o checkparameters.o checkparameters.c; \ then mv -f ".deps/checkparameters.Tpo" ".deps/checkparameters.Po"; else rm -f ".deps/checkparameters.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT cleanup.o -MD -MP -MF ".deps/cleanup.Tpo" -c -o cleanup.o cleanup.c; \ then mv -f ".deps/cleanup.Tpo" ".deps/cleanup.Po"; else rm -f ".deps/cleanup.Tpo"; exit 1; fi cleanup.c: In function 'cleanup': cleanup.c:43:26: warning: zero-length gnu_printf format string [-Wformat-zero-length] 43 | mvprintw(12, 29, ""); | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT clear_display.o -MD -MP -MF ".deps/clear_display.Tpo" -c -o clear_display.o clear_display.c; \ then mv -f ".deps/clear_display.Tpo" ".deps/clear_display.Po"; else rm -f ".deps/clear_display.Tpo"; exit 1; fi clear_display.c: In function 'clear_display': clear_display.c:64:14: warning: zero-length gnu_printf format string [-Wformat-zero-length] 64 | mvprintw(0,0,""); | ^~ clear_display.c:78:25: warning: zero-length gnu_printf format string [-Wformat-zero-length] 78 | mvprintw(6, 0, ""); | ^~ clear_display.c:154:31: warning: zero-length gnu_printf format string [-Wformat-zero-length] 154 | mvprintw(cury, curx, ""); | ^~ clear_display.c:103:1: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 77 [-Wstringop-truncation] 103 | strncat (month, time_buf + 2, 2); /* month for muf calc */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT cluster_bg.o -MD -MP -MF ".deps/cluster_bg.Tpo" -c -o cluster_bg.o cluster_bg.c; \ then mv -f ".deps/cluster_bg.Tpo" ".deps/cluster_bg.Po"; else rm -f ".deps/cluster_bg.Tpo"; exit 1; fi cluster_bg.c: In function 'cluster_bg': cluster_bg.c:39:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 39 | if (k > (MAX_SPOTS -2)) | ^~ cluster_bg.c:42:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 42 | if (clustermode != 9) { // map | ^~ cluster_bg.c: In function 'getclusterinfo': cluster_bg.c:104:9: warning: variable 'nd' set but not used [-Wunused-but-set-variable] 104 | int bg, nd, i; | ^~ cluster_bg.c:104:5: warning: variable 'bg' set but not used [-Wunused-but-set-variable] 104 | int bg, nd, i; | ^~ cluster_bg.c: In function 'loadbandmap': cluster_bg.c:437:82: warning: the comparison will always evaluate as 'false' for the address of 'tmp1' will never be NULL [-Waddress] 437 | if ((tmp1==NULL) || (tmp2 == NULL)) break; | ^~ cluster_bg.c:284:6: note: 'tmp1' declared here 284 | char tmp1[81]; | ^~~~ cluster_bg.c:437:99: warning: the comparison will always evaluate as 'false' for the address of 'tmp2' will never be NULL [-Waddress] 437 | if ((tmp1==NULL) || (tmp2 == NULL)) break; | ^~ cluster_bg.c:285:6: note: 'tmp2' declared here 285 | char tmp2[81]; | ^~~~ cluster_bg.c:520:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 520 | if ((call_band[y] & BAND160) == 0) | ^~ cluster_bg.c:522:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 522 | break; | ^~~~~ cluster_bg.c:526:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 526 | if ((call_band[y] & BAND80) == 0) | ^~ cluster_bg.c:528:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 528 | break; | ^~~~~ cluster_bg.c:532:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 532 | if ((call_band[y] & BAND40) == 0) | ^~ cluster_bg.c:534:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 534 | break; | ^~~~~ cluster_bg.c:538:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 538 | if ((call_band[y] & BAND20) == 0) | ^~ cluster_bg.c:540:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 540 | break; | ^~~~~ cluster_bg.c:544:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 544 | if ((call_band[y] & BAND15) == 0) | ^~ cluster_bg.c:546:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 546 | break; | ^~~~~ cluster_bg.c:550:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 550 | if ((call_band[y] & BAND10) == 0) | ^~ cluster_bg.c:552:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 552 | break; | ^~~~~ cluster_bg.c:270:5: warning: variable 'dupe' set but not used [-Wunused-but-set-variable] 270 | int dupe; | ^~~~ cluster_bg.c: In function 'getclusterinfo': cluster_bg.c:197:25: warning: 'strncpy' output may be truncated copying 82 bytes from a string of length 16399 [-Wstringop-truncation] 197 | strncpy(lastwwv, spot_ptr[i], 82); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cluster_bg.c:190:25: warning: 'strncpy' output may be truncated copying 82 bytes from a string of length 16399 [-Wstringop-truncation] 190 | strncpy(lastwwv, spot_ptr[i], 82); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cluster_bg.c: In function 'cluster_bg': cluster_bg.c:65:57: warning: 'strncpy' specified bound 82 equals destination size [-Wstringop-truncation] 65 | strncpy (textbuffer, spot_ptr[spotarray[l]], 82); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cluster_bg.c:69:65: warning: 'strncpy' output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation] 69 | strncpy(spotinfo[l], textbuffer+17, 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cluster_bg.c:70:65: warning: 'strncat' output may be truncated copying 8 bytes from a string of length 12 [-Wstringop-truncation] 70 | strncat(spotinfo[l], textbuffer+69,8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cluster_bg.c:48:57: warning: 'strncpy' specified bound 82 equals destination size [-Wstringop-truncation] 48 | strncpy (textbuffer, spot_ptr[spotarray[l]], 82); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cluster_bg.c:52:65: warning: 'strncpy' output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation] 52 | strncpy(spotinfo[l], textbuffer+17, 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cluster_bg.c:53:65: warning: 'strncat' output may be truncated copying 8 bytes from a string of length 12 [-Wstringop-truncation] 53 | strncat(spotinfo[l], textbuffer+69,8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT clusterinfo.o -MD -MP -MF ".deps/clusterinfo.Tpo" -c -o clusterinfo.o clusterinfo.c; \ then mv -f ".deps/clusterinfo.Tpo" ".deps/clusterinfo.Po"; else rm -f ".deps/clusterinfo.Tpo"; exit 1; fi clusterinfo.c: In function 'clusterinfo': clusterinfo.c:121:49: warning: zero-length gnu_printf format string [-Wformat-zero-length] 121 | mvprintw(12,0, ""); | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT deleteqso.o -MD -MP -MF ".deps/deleteqso.Tpo" -c -o deleteqso.o deleteqso.c; \ then mv -f ".deps/deleteqso.Tpo" ".deps/deleteqso.Po"; else rm -f ".deps/deleteqso.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT displayit.o -MD -MP -MF ".deps/displayit.Tpo" -c -o displayit.o displayit.c; \ then mv -f ".deps/displayit.Tpo" ".deps/displayit.Po"; else rm -f ".deps/displayit.Tpo"; exit 1; fi displayit.c: In function 'displayit': displayit.c:48:32: warning: zero-length gnu_printf format string [-Wformat-zero-length] 48 | mvprintw(5, 0, ""); | ^~ displayit.c:39:17: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 39 | strncat(term2buf, termbuf, strlen(termbuf) - 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ displayit.c:39:45: note: length computed here 39 | strncat(term2buf, termbuf, strlen(termbuf) - 1 ); | ^~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT edit_last.o -MD -MP -MF ".deps/edit_last.Tpo" -c -o edit_last.o edit_last.c; \ then mv -f ".deps/edit_last.Tpo" ".deps/edit_last.Po"; else rm -f ".deps/edit_last.Tpo"; exit 1; fi edit_last.c: In function 'edit_last': edit_last.c:49:35: warning: zero-length gnu_printf format string [-Wformat-zero-length] 49 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:59:59: warning: zero-length gnu_printf format string [-Wformat-zero-length] 59 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:65:59: warning: zero-length gnu_printf format string [-Wformat-zero-length] 65 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:77:59: warning: zero-length gnu_printf format string [-Wformat-zero-length] 77 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:87:59: warning: zero-length gnu_printf format string [-Wformat-zero-length] 87 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:103:59: warning: zero-length gnu_printf format string [-Wformat-zero-length] 103 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:115:52: warning: zero-length gnu_printf format string [-Wformat-zero-length] 115 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:123:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] 123 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:132:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] 132 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:140:59: warning: zero-length gnu_printf format string [-Wformat-zero-length] 140 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:149:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] 149 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:158:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] 158 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:167:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] 167 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:177:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] 177 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:186:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] 186 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:195:51: warning: zero-length gnu_printf format string [-Wformat-zero-length] 195 | mvprintw(7 + editline, b, ""); | ^~ edit_last.c:208:59: warning: zero-length gnu_printf format string [-Wformat-zero-length] 208 | mvprintw(7 + editline, b, ""); | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT editlog.o -MD -MP -MF ".deps/editlog.Tpo" -c -o editlog.o editlog.c; \ then mv -f ".deps/editlog.Tpo" ".deps/editlog.Po"; else rm -f ".deps/editlog.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT freq_display.o -MD -MP -MF ".deps/freq_display.Tpo" -c -o freq_display.o freq_display.c; \ then mv -f ".deps/freq_display.Tpo" ".deps/freq_display.Po"; else rm -f ".deps/freq_display.Tpo"; exit 1; fi freq_display.c: In function 'freq_display': freq_display.c:57:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 57 | if (fbuffer[6] != ' ') | ^~ In file included from freq_display.h:20, from freq_display.c:20: /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:1197:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1197 | #define wattron(win,at) wattr_on(win, NCURSES_CAST(attr_t, at), NULL) | ^~~~~~~~ /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:1261:33: note: in expansion of macro 'wattron' 1261 | #define attron(at) wattron(stdscr,(at)) | ^~~~~~~ freq_display.c:60:9: note: in expansion of macro 'attron' 60 | attron(COLOR_PAIR(COLOR_GREEN) | A_STANDOUT); | ^~~~~~ freq_display.c:29:5: warning: variable 'location' set but not used [-Wunused-but-set-variable] 29 | int location = 0; | ^~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT get_time.o -MD -MP -MF ".deps/get_time.Tpo" -c -o get_time.o get_time.c; \ then mv -f ".deps/get_time.Tpo" ".deps/get_time.Po"; else rm -f ".deps/get_time.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT getctydata.o -MD -MP -MF ".deps/getctydata.Tpo" -c -o getctydata.o getctydata.c; \ then mv -f ".deps/getctydata.Tpo" ".deps/getctydata.Po"; else rm -f ".deps/getctydata.Tpo"; exit 1; fi getctydata.c: In function 'getctydata': getctydata.c:102:41: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 102 | strncpy(checkcall, checkcall, loc + 1); | ^~~~~~~~~ ~~~~~~~~~ getctydata.c:37:14: warning: variable 'portable' set but not used [-Wunused-but-set-variable] 37 | char portable = '\0'; | ^~~~~~~~ getctydata.c: In function 'getctydata2': getctydata.c:299:17: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 299 | strncpy(checkcall, checkcall, loc + 1); | ^~~~~~~ getctydata.c:260:14: warning: variable 'portable' set but not used [-Wunused-but-set-variable] 260 | char portable = '\0'; | ^~~~~~~~ getctydata.c:259:13: warning: variable 'exception' set but not used [-Wunused-but-set-variable] 259 | int exception; | ^~~~~~~~~ getctydata.c: In function 'getctydata': getctydata.c:200:41: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 200 | strncpy (cqzone, "03",2); | ^~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:203:41: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 203 | strncpy (cqzone, "04",2); | ^~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:206:41: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 206 | strncpy (cqzone, "05",2); | ^~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:216:41: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 216 | strncpy (cqzone, "03",2); | ^~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:219:41: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 219 | strncpy (cqzone, "04",2); | ^~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:221:42: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 221 | } else strncpy (cqzone, "05",2); | ^~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:56:9: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 56 | strncpy (findcall, checkcall, 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:72:48: warning: '%s' directive writing between 1 and 16 bytes into a region of size between 1 and 14 [-Wformat-overflow=] 72 | sprintf(checkcall, "%s/%s", call2, call1); | ^~ ~~~~~ getctydata.c:72:25: note: 'sprintf' output between 5 and 33 bytes into a destination of size 17 72 | sprintf(checkcall, "%s/%s", call2, call1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:138:17: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 138 | strncpy(checkncall , findcall, sizeof(checkncall) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getctydata.c:232:9: warning: 'strncpy' output may be truncated copying 2 bytes from a string of length 17999 [-Wstringop-truncation] 232 | strncpy (ituzone, ituarray[w], 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT getexchange.o -MD -MP -MF ".deps/getexchange.Tpo" -c -o getexchange.o getexchange.c; \ then mv -f ".deps/getexchange.Tpo" ".deps/getexchange.Po"; else rm -f ".deps/getexchange.Tpo"; exit 1; fi getexchange.c: In function 'getexchange': getexchange.c:136:65: warning: zero-length gnu_printf format string [-Wformat-zero-length] 136 | mvprintw(12, curx - 1, ""); | ^~ getexchange.c:150:82: warning: zero-length gnu_printf format string [-Wformat-zero-length] 150 | mvprintw(12, 54, ""); | ^~ getexchange.c:166:93: warning: zero-length gnu_printf format string [-Wformat-zero-length] 166 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ getexchange.c:179:117: warning: zero-length gnu_printf format string [-Wformat-zero-length] 179 | mvprintw(12, 29 + strlen(hiscall), ""); | ^~ getexchange.c:192:81: warning: zero-length gnu_printf format string [-Wformat-zero-length] 192 | mvprintw(5, 0, ""); | ^~ getexchange.c:207:81: warning: zero-length gnu_printf format string [-Wformat-zero-length] 207 | mvprintw(5, 0, ""); | ^~ getexchange.c:218:73: warning: zero-length gnu_printf format string [-Wformat-zero-length] 218 | mvprintw(5, 0, ""); | ^~ getexchange.c:276:70: warning: zero-length gnu_printf format string [-Wformat-zero-length] 276 | mvprintw(5,0,""); | ^~ getexchange.c:278:79: warning: zero-length gnu_printf format string [-Wformat-zero-length] 278 | mvprintw(cury, curx, ""); | ^~ getexchange.c:81:5: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 81 | int retval; | ^~~~~~ getexchange.c: In function 'checkexchange': getexchange.c:549:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 549 | for (i=0; i < strlen(comment)-1; i++); | ^~~ getexchange.c:551:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 551 | switch ((int) comment[i]) { | ^~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT getmessages.o -MD -MP -MF ".deps/getmessages.Tpo" -c -o getmessages.o getmessages.c; \ then mv -f ".deps/getmessages.Tpo" ".deps/getmessages.Po"; else rm -f ".deps/getmessages.Tpo"; exit 1; fi getmessages.c: In function 'getmessages': getmessages.c:56:1: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 56 | strncat(printcall, call, strlen(call)-1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getmessages.c:56:26: note: length computed here 56 | strncat(printcall, call, strlen(call)-1 ); | ^~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT getpx.o -MD -MP -MF ".deps/getpx.Tpo" -c -o getpx.o getpx.c; \ then mv -f ".deps/getpx.Tpo" ".deps/getpx.Po"; else rm -f ".deps/getpx.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT getsummary.o -MD -MP -MF ".deps/getsummary.Tpo" -c -o getsummary.o getsummary.c; \ then mv -f ".deps/getsummary.Tpo" ".deps/getsummary.Po"; else rm -f ".deps/getsummary.Tpo"; exit 1; fi getsummary.c: In function 'getsummary': getsummary.c:60:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 60 | mvprintw(15,1,""); | ^~ getsummary.c:70:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 70 | mvprintw(15,1,""); | ^~ getsummary.c:88:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 88 | mvprintw(15,1,""); | ^~ getsummary.c:99:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 99 | mvprintw(15,1,""); | ^~ getsummary.c:110:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 110 | mvprintw(15,1,""); | ^~ getsummary.c:121:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 121 | mvprintw(15,1,""); | ^~ getsummary.c:133:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 133 | mvprintw(15,1,""); | ^~ getsummary.c:159:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 159 | mvprintw(15,1,""); | ^~ getsummary.c:171:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 171 | mvprintw(15,1,""); | ^~ getsummary.c:188:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 188 | mvprintw(15,1,""); | ^~ getsummary.c:200:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 200 | mvprintw(15,1,""); | ^~ getsummary.c:212:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 212 | mvprintw(15,1,""); | ^~ getsummary.c:224:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 224 | mvprintw(15,1,""); | ^~ getsummary.c:236:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 236 | mvprintw(15,1,""); | ^~ getsummary.c:248:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 248 | mvprintw(15,1,""); | ^~ getsummary.c:64:17: warning: 'strncpy' output may be truncated copying 10 bytes from a string of length 79 [-Wstringop-truncation] 64 | strncpy(exchange, buffer, 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT gettxinfo.o -MD -MP -MF ".deps/gettxinfo.Tpo" -c -o gettxinfo.o gettxinfo.c; \ then mv -f ".deps/gettxinfo.Tpo" ".deps/gettxinfo.Po"; else rm -f ".deps/gettxinfo.Tpo"; exit 1; fi gettxinfo.c: In function 'gettxinfo': gettxinfo.c:308:19: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 308 | } else | ^~~~ gettxinfo.c:311:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 311 | if (retval != 0) { | ^~ gettxinfo.c:52:14: warning: variable 'qrg_string' set but not used [-Wunused-but-set-variable] 52 | char qrg_string[8]; | ^~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT getwwv.o -MD -MP -MF ".deps/getwwv.Tpo" -c -o getwwv.o getwwv.c; \ then mv -f ".deps/getwwv.Tpo" ".deps/getwwv.Po"; else rm -f ".deps/getwwv.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT grabspot.o -MD -MP -MF ".deps/grabspot.Tpo" -c -o grabspot.o grabspot.c; \ then mv -f ".deps/grabspot.Tpo" ".deps/grabspot.Po"; else rm -f ".deps/grabspot.Tpo"; exit 1; fi grabspot.c: In function 'grabspot': grabspot.c:112:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 112 | } else ; | ^~~~ grabspot.c:115:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 115 | return(0); | ^~~~~~ grabspot.c:86:9: warning: 'strncpy' output may be truncated copying 12 bytes from a string of length 54 [-Wstringop-truncation] 86 | strncpy(hiscall, bufferstr+26, 12); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ grabspot.c:60:25: warning: 'strncpy' output may be truncated copying 12 bytes from a string of length 54 [-Wstringop-truncation] 60 | strncpy(hiscall, bufferstr+26, 12); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT initial_exchange.o -MD -MP -MF ".deps/initial_exchange.Tpo" -c -o initial_exchange.o initial_exchange.c; \ then mv -f ".deps/initial_exchange.Tpo" ".deps/initial_exchange.Po"; else rm -f ".deps/initial_exchange.Tpo"; exit 1; fi initial_exchange.c: In function 'make_ie_list': initial_exchange.c:88:25: warning: 'strncpy' output may be truncated copying 13 bytes from a string of length 90 [-Wstringop-truncation] 88 | strncpy (new->call,inputbuffer, MAX_CALL_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ initial_exchange.c:89:25: warning: 'strncpy' specified bound 30 equals destination size [-Wstringop-truncation] 89 | strncpy (new->exchange, loc+1, MAX_IE_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT keyer.o -MD -MP -MF ".deps/keyer.Tpo" -c -o keyer.o keyer.c; \ then mv -f ".deps/keyer.Tpo" ".deps/keyer.Po"; else rm -f ".deps/keyer.Tpo"; exit 1; fi keyer.c: In function 'keyer': keyer.c:105:39: warning: zero-length gnu_printf format string [-Wformat-zero-length] 105 | mvprintw(4,0,""); | ^~ keyer.c:119:56: warning: zero-length gnu_printf format string [-Wformat-zero-length] 119 | mvprintw(5, curx - 1, ""); | ^~ keyer.c:225:54: warning: zero-length gnu_printf format string [-Wformat-zero-length] 225 | mvprintw(5,0,""); | ^~ keyer.c:297:55: warning: zero-length gnu_printf format string [-Wformat-zero-length] 297 | mvprintw(1,7, ""); | ^~ keyer.c:324:57: warning: zero-length gnu_printf format string [-Wformat-zero-length] 324 | mvprintw(5, 0, ""); | ^~ keyer.c:326:64: warning: zero-length gnu_printf format string [-Wformat-zero-length] 326 | mvprintw(cury, curx, ""); | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT lancode.o -MD -MP -MF ".deps/lancode.Tpo" -c -o lancode.o lancode.c; \ then mv -f ".deps/lancode.Tpo" ".deps/lancode.Po"; else rm -f ".deps/lancode.Tpo"; exit 1; fi lancode.c: In function 'lanrecv_init': lancode.c:71:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 71 | bzero(&lan_sin, sizeof(lan_sin)); | ^~~~~ lancode.c:71:3: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] lancode.c: In function 'lan_send_init': lancode.c:166:17: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] 166 | bzero(&bc_address[node], sizeof(bc_address[node])); /* empty data structure */ | ^~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT last10.o -MD -MP -MF ".deps/last10.Tpo" -c -o last10.o last10.c; \ then mv -f ".deps/last10.Tpo" ".deps/last10.Po"; else rm -f ".deps/last10.Tpo"; exit 1; fi last10.c: In function 'last10': last10.c:52:26: warning: 'strncpy' specified bound 85 equals destination size [-Wstringop-truncation] 52 | if (counter > 0) strncpy(input, qsos[counter], 85); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT listmessages.o -MD -MP -MF ".deps/listmessages.Tpo" -c -o listmessages.o listmessages.c; \ then mv -f ".deps/listmessages.Tpo" ".deps/listmessages.Po"; else rm -f ".deps/listmessages.Tpo"; exit 1; fi listmessages.c: In function 'listmessages': listmessages.c:38:17: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 38 | strncat (printbuffer, message[i], strlen(message[i]) -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ listmessages.c:38:53: note: length computed here 38 | strncat (printbuffer, message[i], strlen(message[i]) -1); | ^~~~~~~~~~~~~~~~~~ listmessages.c:52:17: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 52 | strncat (printbuffer, message[i], strlen(message[i]) -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ listmessages.c:52:53: note: length computed here 52 | strncat (printbuffer, message[i], strlen(message[i]) -1); | ^~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT log_to_disk.o -MD -MP -MF ".deps/log_to_disk.Tpo" -c -o log_to_disk.o log_to_disk.c; \ then mv -f ".deps/log_to_disk.Tpo" ".deps/log_to_disk.Po"; else rm -f ".deps/log_to_disk.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT logit.o -MD -MP -MF ".deps/logit.Tpo" -c -o logit.o logit.c; \ then mv -f ".deps/logit.Tpo" ".deps/logit.Po"; else rm -f ".deps/logit.Tpo"; exit 1; fi logit.c: In function 'logit': logit.c:76:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 76 | else | ^~~~ logit.c:80:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 80 | qrg_out = sendqrg(); | ^~~~~~~ logit.c:109:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 109 | if (exchange_serial == 1) | ^~ In file included from logit.h:22, from logit.c:25: /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:1287:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1287 | #define refresh() wrefresh(stdscr) | ^~~~~~~~ logit.c:111:57: note: in expansion of macro 'refresh' 111 | refresh(); | ^~~~~~~ logit.c:180:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 180 | if (exchange_serial == 1) | ^~ /home/pbulk/build/ham/tlf/work/.buildlink/include/ncurses/curses.h:1287:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1287 | #define refresh() wrefresh(stdscr) | ^~~~~~~~ logit.c:182:57: note: in expansion of macro 'refresh' 182 | refresh(); | ^~~~~~~ logit.c:251:30: warning: zero-length gnu_printf format string [-Wformat-zero-length] 251 | mvprintw(5,0,""); | ^~ logit.c:253:39: warning: zero-length gnu_printf format string [-Wformat-zero-length] 253 | mvprintw(cury, curx, ""); | ^~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT logview.o -MD -MP -MF ".deps/logview.Tpo" -c -o logview.o logview.c; \ then mv -f ".deps/logview.Tpo" ".deps/logview.Po"; else rm -f ".deps/logview.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT makelogline.o -MD -MP -MF ".deps/makelogline.Tpo" -c -o makelogline.o makelogline.c; \ then mv -f ".deps/makelogline.Tpo" ".deps/makelogline.Po"; else rm -f ".deps/makelogline.Tpo"; exit 1; fi makelogline.c: In function 'makelogline': makelogline.c:138:13: warning: array subscript 6 is above array bounds of 'char[5]' [-Warray-bounds] 138 | grid[6]='\0'; | ~~~~^~~ makelogline.c:39:6: note: while referencing 'grid' 39 | char grid[5] = ""; | ^~~~ makelogline.c:77:33: warning: '%3d' directive writing between 3 and 4 bytes into a region of size 3 [-Wformat-overflow=] 77 | sprintf (khz, " %3d", fnr); // show freq. | ^~~ makelogline.c:77:31: note: directive argument in the range [-999, 999] 77 | sprintf (khz, " %3d", fnr); // show freq. | ^~~~~~ makelogline.c:77:17: note: 'sprintf' output between 5 and 6 bytes into a destination of size 4 77 | sprintf (khz, " %3d", fnr); // show freq. | ^~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:100:1: warning: 'strncat' output may be truncated copying between 0 and 15 bytes from a string of length 49 [-Wstringop-truncation] 100 | strncat (logline4, fillspaces, (15 - strlen(hiscall)) ); /* 44 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:164:1: warning: 'strncat' output may be truncated copying 20 bytes from a string of length 49 [-Wstringop-truncation] 164 | strncat (logline4, fillspaces, (20)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:173:9: warning: 'strncat' output may be truncated copying between 0 and 5 bytes from a string of length 49 [-Wstringop-truncation] 173 | strncat (logline4, fillspaces, (5 - strlen(pxstr))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:174:8: warning: 'strncat' output may be truncated copying 5 bytes from a string of length 49 [-Wstringop-truncation] 174 | } else strncat (logline4, fillspaces, 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:250:17: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 49 [-Wstringop-truncation] 250 | strncat (logline4, fillspaces, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:254:17: warning: 'strncat' output may be truncated copying 1 byte from a string of length 49 [-Wstringop-truncation] 254 | strncat (logline4, fillspaces, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:342:17: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 49 [-Wstringop-truncation] 342 | strncat (logline4, fillspaces, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:346:17: warning: 'strncat' output may be truncated copying 1 byte from a string of length 49 [-Wstringop-truncation] 346 | strncat (logline4, fillspaces, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:359:9: warning: 'strncat' output may be truncated copying 4 bytes from a string of length 49 [-Wstringop-truncation] 359 | strncat (logline4, fillspaces, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:304:17: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 49 [-Wstringop-truncation] 304 | strncat (logline4, fillspaces, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:308:17: warning: 'strncat' output may be truncated copying 1 byte from a string of length 49 [-Wstringop-truncation] 308 | strncat (logline4, fillspaces, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:228:17: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 49 [-Wstringop-truncation] 228 | strncat (logline4, fillspaces, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:232:17: warning: 'strncat' output may be truncated copying 1 byte from a string of length 49 [-Wstringop-truncation] 232 | strncat (logline4, fillspaces, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:241:17: warning: 'strncat' output may be truncated copying 9 bytes from a string of length 49 [-Wstringop-truncation] 241 | strncat (logline4, fillspaces, 9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:184:17: warning: 'strncat' output may be truncated copying 2 bytes from a string of length 49 [-Wstringop-truncation] 184 | strncat (logline4, fillspaces, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makelogline.c:188:17: warning: 'strncat' output may be truncated copying 1 byte from a string of length 49 [-Wstringop-truncation] 188 | strncat (logline4, fillspaces, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT messagechange.o -MD -MP -MF ".deps/messagechange.Tpo" -c -o messagechange.o messagechange.c; \ then mv -f ".deps/messagechange.Tpo" ".deps/messagechange.Po"; else rm -f ".deps/messagechange.Tpo"; exit 1; fi messagechange.c: In function 'message_change': messagechange.c:81:57: warning: zero-length gnu_printf format string [-Wformat-zero-length] 81 | mvprintw(16,4, ""); | ^~ messagechange.c:128:65: warning: zero-length gnu_printf format string [-Wformat-zero-length] 128 | mvprintw(16,4, ""); | ^~ messagechange.c:160:66: warning: zero-length gnu_printf format string [-Wformat-zero-length] 160 | mvprintw (12,29,""); | ^~ messagechange.c:123:49: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 123 | strncat(printbuf, message[bufnr] , strlen(message[bufnr]) -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messagechange.c:123:84: note: length computed here 123 | strncat(printbuf, message[bufnr] , strlen(message[bufnr]) -1); | ^~~~~~~~~~~~~~~~~~~~~~ messagechange.c:77:41: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 77 | strncat(printbuf, message[bufnr] , strlen(message[bufnr]) -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messagechange.c:77:76: note: length computed here 77 | strncat(printbuf, message[bufnr] , strlen(message[bufnr]) -1); | ^~~~~~~~~~~~~~~~~~~~~~ messagechange.c:171:49: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 171 | strncpy(sp_return, message[12], 79); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messagechange.c:172:49: warning: 'strncpy' output may be truncated copying 79 bytes from a string of length 79 [-Wstringop-truncation] 172 | strncpy(cq_return, message[13], 79); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT muf.o -MD -MP -MF ".deps/muf.Tpo" -c -o muf.o muf.c; \ then mv -f ".deps/muf.Tpo" ".deps/muf.Po"; else rm -f ".deps/muf.Tpo"; exit 1; fi muf.c: In function 'muf': muf.c:291:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 291 | for (i = 0; i <= 24; i++) | ^~~ muf.c:294:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 294 | mvprintw(1,40, "%s", country ); | ^~~~~~~~ muf.c:214:29: warning: variable 'iv' set but not used [-Wunused-but-set-variable] 214 | int su, sd, su_min, sd_min, iv; | ^~ muf.c:209:5: warning: variable 'key' set but not used [-Wunused-but-set-variable] 209 | int key; | ^~~ muf.c:208:12: warning: variable 'correct' set but not used [-Wunused-but-set-variable] 208 | static int correct; | ^~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT nicebox.o -MD -MP -MF ".deps/nicebox.Tpo" -c -o nicebox.o nicebox.c; \ then mv -f ".deps/nicebox.Tpo" ".deps/nicebox.Po"; else rm -f ".deps/nicebox.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT note.o -MD -MP -MF ".deps/note.Tpo" -c -o note.o note.c; \ then mv -f ".deps/note.Tpo" ".deps/note.Po"; else rm -f ".deps/note.Tpo"; exit 1; fi note.c: In function 'include_note': note.c:46:23: warning: zero-length gnu_printf format string [-Wformat-zero-length] 46 | mvprintw(15,1,""); | ^~ note.c:60:25: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 60 | strncat(buffer2, buffer, strlen(buffer)); /* strip \n */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note.c:75:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 75 | strncpy(logline4, buffer2, (strlen(buffer2)-1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note.c:75:54: note: length computed here 75 | strncpy(logline4, buffer2, (strlen(buffer2)-1)); | ^~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT netkeyer.o -MD -MP -MF ".deps/netkeyer.Tpo" -c -o netkeyer.o netkeyer.c; \ then mv -f ".deps/netkeyer.Tpo" ".deps/netkeyer.Po"; else rm -f ".deps/netkeyer.Tpo"; exit 1; fi netkeyer.c: In function 'netkeyer_init': netkeyer.c:56:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 56 | bzero(&address, sizeof(address)); /* empty data structure */ | ^~~~~ netkeyer.c:56:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT onechar.o -MD -MP -MF ".deps/onechar.Tpo" -c -o onechar.o onechar.c; \ then mv -f ".deps/onechar.Tpo" ".deps/onechar.Po"; else rm -f ".deps/onechar.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT paccdx.o -MD -MP -MF ".deps/paccdx.Tpo" -c -o paccdx.o paccdx.c; \ then mv -f ".deps/paccdx.Tpo" ".deps/paccdx.Po"; else rm -f ".deps/paccdx.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT parse_logcfg.o -MD -MP -MF ".deps/parse_logcfg.Tpo" -c -o parse_logcfg.o parse_logcfg.c; \ then mv -f ".deps/parse_logcfg.Tpo" ".deps/parse_logcfg.Po"; else rm -f ".deps/parse_logcfg.Tpo"; exit 1; fi parse_logcfg.c: In function 'read_logcfg': parse_logcfg.c:89:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 89 | }else | ^~~~ parse_logcfg.c:93:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 93 | while(!feof(fp)){ | ^~~~~ parse_logcfg.c: In function 'parse_logcfg': parse_logcfg.c:409:18: warning: variable 'enable' set but not used [-Wunused-but-set-variable] 409 | int ii, enable; | ^~~~~~ parse_logcfg.c:419:17: warning: 'strncat' output may be truncated copying 79 bytes from a string of length 4649 [-Wstringop-truncation] 419 | strncat(teststring, commands[ii], 79); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT prevqso.o -MD -MP -MF ".deps/prevqso.Tpo" -c -o prevqso.o prevqso.c; \ then mv -f ".deps/prevqso.Tpo" ".deps/prevqso.Po"; else rm -f ".deps/prevqso.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT printcall.o -MD -MP -MF ".deps/printcall.Tpo" -c -o printcall.o printcall.c; \ then mv -f ".deps/printcall.Tpo" ".deps/printcall.Po"; else rm -f ".deps/printcall.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT printfield.o -MD -MP -MF ".deps/printfield.Tpo" -c -o printfield.o printfield.c; \ then mv -f ".deps/printfield.Tpo" ".deps/printfield.Po"; else rm -f ".deps/printfield.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT qrb.o -MD -MP -MF ".deps/qrb.Tpo" -c -o qrb.o qrb.c; \ then mv -f ".deps/qrb.Tpo" ".deps/qrb.Po"; else rm -f ".deps/qrb.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT qsonr_to_str.o -MD -MP -MF ".deps/qsonr_to_str.Tpo" -c -o qsonr_to_str.o qsonr_to_str.c; \ then mv -f ".deps/qsonr_to_str.Tpo" ".deps/qsonr_to_str.Po"; else rm -f ".deps/qsonr_to_str.Tpo"; exit 1; fi qsonr_to_str.c: In function 'qsonr_to_str': qsonr_to_str.c:50:2: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 4 [-Wstringop-truncation] 50 | strncpy (qsonrstr, buffer, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT readcalls.o -MD -MP -MF ".deps/readcalls.Tpo" -c -o readcalls.o readcalls.c; \ then mv -f ".deps/readcalls.Tpo" ".deps/readcalls.Po"; else rm -f ".deps/readcalls.Tpo"; exit 1; fi readcalls.c: In function 'readcalls': readcalls.c:122:17: warning: 'strncpy' output may be truncated copying 81 bytes from a string of length 159 [-Wstringop-truncation] 122 | strncpy (qsos[s], inputbuffer, 81); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readcalls.c:301:17: warning: 'strncpy' output may be truncated copying 13 bytes from a string of length 130 [-Wstringop-truncation] 301 | strncpy(callarray[l] , inputbuffer + 29 , 13); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readcalls.c:333:17: warning: 'strncpy' output may be truncated copying 11 bytes from a string of length 105 [-Wstringop-truncation] 333 | strncpy(call_exchange[l], inputbuffer + 54, 11); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readcalls.c:80:31: warning: '__builtin_memset' forming offset [36, 39] is out of the bounds [0, 36] of object 'multscore' with type 'int[9]' [-Warray-bounds] 80 | multscore[n] = 0; | ~~~~~~~~~~~~~~^~~ In file included from readcalls.c:28: globalvars.h:9:12: note: 'multscore' declared here 9 | extern int multscore[NBANDS]; // number of multipliers worked per band; index is BANDINDEX_160 ... BANDINDEX_10 | ^~~~~~~~~ readcalls.c:500:38: warning: '__builtin_memset' forming offset [36, 39] is out of the bounds [0, 36] of object 'multscore' with type 'int[9]' [-Warray-bounds] 500 | multscore[i] = 0; | ~~~~~~~~~~~~~^~~ globalvars.h:9:12: note: 'multscore' declared here 9 | extern int multscore[NBANDS]; // number of multipliers worked per band; index is BANDINDEX_160 ... BANDINDEX_10 | ^~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT readctydata.o -MD -MP -MF ".deps/readctydata.Tpo" -c -o readctydata.o readctydata.c; \ then mv -f ".deps/readctydata.Tpo" ".deps/readctydata.Po"; else rm -f ".deps/readctydata.Tpo"; exit 1; fi readctydata.c: In function 'readctydata': readctydata.c:86:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 86 | strncpy (datalines[o], buf, strlen(buf) -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readctydata.c:86:53: note: length computed here 86 | strncpy (datalines[o], buf, strlen(buf) -1); | ^~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT recall_exchange.o -MD -MP -MF ".deps/recall_exchange.Tpo" -c -o recall_exchange.o recall_exchange.c; \ then mv -f ".deps/recall_exchange.Tpo" ".deps/recall_exchange.Po"; else rm -f ".deps/recall_exchange.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT rules.o -MD -MP -MF ".deps/rules.Tpo" -c -o rules.o rules.c; \ then mv -f ".deps/rules.Tpo" ".deps/rules.Po"; else rm -f ".deps/rules.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT score.o -MD -MP -MF ".deps/score.Tpo" -c -o score.o score.c; \ then mv -f ".deps/score.Tpo" ".deps/score.Po"; else rm -f ".deps/score.Tpo"; exit 1; fi score.c: In function 'multi_found': score.c:46:31: warning: the address of 'mit_multiplier_list' will always evaluate as 'true' [-Waddress] 46 | while(mit_multiplier_list) { | ^~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT scroll_log.o -MD -MP -MF ".deps/scroll_log.Tpo" -c -o scroll_log.o scroll_log.c; \ then mv -f ".deps/scroll_log.Tpo" ".deps/scroll_log.Po"; else rm -f ".deps/scroll_log.Tpo"; exit 1; fi scroll_log.c: In function 'scroll_log': scroll_log.c:86:33: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 799 [-Wstringop-truncation] 86 | strncpy(logline4, inputbuffer, 80); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll_log.c:80:33: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 799 [-Wstringop-truncation] 80 | strncpy(logline3, inputbuffer, 80); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll_log.c:74:33: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 799 [-Wstringop-truncation] 74 | strncpy(logline2, inputbuffer, 80); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll_log.c:68:33: warning: 'strncpy' output may be truncated copying 80 bytes from a string of length 799 [-Wstringop-truncation] 68 | strncpy(logline1, inputbuffer, 80); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll_log.c:100:17: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 58 [-Wstringop-truncation] 100 | strncpy (qsonrstr, logline4 + 23, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll_log.c:106:25: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 140 [-Wstringop-truncation] 106 | strncpy (qsonrstr, logline3 + 23, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll_log.c:112:25: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 222 [-Wstringop-truncation] 112 | strncpy (qsonrstr, logline2 + 23, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scroll_log.c:118:25: warning: 'strncpy' output may be truncated copying 4 bytes from a string of length 304 [-Wstringop-truncation] 118 | strncpy (qsonrstr, logline1 + 23, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT searchcallarray.o -MD -MP -MF ".deps/searchcallarray.Tpo" -c -o searchcallarray.o searchcallarray.c; \ then mv -f ".deps/searchcallarray.Tpo" ".deps/searchcallarray.Po"; else rm -f ".deps/searchcallarray.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT searchlog.o -MD -MP -MF ".deps/searchlog.Tpo" -c -o searchlog.o searchlog.c; \ then mv -f ".deps/searchlog.Tpo" ".deps/searchlog.Po"; else rm -f ".deps/searchlog.Tpo"; exit 1; fi searchlog.c: In function 'searchlog': searchlog.c:131:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 131 | if (strlen(hiscall) == 2) | ^~ searchlog.c:134:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 134 | qso_index=0; | ^~~~~~~~~ searchlog.c:730:58: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 730 | strncpy (printres, printres, length); | ^~~~~~~~ ~~~~~~~~ searchlog.c:95:5: warning: variable 'o' set but not used [-Wunused-but-set-variable] 95 | int o = 0; | ^ searchlog.c:75:20: warning: unused variable 'bigpartlist' [-Wunused-variable] 75 | extern int bigpartlist; | ^~~~~~~~~~~ searchlog.c:198:17: warning: array subscript 4 is above array bounds of 'char[4]' [-Warray-bounds] 198 | band_yfk[4]= '\0'; | ~~~~~~~~^~~ searchlog.c:32:14: note: while referencing 'band_yfk' 32 | static char band_yfk[4]=""; | ^~~~~~~~ searchlog.c:202:21: warning: array subscript 13 is above array bounds of 'char[13]' [-Warray-bounds] 202 | testcall_yfk[13]= '\0'; | ~~~~~~~~~~~~^~~~ searchlog.c:33:14: note: while referencing 'testcall_yfk' 33 | static char testcall_yfk[13]=""; | ^~~~~~~~~~~~ searchlog.c:184:25: warning: 'strncpy' output may be truncated copying 7 bytes from a string of length 409999 [-Wstringop-truncation] 184 | strncpy (result[r_index], searchresult[r_index], 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchlog.c:353:73: warning: 'strncpy' output may be truncated copying 6 bytes from a string of length 69 [-Wstringop-truncation] 353 | strncpy(s_inputbuffercpy, s_inputbuffer+12,6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchlog.c: In function 'load_multipliers': searchlog.c:933:33: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 933 | strncpy(multsfile , multiplierlist, strlen(multiplierlist) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ searchlog.c:933:69: note: length computed here 933 | strncpy(multsfile , multiplierlist, strlen(multiplierlist) - 1); | ^~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT sendbuf.o -MD -MP -MF ".deps/sendbuf.Tpo" -c -o sendbuf.o sendbuf.c; \ then mv -f ".deps/sendbuf.Tpo" ".deps/sendbuf.Po"; else rm -f ".deps/sendbuf.Tpo"; exit 1; fi sendbuf.c: In function 'sendbuf': sendbuf.c:79:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 79 | if (loc != 0) | ^~ sendbuf.c:81:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 81 | strncat (comstr, call, (strlen(call)-1)); | ^~~~~~~ sendbuf.c:112:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 112 | if (loc != 0) | ^~ sendbuf.c:115:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 115 | strncpy(rst_out, his_rst, 4); | ^~~~~~~ sendbuf.c:56:13: warning: variable 'comstr2' set but not used [-Wunused-but-set-variable] 56 | static char comstr2[2]; | ^~~~~~~ sendbuf.c:115:25: warning: 'strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 115 | strncpy(rst_out, his_rst, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendbuf.c:194:25: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 194 | strncat(printlinebuffer, termbuf, strlen(termbuf) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendbuf.c:192:25: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 192 | strncat(printlinebuffer, termbuf, strlen(termbuf) - 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendbuf.c:192:59: note: length computed here 192 | strncat(printlinebuffer, termbuf, strlen(termbuf) - 1 ); | ^~~~~~~~~~~~~~~ sendbuf.c:81:25: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] 81 | strncat (comstr, call, (strlen(call)-1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendbuf.c:81:50: note: length computed here 81 | strncat (comstr, call, (strlen(call)-1)); | ^~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT sendqrg.o -MD -MP -MF ".deps/sendqrg.Tpo" -c -o sendqrg.o sendqrg.c; \ then mv -f ".deps/sendqrg.Tpo" ".deps/sendqrg.Po"; else rm -f ".deps/sendqrg.Tpo"; exit 1; fi sendqrg.c: In function 'native_rig_get_mode': sendqrg.c:257:5: warning: type of 'rignumber' defaults to 'int' [-Wimplicit-int] 257 | int native_rig_get_mode(rignumber) { | ^~~~~~~~~~~~~~~~~~~ sendqrg.c:262:5: warning: variable 'i' set but not used [-Wunused-but-set-variable] 262 | int i; | ^ sendqrg.c: In function 'init_native_rig': sendqrg.c:313:5: warning: variable 'i' set but not used [-Wunused-but-set-variable] 313 | int i; | ^ sendqrg.c: In function 'native_rig_get_freq': sendqrg.c:438:5: warning: variable 'i' set but not used [-Wunused-but-set-variable] 438 | int i, rigfreq; | ^ sendqrg.c: In function 'init_tlf_rig': sendqrg.c:119:49: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 119 | strncpy(my_rig->state.rigport.pathname, rigportname, HAMLIB_FILPATHLEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT sendspcall.o -MD -MP -MF ".deps/sendspcall.Tpo" -c -o sendspcall.o sendspcall.c; \ then mv -f ".deps/sendspcall.Tpo" ".deps/sendspcall.Po"; else rm -f ".deps/sendspcall.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -pthread -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -Wall -MT set_keyer.o -MD -MP -MF ".deps/set_keyer.Tpo" -c -o set_keyer.o set_keyer.c; \ then mv -f ".deps/set_keyer.Tpo" ".deps/set_keyer.Po"; else rm -f ".deps/set_keyer.Tpo"; exit 1; fi set_keyer.c: In function 'set_weight': set_keyer.c:27:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 27 | if (keyerport == LPT_KEYER) | ^~ set_keyer.c:29:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 29 | ioctl(cfd, CWKEYER_IOCSWEIGTH, weight); | ^~~~~ In file included from set_keyer.h:20, from set_keyer.c:19: cwkeyer.h:49:33: warning: implicit declaration of function '_IOW' [-Wimplicit-function-declaration] 49 | #define CWKEYER_IOCSWEIGTH _IOW(CWKEYER_IOC_MAGIC, 4, int) | ^~~~ set_keyer.c:29:28: note: in expansion of macro 'CWKEYER_IOCSWEIGTH' 29 | ioctl(cfd, CWKEYER_IOCSWEIGTH, weight); | ^~~~~~~~~~~~~~~~~~ cwkeyer.h:49:61: error: expected expression before 'int' 49 | #define CWKEYER_IOCSWEIGTH _IOW(CWKEYER_IOC_MAGIC, 4, int) | ^~~ set_keyer.c:29:28: note: in expansion of macro 'CWKEYER_IOCSWEIGTH' 29 | ioctl(cfd, CWKEYER_IOCSWEIGTH, weight); | ^~~~~~~~~~~~~~~~~~ set_keyer.c: In function 'set_txdelay': cwkeyer.h:50:61: error: expected expression before 'int' 50 | #define CWKEYER_IOCSTXDELAY _IOW(CWKEYER_IOC_MAGIC, 5, int) | ^~~ set_keyer.c:44:28: note: in expansion of macro 'CWKEYER_IOCSTXDELAY' 44 | ioctl(cfd, CWKEYER_IOCSTXDELAY, txdelay); | ^~~~~~~~~~~~~~~~~~~ gmake[2]: *** [Makefile:407: set_keyer.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31/src' gmake[1]: *** [Makefile:283: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/ham/tlf/work/tlf-0.9.31' gmake: *** [Makefile:174: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/ham/tlf *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/ham/tlf