Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/simh.spec'], chrootPath='/var/lib/mock/f31-build-52337-27644/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/simh.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=1549065600 Wrote: /builddir/build/SRPMS/simh-3.9.0-11.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/simh.spec'], chrootPath='/var/lib/mock/f31-build-52337-27644/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/simh.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=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pBrS3q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf simh-3.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/simh-3.9.0-noroms.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd simh-3.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pAiFEr + umask 022 + cd /builddir/build/BUILD + cd simh-3.9.0 + mkdir -p BIN + make -j4 -e 'ROMS_OPT=-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' USE_NETWORK=1 lib paths are: /lib/ /lib64/lp64d/ using libm: /lib64/lp64d//libm.so using librt: /lib64/lp64d//librt.so using libpthread: /lib64/lp64d//libpthread.so /usr/include/pthread.h using libdl: /lib64/lp64d//libdl.so /usr/include/dlfcn.h using libpcap: /lib64/lp64d//libpcap.so /usr/include/pcap.h *** *** all Simulators being built with: *** - compiler optimizations and no debugging support. GCC Version: 9.1.1. *** - static networking support using Linux provided libpcap components. *** gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 PDP1/pdp1_lp.c PDP1/pdp1_cpu.c PDP1/pdp1_stddev.c PDP1/pdp1_sys.c PDP1/pdp1_dt.c PDP1/pdp1_drm.c PDP1/pdp1_clk.c PDP1/pdp1_dcs.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I PDP1 -o BIN/pdp1 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 PDP18B/pdp18b_dt.c PDP18B/pdp18b_drm.c PDP18B/pdp18b_cpu.c PDP18B/pdp18b_lp.c PDP18B/pdp18b_mt.c PDP18B/pdp18b_rf.c PDP18B/pdp18b_rp.c PDP18B/pdp18b_stddev.c PDP18B/pdp18b_sys.c PDP18B/pdp18b_rb.c PDP18B/pdp18b_tt1.c PDP18B/pdp18b_fpp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DPDP4 -I PDP18B -o BIN/pdp4 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 PDP18B/pdp18b_dt.c PDP18B/pdp18b_drm.c PDP18B/pdp18b_cpu.c PDP18B/pdp18b_lp.c PDP18B/pdp18b_mt.c PDP18B/pdp18b_rf.c PDP18B/pdp18b_rp.c PDP18B/pdp18b_stddev.c PDP18B/pdp18b_sys.c PDP18B/pdp18b_rb.c PDP18B/pdp18b_tt1.c PDP18B/pdp18b_fpp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DPDP7 -I PDP18B -o BIN/pdp7 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program BUILDSTDERR: gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 PDP8/pdp8_cpu.c PDP8/pdp8_clk.c PDP8/pdp8_df.c PDP8/pdp8_dt.c PDP8/pdp8_lp.c PDP8/pdp8_mt.c PDP8/pdp8_pt.c PDP8/pdp8_rf.c PDP8/pdp8_rk.c PDP8/pdp8_rx.c PDP8/pdp8_sys.c PDP8/pdp8_tt.c PDP8/pdp8_ttx.c PDP8/pdp8_rl.c PDP8/pdp8_tsc.c PDP8/pdp8_td.c PDP8/pdp8_ct.c PDP8/pdp8_cpu.c: In function 'sim_instr': BUILDSTDERR: PDP8/pdp8_cpu.c:347:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 347 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP18B/pdp18b_dt.c: In function 'dt_svc': BUILDSTDERR: PDP18B/pdp18b_dt.c: In function 'dt_svc': BUILDSTDERR: PDP18B/pdp18b_dt.c:1150:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1150 | /* /* ignore hdr */ BUILDSTDERR: | BUILDSTDERR: PDP18B/pdp18b_dt.c:1150:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1150 | /* /* ignore hdr */ BUILDSTDERR: | BUILDSTDERR: PDP1/pdp1_cpu.c: In function 'sim_instr': BUILDSTDERR: PDP1/pdp1_cpu.c:549:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 549 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:613:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 613 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:615:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 615 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:621:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 621 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:623:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 623 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:629:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 629 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:631:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 631 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:641:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 641 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:643:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 643 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:651:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 651 | if (reason = Ea_ch (IR, &byno)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:653:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 653 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:662:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 662 | if (reason = Ea_ch (IR, &byno)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:664:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 664 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:686:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 686 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:688:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:694:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 694 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:696:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 696 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:702:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 702 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:709:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 709 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:711:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 711 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:718:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 718 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:720:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 720 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:727:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 727 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:734:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 734 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:758:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 758 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:760:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 760 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:772:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 772 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:774:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 774 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:787:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 787 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:789:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 789 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:801:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 801 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:803:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 803 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:813:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 813 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:815:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 815 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:827:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 827 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:829:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 829 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:836:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 836 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:838:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 838 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:866:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 866 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:874:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 874 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:892:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 892 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:894:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 894 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:922:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 922 | if (reason = Ea (IR)) /* MA <- eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:924:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 924 | if (reason = Read ()) /* MB <- data */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c: In function 'Ea': BUILDSTDERR: PDP1/pdp1_cpu.c:1365:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1365 | if (r = Read ()) /* read; err? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP1/pdp1_cpu.c:1371:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1371 | if (r = Read ()) /* get ind word */ BUILDSTDERR: | ^ BUILDSTDERR: PDP1/pdp1_cpu.c: In function 'Ea_ch': BUILDSTDERR: PDP1/pdp1_cpu.c:1395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1395 | if (r = Read ()) /* read; err? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP1/pdp1_cpu.c:1400:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1400 | if (r = Read ()) /* get ind word */ BUILDSTDERR: | ^ BUILDSTDERR: PDP18B/pdp18b_cpu.c: In function 'sim_instr': BUILDSTDERR: PDP18B/pdp18b_cpu.c:607:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 607 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP18B/pdp18b_cpu.c: In function 'sim_instr': BUILDSTDERR: PDP18B/pdp18b_cpu.c:607:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 607 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP18B/pdp18b_cpu.c:582:7: warning: variable 'api_int' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 582 | int32 api_int, api_usmd, skp; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP18B/pdp18b_cpu.c:582:7: warning: variable 'api_int' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 582 | int32 api_int, api_usmd, skp; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_cpu.c:443:20: warning: 'api_vec' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 443 | static const int32 api_vec[API_HLVL][32] = { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_cpu.c:443:20: warning: 'api_vec' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 443 | static const int32 api_vec[API_HLVL][32] = { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP8/pdp8_dt.c: In function 'dt_svc': BUILDSTDERR: PDP8/pdp8_dt.c:967:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 967 | /* /* ignore hdr */ BUILDSTDERR: | BUILDSTDERR: PDP8/pdp8_dt.c:971:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 971 | if (((dtsa & DTA_MODE) == 0) || (M[DT_WC] == 0)) BUILDSTDERR: | ^~ BUILDSTDERR: PDP8/pdp8_dt.c:973:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 973 | break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: PDP1/pdp1_sys.c: In function 'parse_sym': BUILDSTDERR: PDP1/pdp1_sys.c:598:30: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 598 | val[0] = ((ASCTOSIX (cptr[0]) & 077) << 12) | BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: PDP1/pdp1_sys.c:443:38: note: in definition of macro 'ASCTOSIX' BUILDSTDERR: 443 | #define ASCTOSIX(x) (ascii_to_fiodec[x] & 077) BUILDSTDERR: | ^ BUILDSTDERR: PDP1/pdp1_sys.c:599:30: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 599 | ((ASCTOSIX (cptr[1]) & 077) << 6) | BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: PDP1/pdp1_sys.c:443:38: note: in definition of macro 'ASCTOSIX' BUILDSTDERR: 443 | #define ASCTOSIX(x) (ascii_to_fiodec[x] & 077) BUILDSTDERR: | ^ BUILDSTDERR: PDP1/pdp1_sys.c:600:30: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 600 | (ASCTOSIX (cptr[2]) & 077); BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: PDP1/pdp1_sys.c:443:38: note: in definition of macro 'ASCTOSIX' BUILDSTDERR: 443 | #define ASCTOSIX(x) (ascii_to_fiodec[x] & 077) BUILDSTDERR: | ^ BUILDSTDERR: PDP18B/pdp18b_mt.c: In function 'mt_svc': BUILDSTDERR: PDP18B/pdp18b_mt.c:356:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 356 | if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:366:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 366 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:375:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 375 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:385:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 385 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c: In function 'mt_svc': BUILDSTDERR: PDP18B/pdp18b_mt.c:356:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 356 | if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:366:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 366 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:375:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 375 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:385:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 385 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP8/pdp8_mt.c:123:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 123 | /* #define STA_BAD 00020 /* bad tape?? */ BUILDSTDERR: | BUILDSTDERR: PDP8/pdp8_mt.c: In function 'mt_svc': BUILDSTDERR: PDP8/pdp8_mt.c:456:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) { /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP8/pdp8_mt.c:464:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 464 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP8/pdp8_mt.c:471:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 471 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP8/pdp8_mt.c:481:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 481 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'ptr_svc': BUILDSTDERR: PDP18B/pdp18b_stddev.c:597:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 597 | while (temp = temp & (temp - 1)) BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'tti': BUILDSTDERR: PDP18B/pdp18b_stddev.c:997:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 997 | dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ BUILDSTDERR: | ^ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'ptr_svc': BUILDSTDERR: PDP18B/pdp18b_stddev.c:597:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 597 | while (temp = temp & (temp - 1)) BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'tti': BUILDSTDERR: PDP18B/pdp18b_stddev.c:997:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 997 | dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ BUILDSTDERR: | ^ BUILDSTDERR: PDP1/pdp1_dcs.c: In function 'dcsi_svc': BUILDSTDERR: PDP1/pdp1_dcs.c:254:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 254 | if (c = tmxr_getc_ln (&dcs_ldsc[ln])) { /* get char */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: PDP18B/pdp18b_sys.c: In function 'fprint_sym': BUILDSTDERR: PDP18B/pdp18b_sys.c:1012:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (sp = (inst & 03730)) BUILDSTDERR: | ^~ BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: PDP18B/pdp18b_sys.c: In function 'fprint_sym': BUILDSTDERR: PDP18B/pdp18b_sys.c:1012:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (sp = (inst & 03730)) BUILDSTDERR: | ^~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_tt1.c: In function 'ttix_svc': BUILDSTDERR: PDP18B/pdp18b_tt1.c:225:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 225 | if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_tt1.c: In function 'ttix_svc': BUILDSTDERR: PDP18B/pdp18b_tt1.c:225:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 225 | if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c: In function 'fp15': BUILDSTDERR: PDP18B/pdp18b_fpp.c:256:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 256 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:265:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 265 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:273:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 273 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:281:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 281 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:283:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 283 | if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:291:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 291 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:299:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 299 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:312:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 312 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:320:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 320 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:326:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 326 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:340:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 340 | if (sta = Read (ar, &dat, RD)) BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:348:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 348 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c: In function 'fp15_store': BUILDSTDERR: PDP18B/pdp18b_fpp.c:432:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 432 | if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c: In function 'fp15': BUILDSTDERR: PDP18B/pdp18b_fpp.c:256:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 256 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:265:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 265 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:273:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 273 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:281:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 281 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:283:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 283 | if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:291:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 291 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:299:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 299 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:312:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 312 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:320:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 320 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:326:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 326 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:340:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 340 | if (sta = Read (ar, &dat, RD)) BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:348:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 348 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c: In function 'fp15_store': BUILDSTDERR: PDP18B/pdp18b_fpp.c:432:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 432 | if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP8/pdp8_ttx.c: In function 'ttix_svc': BUILDSTDERR: PDP8/pdp8_ttx.c:236:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 236 | if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP8/pdp8_ct.c: In function 'ct70': BUILDSTDERR: PDP8/pdp8_ct.c:273:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 273 | if (uptr = ct_busy ()) /* op in progress? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP8/pdp8_ct.c: In function 'ct_svc': BUILDSTDERR: PDP8/pdp8_ct.c:436:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 436 | if (st = sim_tape_wrrecf (uptr, ct_xb, ct_bptr)) /* write, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP8/pdp8_ct.c:455:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 455 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP8/pdp8_ct.c:465:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 465 | if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_dt.c: In function 'dt_svc': BUILDSTDERR: PDP18B/pdp18b_dt.c:1150:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1150 | /* /* ignore hdr */ BUILDSTDERR: | BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_dt.c:342:20: warning: 'map_unit' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 342 | static const int32 map_unit[16] = { /* Type 550 unit map */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: PDP18B/pdp18b_dt.c: In function 'dt_svc': BUILDSTDERR: PDP18B/pdp18b_dt.c:1150:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1150 | /* /* ignore hdr */ BUILDSTDERR: | BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_dt.c:342:20: warning: 'map_unit' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 342 | static const int32 map_unit[16] = { /* Type 550 unit map */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: PDP11/pdp11_fp.c: In function 'fp11': BUILDSTDERR: PDP11/pdp11_fp.c:441:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 441 | if (sign = GET_SIGN_L (fac.l)) BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_cpu.c: In function 'sim_instr': BUILDSTDERR: PDP18B/pdp18b_cpu.c:607:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 607 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP18B/pdp18b_cpu.c: In function 'sim_instr': BUILDSTDERR: PDP18B/pdp18b_cpu.c:607:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 607 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP18B/pdp18b_cpu.c:933:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 933 | if ((api_act & (API_ML0|API_ML1|API_ML2|API_ML3)) == 0) BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_cpu.c:936:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 936 | api_int = api_eval (&int_pend); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP11/pdp11_cpu.c: In function 'sim_instr': BUILDSTDERR: PDP11/pdp11_cpu.c:735:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 735 | if (t = trap_req & TRAP_ALL) { /* if a trap */ BUILDSTDERR: | ^ BUILDSTDERR: PDP18B/pdp18b_lp.c: In function 'lp15_svc': BUILDSTDERR: PDP18B/pdp18b_lp.c:821:36: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 821 | if ((c[i] <= 037) && ctrl[c[i]]) { /* control char? */ BUILDSTDERR: | ~^~~ BUILDSTDERR: PDP18B/pdp18b_lp.c:824:26: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 824 | fputs (ctrl[c[i]], uptr->fileref); /* space */ BUILDSTDERR: | ~^~~ BUILDSTDERR: PDP18B/pdp18b_mt.c: In function 'mt_svc': BUILDSTDERR: PDP18B/pdp18b_mt.c:356:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 356 | if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:366:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 366 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:375:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 375 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:385:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 385 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c: In function 'mt_svc': BUILDSTDERR: PDP18B/pdp18b_mt.c:356:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 356 | if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:366:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 366 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:375:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 375 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_mt.c:385:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 385 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_cis.c:173:21: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 173 | static DSTR Dstr0 = { 0, 0, 0, 0, 0 }; BUILDSTDERR: | ^ BUILDSTDERR: | { } BUILDSTDERR: PDP11/pdp11_cis.c:207:36: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 207 | static int32 opntab[128][MAXOPN] = { BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_cis.c:323:31: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 323 | static int32 binover[2][16] = { BUILDSTDERR: | ^ BUILDSTDERR: 324 | '{', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', BUILDSTDERR: | { BUILDSTDERR: 325 | '0', '0', '0', '0', '0', '0', BUILDSTDERR: | } BUILDSTDERR: 326 | '}', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', BUILDSTDERR: | { BUILDSTDERR: 327 | '0', '0', '0', '0', '0', '0' BUILDSTDERR: 328 | }; BUILDSTDERR: | } BUILDSTDERR: PDP11/pdp11_cis.c: In function 'cis11': BUILDSTDERR: PDP11/pdp11_cis.c:345:21: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 345 | static DSTR Dstr1 = { 0, 0x10, 0, 0, 0 }; BUILDSTDERR: | ^ BUILDSTDERR: | { } BUILDSTDERR: PDP11/pdp11_cis.c:1137:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1137 | if (dst.sign = GET_SIGN_L (result)) BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_cis.c: In function 'WriteDstr': BUILDSTDERR: PDP11/pdp11_cis.c:1270:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1270 | if (dst->val[i] = dst->val[i] & ~mask) /* test nz */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_cis.c: In function 'NibbleRshift': BUILDSTDERR: PDP11/pdp11_cis.c:1526:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1526 | if (s = sc * 4) { BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_cis.c: In function 'NibbleLshift': BUILDSTDERR: PDP11/pdp11_cis.c:1551:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1551 | if (s = sc * 4) { BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: PDP11/pdp11_cis.c:330:22: warning: 'movbuf' defined but not used [-Wunused-variable] BUILDSTDERR: 330 | static unsigned char movbuf[65536]; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'ptr_svc': BUILDSTDERR: PDP18B/pdp18b_stddev.c:597:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 597 | while (temp = temp & (temp - 1)) BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'tti': BUILDSTDERR: PDP18B/pdp18b_stddev.c:997:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 997 | dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ BUILDSTDERR: | ^ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'clk_task_upd': BUILDSTDERR: PDP18B/pdp18b_stddev.c:456:8: warning: unused variable 'old' [-Wunused-variable] BUILDSTDERR: 456 | uint32 old = clk_task_timer; BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'ptr_svc': BUILDSTDERR: PDP18B/pdp18b_stddev.c:597:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 597 | while (temp = temp & (temp - 1)) BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'tti': BUILDSTDERR: PDP18B/pdp18b_stddev.c:997:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 997 | dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ BUILDSTDERR: | ^ BUILDSTDERR: PDP18B/pdp18b_sys.c: In function 'fprint_sym': BUILDSTDERR: PDP18B/pdp18b_sys.c:1012:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (sp = (inst & 03730)) BUILDSTDERR: | ^~ BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_sys.c:900:14: warning: 'rar' defined but not used [-Wunused-function] BUILDSTDERR: 900 | static int32 rar (int32 c) BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rk.c: In function 'rk_svc': BUILDSTDERR: PDP11/pdp11_rk.c:548:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 548 | if (t = Map_WriteW (ma, 2, &rkxb[wc - 1])) { /* store last */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_rk.c:554:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 554 | if (t = Map_WriteW (ma, wc << 1, rkxb)) { /* store buf */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_rk.c:563:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 563 | if (t = Map_ReadW (ma, 2, &comp)) { /* get 1st word */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_rk.c:571:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 571 | if (t = Map_ReadW (ma, wc << 1, rkxb)) { /* get buf */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_rk.c:587:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 587 | if (err = ferror (uptr->fileref)) { /* read error? */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_sys.c: In function 'fprint_sym': BUILDSTDERR: PDP18B/pdp18b_sys.c:1012:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (sp = (inst & 03730)) BUILDSTDERR: | ^~ BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_sys.c:900:14: warning: 'rar' defined but not used [-Wunused-function] BUILDSTDERR: 900 | static int32 rar (int32 c) BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rl.c: In function 'rl_svc': BUILDSTDERR: PDP11/pdp11_rl.c:859:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 859 | if (DEBUG_PRS (rl_dev)) BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_rl.c:863:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 863 | if ((uptr->FNC >= RLCS_READ) && (err == 0)) { /* read (no hdr)? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP18B/pdp18b_tt1.c: In function 'ttix_svc': BUILDSTDERR: PDP18B/pdp18b_tt1.c:225:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 225 | if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_tt1.c: In function 'ttix_svc': BUILDSTDERR: PDP18B/pdp18b_tt1.c:225:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 225 | if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c: In function 'fp15': BUILDSTDERR: PDP18B/pdp18b_fpp.c:256:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 256 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:265:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 265 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:273:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 273 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:281:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 281 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:283:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 283 | if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:291:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 291 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:299:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 299 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:312:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 312 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:320:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 320 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:326:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 326 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:340:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 340 | if (sta = Read (ar, &dat, RD)) BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:348:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 348 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c: In function 'fp15_store': BUILDSTDERR: PDP18B/pdp18b_fpp.c:432:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 432 | if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c: In function 'fp15': BUILDSTDERR: PDP18B/pdp18b_fpp.c:256:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 256 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:265:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 265 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:273:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 273 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:281:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 281 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:283:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 283 | if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:291:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 291 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:299:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 299 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:312:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 312 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:320:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 320 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:326:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 326 | if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:340:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 340 | if (sta = Read (ar, &dat, RD)) BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c:348:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 348 | if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP18B/pdp18b_fpp.c: In function 'fp15_store': BUILDSTDERR: PDP18B/pdp18b_fpp.c:432:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 432 | if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_sys.c: In function 'parse_sym': BUILDSTDERR: PDP11/pdp11_sys.c:1073:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1073 | for (i = 0; (opcode[i] != NULL) && BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_sys.c:1075:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: 1075 | if ((((opc_val[i] >> I_V_CL) & I_M_CL) != j) || BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tc.c: In function 'dt_svc': BUILDSTDERR: PDP11/pdp11_tc.c:995:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 995 | /* else /* ignore hdr */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tm.c: In function 'tm_go': BUILDSTDERR: PDP11/pdp11_tm.c:380:9: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 380 | /* else /* uncomment this else if rewind/unload don't set done */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tm.c: In function 'tm_svc': BUILDSTDERR: PDP11/pdp11_tm.c:442:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 442 | if (t = Map_WriteB (xma, cbc, tmxb)) { /* copy buf to mem */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_tm.c:452:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 452 | if (t = Map_ReadB (xma, cbc, tmxb)) { /* copy mem to buf */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_tm.c:458:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 458 | if (st = sim_tape_wrrecf (uptr, tmxb, cbc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tm.c:467:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 467 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tm.c:474:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 474 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* spc rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tm.c:484:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 484 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* spc rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_spacef': BUILDSTDERR: PDP11/pdp11_ts.c:493:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 493 | if (st = sim_tape_sprecf (uptr, &tbc)) /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_spacer': BUILDSTDERR: PDP11/pdp11_ts.c:536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 536 | if (st = sim_tape_sprecr (uptr, &tbc)) /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_readf': BUILDSTDERR: PDP11/pdp11_ts.c:572:7: warning: variable 'wa' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 572 | int32 wa; BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_readr': BUILDSTDERR: PDP11/pdp11_ts.c:622:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 622 | tsba = (cmdadh << 16) | cmdadl + fc; /* buf addr */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_write': BUILDSTDERR: PDP11/pdp11_ts.c:669:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 669 | if (st = sim_tape_wrrecf (uptr, tsxb, fc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_wtmk': BUILDSTDERR: PDP11/pdp11_ts.c:682:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 682 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_io.c: In function 'build_dib_tab': BUILDSTDERR: PDP11/pdp11_io.c:376:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 376 | if (r = cpu_build_dib ()) /* build CPU entries */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_io.c:382:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 382 | if (r = build_mbus_tab (dptr, dibp)) /* add to Mbus tab */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_io.c:386:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 386 | if (r = build_ubus_tab (dptr, dibp)) /* add to Unibus tab */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP11/pdp11_rq.c:99: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 213 | /* 5 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 258 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 265 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 401 | /* 14 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 402 | /* 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_abo': BUILDSTDERR: PDP11/pdp11_rq.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (uptr = rq_getucb (cp, lu)) { /* get unit */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c:1368:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1368 | else if (prv = uptr->pktq) { /* srch pkt q */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:1369:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1369 | while (tpkt = cp->pak[prv].link) { /* walk list */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_avl': BUILDSTDERR: PDP11/pdp11_rq.c:1396:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1396 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_gus': BUILDSTDERR: PDP11/pdp11_rq.c:1450:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1450 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_onl': BUILDSTDERR: PDP11/pdp11_rq.c:1485:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1485 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_scc': BUILDSTDERR: PDP11/pdp11_rq.c:1523:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1523 | if (cp->htmo = cp->pak[pkt].d[SCC_TMO]) /* set timeout */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_suc': BUILDSTDERR: PDP11/pdp11_rq.c:1550:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1550 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_fmt': BUILDSTDERR: PDP11/pdp11_rq.c:1579:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1579 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_rw': BUILDSTDERR: PDP11/pdp11_rq.c:1613:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1613 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_rw_valid': BUILDSTDERR: PDP11/pdp11_rq.c:1657:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1657 | /* if (lbn & 0xF0000000) return (ST_CMD | I_LBN); /* 'reasonable' lbn? */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_svc': BUILDSTDERR: PDP11/pdp11_rq.c:1728:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1728 | if (abc = tbc - t) { /* any xfer? */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:1755:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1755 | if (t = Map_WriteW (ba, tbc, rqxb)) { /* store, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_show_unitq': BUILDSTDERR: PDP11/pdp11_rq.c:2589:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2589 | if (pkt = uptr->pktq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2593:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2593 | } while (pkt = cp->pak[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_show_ctrl': BUILDSTDERR: PDP11/pdp11_rq.c:2620:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2620 | if (pkt = cp->freq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2633:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2633 | if (pkt = cp->rspq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2637:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2637 | } while (pkt = cp->pak[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from PDP11/pdp11_tq.c:85: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 213 | /* 5 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 258 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 265 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 401 | /* 14 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 402 | /* 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_mscp': BUILDSTDERR: PDP11/pdp11_tq.c:783:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 783 | if (uptr = tq_getucb (lu)) { /* valid unit? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:789:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 789 | /* if (tq_cmf[cmd] & MD_CDL) /* clr cch lost? */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_abo': BUILDSTDERR: PDP11/pdp11_tq.c:861:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 861 | if (uptr = tq_getucb (lu)) { /* get unit */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:874:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 874 | else if (prv = uptr->pktq) { /* srch pkt q */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:875:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 875 | while (tpkt = tq_pkt[prv].link) { /* walk list */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_avl': BUILDSTDERR: PDP11/pdp11_tq.c:903:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 903 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_gus': BUILDSTDERR: PDP11/pdp11_tq.c:958:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 958 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_onl': BUILDSTDERR: PDP11/pdp11_tq.c:983:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 983 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_scc': BUILDSTDERR: PDP11/pdp11_tq.c:1012:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (tq_htmo = tq_pkt[pkt].d[SCC_TMO]) /* set timeout */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_suc': BUILDSTDERR: PDP11/pdp11_tq.c:1036:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1036 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_flu': BUILDSTDERR: PDP11/pdp11_tq.c:1058:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1058 | if (uptr = tq_getucb (lu)) /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_erase': BUILDSTDERR: PDP11/pdp11_tq.c:1074:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1074 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_wtm': BUILDSTDERR: PDP11/pdp11_tq.c:1095:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1095 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_pos': BUILDSTDERR: PDP11/pdp11_tq.c:1118:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1118 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_rw': BUILDSTDERR: PDP11/pdp11_tq.c:1150:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1150 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_svc': BUILDSTDERR: PDP11/pdp11_tq.c:1254:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1254 | if (t = Map_WriteB (ba, wbc, tqxb)) { /* store, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_tq.c:1291:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1291 | if (t = Map_ReadB (ba, bc, tqxb)) { /* fetch buf, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_show_unitq': BUILDSTDERR: PDP11/pdp11_tq.c:2236:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2236 | if (pkt = uptr->pktq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2240:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2240 | } while (pkt = tq_pkt[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_show_ctrl': BUILDSTDERR: PDP11/pdp11_tq.c:2265:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2265 | if (pkt = tq_freq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2278:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2278 | if (pkt = tq_rspq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2282:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2282 | } while (pkt = tq_pkt[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_hk.c: In function 'hk_svc': BUILDSTDERR: PDP11/pdp11_hk.c:890:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 890 | if (t = Map_ReadW (ba, 2, &comp)) { /* get 1st wd */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_hk.c:898:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 898 | if (t = Map_ReadW (ba, wc << 1, hkxb)) { /* get buf */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_hk.c:918:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 918 | if (t = Map_WriteW (ba, 2, &hkxb[wc - 1])) { BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_hk.c:924:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 924 | if (t = Map_WriteW (ba, wc << 1, hkxb)) { /* put buf */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_xq.c: In function 'xq_process_mop': BUILDSTDERR: PDP11/pdp11_xq.c:1086:28: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] BUILDSTDERR: 1086 | address = (meb->add_hi << 16) || (meb->add_mi << 8) || meb->add_lo; BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: PDP11/pdp11_xq.c:1086:51: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] BUILDSTDERR: 1086 | address = (meb->add_hi << 16) || (meb->add_mi << 8) || meb->add_lo; BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: PDP11/pdp11_xq.c:1087:28: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] BUILDSTDERR: 1087 | size = (meb->siz_hi << 8) || meb->siz_lo; BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: PDP11/pdp11_xq.c:1075:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1075 | uint16 size; BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_xq.c: In function 'xq_process_setup': BUILDSTDERR: PDP11/pdp11_xq.c:1190:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1190 | if (led = (len & XQ_SETUP_LD) >> 2) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_xq.c: In function 'xq_process_bootrom': BUILDSTDERR: PDP11/pdp11_xq.c:2046:3: warning: enumeration value 'XQ_T_DELQA' not handled in switch [-Wswitch] BUILDSTDERR: 2046 | switch (xq->var->type) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP11/pdp11_xq.c:2046:3: warning: enumeration value 'XQ_T_DELQA_PLUS' not handled in switch [-Wswitch] BUILDSTDERR: PDP11/pdp11_xq.c: In function 'xq_tmrsvc': BUILDSTDERR: PDP11/pdp11_xq.c:2534:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 2534 | if (--xq->var->sanity.timer <= 0) BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_xu.c: In function 'xu_process_receive': BUILDSTDERR: PDP11/pdp11_xu.c:1044:24: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1044 | /* xu_dump_rxring(xu); /* debug receive ring */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_xu.c: In function 'xu_process_transmit': BUILDSTDERR: PDP11/pdp11_xu.c:1216:24: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1216 | /* xu_dump_txring(xu); /* debug receive ring */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_xu.c: In function 'xu_dump_rxring': BUILDSTDERR: PDP11/pdp11_xu.c:1683:12: warning: unused variable 'rstatus' [-Wunused-variable] BUILDSTDERR: 1683 | t_stat rstatus = Map_ReadW (ba, 8, rxhdr); /* get rxring entry[i] */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP11/pdp11_xu.c: In function 'xu_dump_txring': BUILDSTDERR: PDP11/pdp11_xu.c:1699:12: warning: unused variable 'tstatus' [-Wunused-variable] BUILDSTDERR: 1699 | t_stat tstatus = Map_ReadW (ba, 8, txhdr); /* get rxring entry[i] */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP11/pdp11_vh.c:296:60: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 296 | /* #define DBG_XMT TMXR_DBG_XMT /* display Transmitted Data */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_vh.c:297:60: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 297 | /* #define DBG_RCV TMXR_DBG_RCV /* display Received Data */ BUILDSTDERR: | PDP8/pdp8_fpp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I PDP8 -o BIN/pdp8 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 PDP18B/pdp18b_dt.c PDP18B/pdp18b_drm.c PDP18B/pdp18b_cpu.c PDP18B/pdp18b_lp.c PDP18B/pdp18b_mt.c PDP18B/pdp18b_rf.c PDP18B/pdp18b_rp.c PDP18B/pdp18b_stddev.c PDP18B/pdp18b_sys.c PDP18B/pdp18b_rb.c PDP18B/pdp18b_tt1.c PDP18B/pdp18b_fpp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DPDP9 -I PDP18B -o BIN/pdp9 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 PDP18B/pdp18b_dt.c PDP18B/pdp18b_drm.c PDP18B/pdp18b_cpu.c PDP18B/pdp18b_lp.c PDP18B/pdp18b_mt.c PDP18B/pdp18b_rf.c PDP18B/pdp18b_rp.c PDP18B/pdp18b_stddev.c PDP18B/pdp18b_sys.c PDP18B/pdp18b_rb.c PDP18B/pdp18b_tt1.c PDP18B/pdp18b_fpp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DPDP15 -I PDP18B -o BIN/pdp15 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 PDP11/pdp11_fp.c PDP11/pdp11_cpu.c PDP11/pdp11_dz.c PDP11/pdp11_cis.c PDP11/pdp11_lp.c PDP11/pdp11_rk.c PDP11/pdp11_rl.c PDP11/pdp11_rp.c PDP11/pdp11_rx.c PDP11/pdp11_stddev.c PDP11/pdp11_sys.c PDP11/pdp11_tc.c PDP11/pdp11_tm.c PDP11/pdp11_ts.c PDP11/pdp11_io.c PDP11/pdp11_rq.c PDP11/pdp11_tq.c PDP11/pdp11_pclk.c PDP11/pdp11_ry.c PDP11/pdp11_pt.c PDP11/pdp11_hk.c PDP11/pdp11_xq.c PDP11/pdp11_xu.c PDP11/pdp11_vh.c PDP11/pdp11_rh.c PDP11/pdp11_tu.c PDP11/pdp11_cpumod.c PDP11/pdp11_cr.c PDP11/pdp11_rf.c PDP11/pdp11_dl.c PDP11/pdp11_ta.c PDP11/pdp11_rc.c PDP11/pdp11_kg.c PDP11/pdp11_ke.c PDP11/pdp11_dc.c PDP11/pdp11_io_lib.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DVM_PDP11 -I PDP11 -DUSE_NETWORK -I/usr/include/ -DUSE_TAP_NETWORK -o BIN/pdp11 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program BUILDSTDERR: gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 PDP1In file included from PDP10/pdp10_fe.c:41: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tu.c: In function 'tu_svc': BUILDSTDERR: PDP11/pdp11_tu.c:650:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 650 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:663:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 663 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:674:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 674 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:690:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 690 | if (st = sim_tape_rdrecf (uptr, xbuf, &tbc, MT_MAXFR)) { /* read fwd */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:742:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 742 | if (st = sim_tape_wrrecf (uptr, xbuf, tbc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:754:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 754 | if (st = sim_tape_rdrecr (uptr, xbuf + 4, &tbc, MT_MAXFR)) { /* read rev */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:621:12: warning: variable 'r' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 621 | t_stat st, r = SCPE_OK; BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP11/pdp11_dz.c:62: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_cpumod.c: In function 'cpu_build_dib': BUILDSTDERR: PDP11/pdp11_cpumod.c:1078:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1078 | if (r = build_ubus_tab (&cpu_dev, cnf_tab[i].dib)) /* add to dispatch tab */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP10/pdp10_cpu.c:136: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c: In function 'sim_instr': BUILDSTDERR: PDP10/pdp10_cpu.c:708:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 708 | if (i = sim_process_event ()) /* error? stop sim */ BUILDSTDERR: | ^ BUILDSTDERR: PDP10/pdp10_cpu.c:722:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 722 | if (vec = pi_ub_vec (qintr, &uba)) { /* Unibus interrupt? */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP10/pdp10_cpu.c:868:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 868 | /* case 0100: MUUO /* UJEN */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:869:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 869 | /* case 0101: MUUO /* unassigned */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:882:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 882 | /* case 0104: MUUO /* JSYS (T20) */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:884:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 884 | /* case 0106: MUUO /* GFMP (KL)*/ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:885:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 885 | /* case 0107: MUUO /* GFDV (KL) */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:912:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 912 | /* case 0130: MUUO /* UFA */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:913:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 913 | /* case 0131: MUUO /* DFN */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:917:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 917 | else adjbp (ac, ea, pflgs); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP10/pdp10_cpu.c:917:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 917 | else adjbp (ac, ea, pflgs); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: PDP10/pdp10_cpu.c:923:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 923 | /* case 0141: MUUO /* FADL */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:931:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 931 | /* case 0151: MUUO /* FSBL */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:939:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 939 | /* case 0161: MUUO /* FMPL */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:947:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 947 | /* case 0171: MUUO /* FDVL */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:1011:17: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1011 | /* case 0254: /* shown later /* JRST */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_cpu.c:1011:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: PDP10/pdp10_cpu.c: In function 'test_int': BUILDSTDERR: PDP10/pdp10_cpu.c:2022:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2022 | if (t = sim_process_event ()) /* IO event? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_rf.c:145:14: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 145 | DIB rf_dib = { BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_dl.c: In function 'dli_svc': BUILDSTDERR: PDP11/pdp11_dl.c:349:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 349 | if (temp = tmxr_getc_ln (&dlx_ldsc[ln])) { /* get char */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from PDP10/pdp10_ksio.c:72: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_ksio.c: In function 'ReadIO': BUILDSTDERR: PDP10/pdp10_ksio.c:404:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 404 | for (i = 0; dibp = dib_tab[i]; i++ ) { BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP10/pdp10_ksio.c: In function 'WriteIO': BUILDSTDERR: PDP10/pdp10_ksio.c:421:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 421 | for (i = 0; dibp = dib_tab[i]; i++ ) { BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_ta.c: In function 'ta_svc': BUILDSTDERR: PDP11/pdp11_ta.c:400:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 400 | if (st = sim_tape_wrrecf (uptr, ta_xb, ta_bptr)) /* write, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ta.c:406:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 406 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ta.c:416:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 416 | if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ta.c:428:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 428 | if (st = sim_tape_sprecf (uptr, &tbc)) /* space rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from PDP10/pdp10_lp20.c:42: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_lp20.c:61:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 61 | /* define TX_INTR 04000 /* interrupt */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_lp20.c:63:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 63 | /* define TX_XLAT 01000 /* translate */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_lp20.c:64:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 64 | /* define TX_DVFU 00400 /* DAVFU */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_lp20.c: In function 'lp20_adv': BUILDSTDERR: PDP10/pdp10_lp20.c:566:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 566 | if (lppagc = (lppagc - 1) & PAGC_MASK) { /* decr page cntr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: PDP10/pdp10_lp20.c: In function 'lp20_davfu': BUILDSTDERR: PDP10/pdp10_lp20.c:595:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 595 | if (lppagc = (lppagc - 1) & PAGC_MASK) { /* decr page cntr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from PDP10/pdp10_mdfp.c:101: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_mdfp.c: In function 'fdv': BUILDSTDERR: PDP10/pdp10_mdfp.c:496:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 496 | if (savhi = a.fhi) { /* dvd = 0? quo = 0 */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from PDP10/pdp10_pag.c:79: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_ke.c: In function 'ke_wr': BUILDSTDERR: PDP11/pdp11_ke.c:255:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 255 | if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_ke.c:285:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 285 | if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from PDP10/pdp10_rp.c:71: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_rp.c: In function 'rp_wr': BUILDSTDERR: PDP10/pdp10_rp.c:612:18: warning: variable 'dtype' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 612 | int32 cs1f, drv, dtype, i, j; BUILDSTDERR: | ^~~~~ BUILDSTDERR: PDP10/pdp10_rp.c: In function 'rp_svc': BUILDSTDERR: PDP10/pdp10_rp.c:954:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 954 | if (fc10 = twc10 & (RP_NUMWD - 1)) { /* fill? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP10/pdp10_rp.c: At top level: BUILDSTDERR: PDP10/pdp10_rp.c:1194:33: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] BUILDSTDERR: 1194 | 0713001000000+(IOBA_UBMAP+1 & RMASK), /* wrio 0,763001(1); set ubmap */ BUILDSTDERR: | ^ BUILDSTDERR: PDP10/pdp10_rp.c:1241:33: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] BUILDSTDERR: 1241 | 0715000000000+(IOBA_UBMAP+1 & RMASK), /* iowrq 0,763001 ; set ubmap */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP10/pdp10_sys.c:42: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_sys.c:123:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 123 | /* RIM10 loader BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_sys.c: In function 'fprint_sym': BUILDSTDERR: PDP10/pdp10_sys.c:696:16: warning: variable 'cflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 696 | int32 i, j, c, cflag, ac, xr, y, dev; BUILDSTDERR: | ^~~~~ BUILDSTDERR: PDP10/pdp10_sys.c: In function 'parse_sym': BUILDSTDERR: PDP10/pdp10_sys.c:823:7: warning: variable 'cflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 823 | int32 cflag, i, j; BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from PDP10/pdp10_tim.c:41: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from PDP10/pdp10_tu.c:93: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_tu.c: In function 'tu_svc': BUILDSTDERR: PDP10/pdp10_tu.c:836:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 836 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP10/pdp10_tu.c:850:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 850 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP10/pdp10_tu.c:862:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 862 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP10/pdp10_tu.c:892:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 892 | if (st = sim_tape_rdrecf (uptr, xbuf, &tbc, MT_MAXFR)) { /* read fwd */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP10/pdp10_tu.c:939:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 939 | if (st = sim_tape_wrrecf (uptr, xbuf, fc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP10/pdp10_tu.c:954:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 954 | if (st = sim_tape_rdrecr (uptr, xbuf + 4, &tbc, MT_MAXFR)) { /* read rev */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP10/pdp10_tu.c:809:12: warning: variable 'r' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 809 | t_stat st, r = SCPE_OK; BUILDSTDERR: | ^ BUILDSTDERR: PDP10/pdp10_tu.c: At top level: BUILDSTDERR: PDP10/pdp10_tu.c:1201:33: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] BUILDSTDERR: 1201 | 0713001000000+(IOBA_UBMAP+1 & RMASK), /* wrio 0,763001(1); set ubmap */ BUILDSTDERR: | ^ BUILDSTDERR: PDP10/pdp10_tu.c:1239:33: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] BUILDSTDERR: 1239 | 0714000000000+(IOBA_UBMAP+1 & RMASK), /* iowri 0,763001 ; set ubmap */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP10/pdp10_xtnd.c:66: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_xtnd.c:157:34: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 157 | static const d10 pwrs10[23][2] = { BUILDSTDERR: | ^ BUILDSTDERR: 158 | 0, 0, BUILDSTDERR: | { } BUILDSTDERR: 159 | 0, 1, BUILDSTDERR: | { } BUILDSTDERR: 160 | 0, 10, BUILDSTDERR: | { } BUILDSTDERR: 161 | 0, 100, BUILDSTDERR: | { } BUILDSTDERR: 162 | 0, 1000, BUILDSTDERR: | { } BUILDSTDERR: 163 | 0, 10000, BUILDSTDERR: | { } BUILDSTDERR: 164 | 0, 100000, BUILDSTDERR: | { } BUILDSTDERR: 165 | 0, 1000000, BUILDSTDERR: | { } BUILDSTDERR: 166 | 0, 10000000, BUILDSTDERR: | { } BUILDSTDERR: 167 | 0, 100000000, BUILDSTDERR: | { } BUILDSTDERR: 168 | 0, 1000000000, BUILDSTDERR: | { } BUILDSTDERR: 169 | 0, 10000000000, BUILDSTDERR: | { } BUILDSTDERR: 170 | 2, 31280523264, BUILDSTDERR: | { } BUILDSTDERR: 171 | 29, 3567587328, BUILDSTDERR: | { } BUILDSTDERR: 172 | 291, 1316134912, BUILDSTDERR: | { } BUILDSTDERR: 173 | 2910, 13161349120, BUILDSTDERR: | { } BUILDSTDERR: 174 | 29103, 28534276096, BUILDSTDERR: | { } BUILDSTDERR: 175 | 291038, 10464854016, BUILDSTDERR: | { } BUILDSTDERR: 176 | 2910383, 1569325056, BUILDSTDERR: | { } BUILDSTDERR: 177 | 29103830, 15693250560, BUILDSTDERR: | { } BUILDSTDERR: 178 | 291038304, 19493552128, BUILDSTDERR: | { } BUILDSTDERR: 179 | 2910383045, 23136829440, BUILDSTDERR: | { } BUILDSTDERR: 180 | 29103830456, 25209864192 BUILDSTDERR: | { BUILDSTDERR: 181 | }; BUILDSTDERR: | } BUILDSTDERR: In file included from PDP11/pdp11_pt.c:36: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_ry.c:45: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP11/pdp11_cr.c:168: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 590 | /* #define READC 1 /* console read */ BUILDSTDERR: | BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 592 | /* #define WRITEC 3 /* console write */ BUILDSTDERR: | BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_get_nic_hw_addr': BUILDSTDERR: sim_ether.c:1336:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1336 | if (f = fopen("NIC.hwaddr", "r")) { BUILDSTDERR: | ^ BUILDSTDERR: sim_ether.c: In function '_eth_writer': BUILDSTDERR: sim_ether.c:1522:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1522 | while (request = dev->write_requests) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_open': BUILDSTDERR: sim_ether.c:1621:8: warning: unused variable 'dev_name' [-Wunused-variable] BUILDSTDERR: 1621 | char dev_name[64] = ""; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_close': BUILDSTDERR: sim_ether.c:1830:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1830 | while (buffer = dev->write_buffers) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_ether.c:1834:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1834 | while (buffer = dev->write_requests) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_write': BUILDSTDERR: sim_ether.c:2087:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2087 | if (request = dev->write_buffers) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: sim_ether.c:2178:1: warning: '_eth_test_multicast_hash' defined but not used [-Wunused-function] BUILDSTDERR: 2178 | _eth_test_multicast_hash() BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from VAX/vax_cpu.c:182: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_cpu.c:182: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_cpu.c: In function 'sim_instr': BUILDSTDERR: VAX/vax_cpu.c:645:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 645 | if (temp = GET_TRAP (trpirq)) { /* trap? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: VAX/vax_cpu.c:653:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 653 | else if (temp = GET_IRQL (trpirq)) { /* interrupt? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from VAX/vax_cpu1.c:72: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_cpu1.c:72: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_fpa.c:59: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_fpa.c:59: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_io.c:52: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_io.c:52: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_io.c: In function 'build_dib_tab': BUILDSTDERR: VAX/vax_io.c:795:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 795 | if (r = build_ubus_tab (dptr, dibp)) /* add to bus tab */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from VAX/vax_cpu.c:182: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_cpu.c: In function 'sim_instr': BUILDSTDERR: VAX/vax_cpu.c:645:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 645 | if (temp = GET_TRAP (trpirq)) { /* trap? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: VAX/vax_cpu.c:653:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 653 | else if (temp = GET_IRQL (trpirq)) { /* interrupt? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from VAX/vax_cis.c:53: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_cis.c:53: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_cis.c:1228:59: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1228 | /* if (((c & 0xF0) > 0x90) || /* check hi digit */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_cis.c:1229:59: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1229 | /* ((c & 0x0F) > 0x09)) /* check lo digit */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_octa.c:47: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_octa.c:47: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_cmode.c:40: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_cmode.c:40: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_mmu.c:50: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_mmu.c:50: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_stddev.c:48: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_stddev.c:48: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_sysdev.c:55: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_sysdev.c:55: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_sysdev.c:407:18: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 407 | DIB sysd_dib[] = { BUILDSTDERR: | ^ BUILDSTDERR: 408 | 0, 0, NULL, NULL, BUILDSTDERR: | { BUILDSTDERR: VAX/vax_sysdev.c:407:18: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 407 | DIB sysd_dib[] = { BUILDSTDERR: | ^ BUILDSTDERR: 408 | 0, 0, NULL, NULL, BUILDSTDERR: | { BUILDSTDERR: 409 | 2, IVCL (TMR0), 0, { &tmr0_inta, &tmr1_inta } BUILDSTDERR: 410 | }; BUILDSTDERR: | } BUILDSTDERR: In file included from VAX/vax_cpu1.c:72: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_sys.c:47: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_sys.c:47: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_sys.c:117:45: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 117 | const uint16 drom[NUM_INST][MAX_SPEC + 1] = { BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax_sys.c: In function 'parse_spec': BUILDSTDERR: VAX/vax_sys.c:1176:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1176 | if (tptr = parse_rnum (cptr, &rn)) { /* look for Rn */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from VAX/vax_fpa.c:59: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_syscm.c:34: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_cis.c:53: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_syscm.c:34: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_cis.c:74:25: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 74 | static DSTR Dstr_zero = { 0, 0, 0, 0, 0 }; BUILDSTDERR: | ^ BUILDSTDERR: | { } BUILDSTDERR: VAX/vax_cis.c:75:24: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 75 | static DSTR Dstr_one = { 0, 0x10, 0, 0, 0 }; BUILDSTDERR: | ^ BUILDSTDERR: | { } BUILDSTDERR: VAX/vax_cis.c: In function 'op_cis': BUILDSTDERR: VAX/vax_cis.c:334:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 334 | if (r = sim_process_event ()) { /* presumably WRU */ BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax_cis.c: In function 'ReadDstr': BUILDSTDERR: VAX/vax_cis.c:1228:59: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1228 | /* if (((c & 0xF0) > 0x90) || /* check hi digit */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_cis.c:1229:59: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1229 | /* ((c & 0x0F) > 0x09)) /* check lo digit */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_cis.c: In function 'NibbleRshift': BUILDSTDERR: VAX/vax_cis.c:1553:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1553 | if (s = sc * 4) { BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax_cis.c: In function 'NibbleLshift': BUILDSTDERR: VAX/vax_cis.c:1577:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1577 | if (s = sc * 4) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from VAX/vax_syslist.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from VAX/vax_syslist.c:31: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_octa.c:47: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_octa.c: In function 'op_octa': BUILDSTDERR: VAX/vax_octa.c:190:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 190 | if (r = op_tsth (opnd[0])) { /* test for 0 */ BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax_octa.c:201:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 201 | if (r = op_tsth (opnd[0])) { /* test for 0 */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP11/pdp11_rl.c:93: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_rl.c:93: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rl.c: In function 'rl_svc': BUILDSTDERR: PDP11/pdp11_rl.c:859:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 859 | if (DEBUG_PRS (rl_dev)) BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_rl.c:863:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 863 | if ((uptr->FNC >= RLCS_READ) && (err == 0)) { /* read (no hdr)? */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from PDP11/pdp11_rq.c:77: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_rq.c:77: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_rq.c:99: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 213 | /* 5 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 258 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 265 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 401 | /* 14 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 402 | /* 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_abo': BUILDSTDERR: PDP11/pdp11_rq.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (uptr = rq_getucb (cp, lu)) { /* get unit */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c:1368:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1368 | else if (prv = uptr->pktq) { /* srch pkt q */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:1369:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1369 | while (tpkt = cp->pak[prv].link) { /* walk list */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_avl': BUILDSTDERR: PDP11/pdp11_rq.c:1396:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1396 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from VAX/vax_cmode.c:40: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_gus': BUILDSTDERR: PDP11/pdp11_rq.c:1450:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1450 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_onl': BUILDSTDERR: PDP11/pdp11_rq.c:1485:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1485 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_scc': BUILDSTDERR: PDP11/pdp11_rq.c:1523:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1523 | if (cp->htmo = cp->pak[pkt].d[SCC_TMO]) /* set timeout */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_suc': BUILDSTDERR: PDP11/pdp11_rq.c:1550:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1550 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_fmt': BUILDSTDERR: PDP11/pdp11_rq.c:1579:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1579 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_rw': BUILDSTDERR: PDP11/pdp11_rq.c:1613:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1613 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_rw_valid': BUILDSTDERR: PDP11/pdp11_rq.c:1657:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1657 | /* if (lbn & 0xF0000000) return (ST_CMD | I_LBN); /* 'reasonable' lbn? */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_svc': BUILDSTDERR: PDP11/pdp11_rq.c:1728:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1728 | if (abc = tbc - t) { /* any xfer? */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:1755:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1755 | if (t = Map_WriteW (ba, tbc, rqxb)) { /* store, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax_cmode.c: In function 'op_cmode': BUILDSTDERR: VAX/vax_cmode.c:624:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 624 | if (sign = ((src & WSIGN)? 1: 0)) BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_show_unitq': BUILDSTDERR: PDP11/pdp11_rq.c:2589:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2589 | if (pkt = uptr->pktq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2593:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2593 | } while (pkt = cp->pak[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_show_ctrl': BUILDSTDERR: PDP11/pdp11_rq.c:2620:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2620 | if (pkt = cp->freq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2633:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2633 | if (pkt = cp->rspq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2637:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2637 | } while (pkt = cp->pak[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from VAX/vax_mmu.c:50: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_ts.c:93: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_ts.c:93: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_spacef': BUILDSTDERR: PDP11/pdp11_ts.c:493:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 493 | if (st = sim_tape_sprecf (uptr, &tbc)) /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_spacer': BUILDSTDERR: PDP11/pdp11_ts.c:536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 536 | if (st = sim_tape_sprecr (uptr, &tbc)) /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_readf': BUILDSTDERR: PDP11/pdp11_ts.c:572:7: warning: variable 'wa' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 572 | int32 wa; BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_readr': BUILDSTDERR: PDP11/pdp11_ts.c:622:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 622 | tsba = (cmdadh << 16) | cmdadl + fc; /* buf addr */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_write': BUILDSTDERR: PDP11/pdp11_ts.c:669:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 669 | if (st = sim_tape_wrrecf (uptr, tsxb, fc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_wtmk': BUILDSTDERR: PDP11/pdp11_ts.c:682:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 682 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from VAX/vax_sys.c:47: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: VAX/vax_sys.c:117:45: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 117 | const uint16 drom[NUM_INST][MAX_SPEC + 1] = { BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax_sys.c: In function 'parse_spec': BUILDSTDERR: VAX/vax_sys.c:1176:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1176 | if (tptr = parse_rnum (cptr, &rn)) { /* look for Rn */ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from PDP11/pdp11_dz.c:68: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_dz.c:68: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_syscm.c:34: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_lp.c:45: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_lp.c:45: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_tq.c:68: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_tq.c:68: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_tq.c:85: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 213 | /* 5 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 258 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 265 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 401 | /* 14 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 402 | /* 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax780_stddev.c:59: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_mscp': BUILDSTDERR: PDP11/pdp11_tq.c:783:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 783 | if (uptr = tq_getucb (lu)) { /* valid unit? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:789:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 789 | /* if (tq_cmf[cmd] & MD_CDL) /* clr cch lost? */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_abo': BUILDSTDERR: PDP11/pdp11_tq.c:861:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 861 | if (uptr = tq_getucb (lu)) { /* get unit */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:874:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 874 | else if (prv = uptr->pktq) { /* srch pkt q */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:875:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 875 | while (tpkt = tq_pkt[prv].link) { /* walk list */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_avl': BUILDSTDERR: PDP11/pdp11_tq.c:903:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 903 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_gus': BUILDSTDERR: PDP11/pdp11_tq.c:958:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 958 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_onl': BUILDSTDERR: PDP11/pdp11_tq.c:983:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 983 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_scc': BUILDSTDERR: PDP11/pdp11_tq.c:1012:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (tq_htmo = tq_pkt[pkt].d[SCC_TMO]) /* set timeout */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_suc': BUILDSTDERR: PDP11/pdp11_tq.c:1036:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1036 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_flu': BUILDSTDERR: PDP11/pdp11_tq.c:1058:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1058 | if (uptr = tq_getucb (lu)) /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_erase': BUILDSTDERR: PDP11/pdp11_tq.c:1074:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1074 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_wtm': BUILDSTDERR: PDP11/pdp11_tq.c:1095:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1095 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_pos': BUILDSTDERR: PDP11/pdp11_tq.c:1118:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1118 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_rw': BUILDSTDERR: PDP11/pdp11_tq.c:1150:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1150 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_svc': BUILDSTDERR: PDP11/pdp11_tq.c:1254:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1254 | if (t = Map_WriteB (ba, wbc, tqxb)) { /* store, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_tq.c:1291:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1291 | if (t = Map_ReadB (ba, bc, tqxb)) { /* fetch buf, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_show_unitq': BUILDSTDERR: PDP11/pdp11_tq.c:2236:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2236 | if (pkt = uptr->pktq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2240:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2240 | } while (pkt = tq_pkt[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_show_ctrl': BUILDSTDERR: PDP11/pdp11_tq.c:2265:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2265 | if (pkt = tq_freq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2278:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2278 | if (pkt = tq_rspq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2282:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2282 | } while (pkt = tq_pkt[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from VAX/vax780_sbi.c:36: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: VAX/vax780_sbi.c:220:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 220 | /* Find highest priority vectorable interrupt */ BUILDSTDERR: | BUILDSTDERR: VAX/vax780_sbi.c: In function 'vax780_boot_parse': BUILDSTDERR: VAX/vax780_sbi.c:641:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 641 | if (slptr = strchr (gbuf, '/')) { /* found slash? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: VAX/vax780_sbi.c: In function 'build_dib_tab': BUILDSTDERR: VAX/vax780_sbi.c:787:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 787 | if (r = build_nexus_tab (dptr, dibp)) /* add to dispatch table */ BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax780_sbi.c:791:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 791 | if (r = build_mbus_tab (dptr, dibp)) BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax780_sbi.c:795:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 795 | if (r = build_ubus_tab (dptr, dibp)) /* add to dispatch tab */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from VAX/vax780_mem.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_xq.h:72, BUILDSTDERR: from PDP11/pdp11_xq.c:252: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_xq.h:72, BUILDSTDERR: from PDP11/pdp11_xq.c:252: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: VAX/vax780_mem.c:101:19: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 101 | DIB mctl0_dib[] = { TR_MCTL0, 0, &mctl_rdreg, &mctl_wrreg, 0 }; BUILDSTDERR: | ^ BUILDSTDERR: VAX/vax780_mem.c:120:19: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 120 | DIB mctl1_dib[] = { TR_MCTL1, 0, &mctl_rdreg, &mctl_wrreg, 0 }; BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_xq.c: In function 'xq_process_mop': BUILDSTDERR: PDP11/pdp11_xq.c:1086:28: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] BUILDSTDERR: 1086 | address = (meb->add_hi << 16) || (meb->add_mi << 8) || meb->add_lo; BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: PDP11/pdp11_xq.c:1086:51: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] BUILDSTDERR: 1086 | address = (meb->add_hi << 16) || (meb->add_mi << 8) || meb->add_lo; BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: PDP11/pdp11_xq.c:1087:28: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] BUILDSTDERR: 1087 | size = (meb->siz_hi << 8) || meb->siz_lo; BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~ BUILDSTDERR: PDP11/pdp11_xq.c:1075:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1075 | uint16 size; BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_xq.c: In function 'xq_process_setup': BUILDSTDERR: PDP11/pdp11_xq.c:1190:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1190 | if (led = (len & XQ_SETUP_LD) >> 2) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_xq.c: In function 'xq_tmrsvc': BUILDSTDERR: PDP11/pdp11_xq.c:2534:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 2534 | if (--xq->var->sanity.timer <= 0) BUILDSTDERR: | ^ BUILDSTDERR: In file included from VAX/vax780_uba.c:34: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax780_mba.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_ry.c:50: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_ry.c:50: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax780_fload.c:44: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_vh.c:75: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_vh.c:75: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_vh.c:296:60: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 296 | /* #define DBG_XMT TMXR_DBG_XMT /* display Transmitted Data */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_vh.c:297:60: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 297 | /* #define DBG_RCV TMXR_DBG_RCV /* display Received Data */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax780_syslist.c:30: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_rl.c:93: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rl.c: In function 'rl_svc': BUILDSTDERR: PDP11/pdp11_rl.c:859:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 859 | if (DEBUG_PRS (rl_dev)) BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_rl.c:863:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 863 | if ((uptr->FNC >= RLCS_READ) && (err == 0)) { /* read (no hdr)? */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from PDP11/pdp11_cr.c:175: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_cr.c:175: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_rq.c:77: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_rq.c:99: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 213 | /* 5 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 258 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 265 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 401 | /* 14 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 402 | /* 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_abo': BUILDSTDERR: PDP11/pdp11_rq.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (uptr = rq_getucb (cp, lu)) { /* get unit */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c:1368:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1368 | else if (prv = uptr->pktq) { /* srch pkt q */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:1369:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1369 | while (tpkt = cp->pak[prv].link) { /* walk list */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_avl': BUILDSTDERR: PDP11/pdp11_rq.c:1396:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1396 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_gus': BUILDSTDERR: PDP11/pdp11_rq.c:1450:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1450 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_onl': BUILDSTDERR: PDP11/pdp11_rq.c:1485:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1485 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_scc': BUILDSTDERR: PDP11/pdp11_rq.c:1523:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1523 | if (cp->htmo = cp->pak[pkt].d[SCC_TMO]) /* set timeout */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_suc': BUILDSTDERR: PDP11/pdp11_rq.c:1550:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1550 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_fmt': BUILDSTDERR: PDP11/pdp11_rq.c:1579:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1579 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_rw': BUILDSTDERR: PDP11/pdp11_rq.c:1613:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1613 | if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_rw_valid': BUILDSTDERR: PDP11/pdp11_rq.c:1657:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1657 | /* if (lbn & 0xF0000000) return (ST_CMD | I_LBN); /* 'reasonable' lbn? */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_svc': BUILDSTDERR: PDP11/pdp11_rq.c:1728:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1728 | if (abc = tbc - t) { /* any xfer? */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:1755:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1755 | if (t = Map_WriteW (ba, tbc, rqxb)) { /* store, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_show_unitq': BUILDSTDERR: PDP11/pdp11_rq.c:2589:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2589 | if (pkt = uptr->pktq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2593:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2593 | } while (pkt = cp->pak[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_show_ctrl': BUILDSTDERR: PDP11/pdp11_rq.c:2620:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2620 | if (pkt = cp->freq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2633:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2633 | if (pkt = cp->rspq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2637:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2637 | } while (pkt = cp->pak[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from PDP11/pdp11_io_lib.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from VAX/vax_defs.h:726, BUILDSTDERR: from PDP11/pdp11_io_lib.c:31: BUILDSTDERR: VAX/vaxmod_defs.h:181:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 181 | /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: | BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_ts.c:93: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_spacef': BUILDSTDERR: PDP11/pdp11_ts.c:493:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 493 | if (st = sim_tape_sprecf (uptr, &tbc)) /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_spacer': BUILDSTDERR: PDP11/pdp11_ts.c:536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 536 | if (st = sim_tape_sprecr (uptr, &tbc)) /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_readf': BUILDSTDERR: PDP11/pdp11_ts.c:572:7: warning: variable 'wa' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 572 | int32 wa; BUILDSTDERR: | ^~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_readr': BUILDSTDERR: PDP11/pdp11_ts.c:622:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 622 | tsba = (cmdadh << 16) | cmdadl + fc; /* buf addr */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_write': BUILDSTDERR: PDP11/pdp11_ts.c:669:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 669 | if (st = sim_tape_wrrecf (uptr, tsxb, fc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_ts.c: In function 'ts_wtmk': BUILDSTDERR: PDP11/pdp11_ts.c:682:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 682 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from PDP11/pdp11_dz.c:68: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_lp.c:45: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_tq.c:68: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_tq.c:85: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 213 | /* 5 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 258 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 265 | /* 8 - 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 401 | /* 14 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 402 | /* 15 /* reserved */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_mscp': BUILDSTDERR: PDP11/pdp11_tq.c:783:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 783 | if (uptr = tq_getucb (lu)) { /* valid unit? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:789:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 789 | /* if (tq_cmf[cmd] & MD_CDL) /* clr cch lost? */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_abo': BUILDSTDERR: PDP11/pdp11_tq.c:861:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 861 | if (uptr = tq_getucb (lu)) { /* get unit */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:874:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 874 | else if (prv = uptr->pktq) { /* srch pkt q */ BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:875:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 875 | while (tpkt = tq_pkt[prv].link) { /* walk list */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_avl': BUILDSTDERR: PDP11/pdp11_tq.c:903:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 903 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_gus': BUILDSTDERR: PDP11/pdp11_tq.c:958:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 958 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_onl': BUILDSTDERR: PDP11/pdp11_tq.c:983:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 983 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_scc': BUILDSTDERR: PDP11/pdp11_tq.c:1012:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1012 | if (tq_htmo = tq_pkt[pkt].d[SCC_TMO]) /* set timeout */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_suc': BUILDSTDERR: PDP11/pdp11_tq.c:1036:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1036 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_flu': BUILDSTDERR: PDP11/pdp11_tq.c:1058:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1058 | if (uptr = tq_getucb (lu)) /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_erase': BUILDSTDERR: PDP11/pdp11_tq.c:1074:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1074 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_wtm': BUILDSTDERR: PDP11/pdp11_tq.c:1095:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1095 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_pos': BUILDSTDERR: PDP11/pdp11_tq.c:1118:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1118 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_rw': BUILDSTDERR: PDP11/pdp11_tq.c:1150:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1150 | if (uptr = tq_getucb (lu)) { /* unit exist? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_svc': BUILDSTDERR: PDP11/pdp11_tq.c:1254:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1254 | if (t = Map_WriteB (ba, wbc, tqxb)) { /* store, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_tq.c:1291:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1291 | if (t = Map_ReadB (ba, bc, tqxb)) { /* fetch buf, nxm? */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_show_unitq': BUILDSTDERR: PDP11/pdp11_tq.c:2236:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2236 | if (pkt = uptr->pktq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2240:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2240 | } while (pkt = tq_pkt[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c: In function 'tq_show_ctrl': BUILDSTDERR: PDP11/pdp11_tq.c:2265:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2265 | if (pkt = tq_freq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2278:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2278 | if (pkt = tq_rspq) { BUILDSTDERR: | ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2282:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2282 | } while (pkt = tq_pkt[pkt].link); BUILDSTDERR: | ^~~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP11/pdp11_xu.h:55, BUILDSTDERR: from PDP11/pdp11_xu.c:100: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_xu.c: In function 'xu_process_receive': BUILDSTDERR: PDP11/pdp11_xu.c:1044:24: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1044 | /* xu_dump_rxring(xu); /* debug receive ring */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_xu.c: In function 'xu_process_transmit': BUILDSTDERR: PDP11/pdp11_xu.c:1216:24: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1216 | /* xu_dump_txring(xu); /* debug receive ring */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_xu.c: In function 'xu_dump_rxring': BUILDSTDERR: PDP11/pdp11_xu.c:1683:12: warning: unused variable 'rstatus' [-Wunused-variable] BUILDSTDERR: 1683 | t_stat rstatus = Map_ReadW (ba, 8, rxhdr); /* get rxring entry[i] */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: PDP11/pdp11_xu.c: In function 'xu_dump_txring': BUILDSTDERR: PDP11/pdp11_xu.c:1699:12: warning: unused variable 'tstatus' [-Wunused-variable] BUILDSTDERR: 1699 | t_stat tstatus = Map_ReadW (ba, 8, txhdr); /* get rxring entry[i] */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from PDP11/pdp11_ry.c:50: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from PDP11/pdp11_cr.c:175: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from PDP11/pdp11_rp.c:58: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: sim_ether.c: In function 'eth_get_nic_hw_addr': BUILDSTDERR: sim_ether.c:1336:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1336 | if (f = fopen("NIC.hwaddr", "r")) { BUILDSTDERR: | ^ BUILDSTDERR: sim_ether.c: In function '_eth_writer': BUILDSTDERR: sim_ether.c:1522:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1522 | while (request = dev->write_requests) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_open': BUILDSTDERR: sim_ether.c:1621:8: warning: unused variable 'dev_name' [-Wunused-variable] BUILDSTDERR: 1621 | char dev_name[64] = ""; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_close': BUILDSTDERR: sim_ether.c:1830:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1830 | while (buffer = dev->write_buffers) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_ether.c:1834:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1834 | while (buffer = dev->write_requests) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_write': BUILDSTDERR: sim_ether.c:2087:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2087 | if (request = dev->write_buffers) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: sim_ether.c:2178:1: warning: '_eth_test_multicast_hash' defined but not used [-Wunused-function] BUILDSTDERR: 2178 | _eth_test_multicast_hash() BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from PDP11/pdp11_tu.c:63: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_tu.c: In function 'tu_svc': BUILDSTDERR: PDP11/pdp11_tu.c:650:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 650 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:663:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 663 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:674:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 674 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:690:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 690 | if (st = sim_tape_rdrecf (uptr, xbuf, &tbc, MT_MAXFR)) { /* read fwd */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:742:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 742 | if (st = sim_tape_wrrecf (uptr, xbuf, tbc)) /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:754:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 754 | if (st = sim_tape_rdrecr (uptr, xbuf + 4, &tbc, MT_MAXFR)) { /* read rev */ BUILDSTDERR: | ^~ BUILDSTDERR: PDP11/pdp11_tu.c:621:12: warning: variable 'r' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 621 | t_stat st, r = SCPE_OK; BUILDSTDERR: | ^ BUILDSTDERR: In file included from PDP11/pdp11_hk.c:60: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: PDP11/pdp11_hk.c: In function 'hk_svc': BUILDSTDERR: PDP11/pdp11_hk.c:890:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 890 | if (t = Map_ReadW (ba, 2, &comp)) { /* get 1st wd */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_hk.c:898:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 898 | if (t = Map_ReadW (ba, wc << 1, hkxb)) { /* get buf */ BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_hk.c:918:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 918 | if (t = Map_WriteW (ba, 2, &hkxb[wc - 1])) { BUILDSTDERR: | ^ BUILDSTDERR: PDP11/pdp11_hk.c:924:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 924 | if (t = Map_WriteW (ba, wc << 1, hkxb)) { /* put buf */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from PDP11/pdp11_io_lib.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 476 | /* #define PR_TB 5 /* impossible */ BUILDSTDERR: | BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_get_nic_hw_addr': BUILDSTDERR: sim_ether.c:1336:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1336 | if (f = fopen("NIC.hwaddr", "r")) { BUILDSTDERR: | ^ BUILDSTDERR: sim_ether.c: In function '_eth_writer': BUILDSTDERR: sim_ether.c:1522:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1522 | while (request = dev->write_requests) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_open': BUILDSTDERR: sim_ether.c:1621:8: warning: unused variable 'dev_name' [-Wunused-variable] BUILDSTDERR: 1621 | char dev_name[64] = ""; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_close': BUILDSTDERR: sim_ether.c:1830:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1830 | while (buffer = dev->write_buffers) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_ether.c:1834:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1834 | while (buffer = dev->write_requests) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_ether.c: In function 'eth_write': BUILDSTDERR: sim_ether.c:2087:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2087 | if (request = dev->write_buffers) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: sim_ether.c:2178:1: warning: '_eth_test_multicast_hash' defined but not used [-Wunused-function] BUILDSTDERR: 2178 | _eth_test_multicast_hash() BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_cpu.c: In function 'sim_instr': BUILDSTDERR: NOVA/nova_cpu.c:246:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 246 | if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \ BUILDSTDERR: | ^ BUILDSTDERR: NOVA/nova_cpu.c:463:16: note: in expansion of macro 'IND_STEP' BUILDSTDERR: 463 | indf = IND_STEP (MA); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: NOVA/nova_cpu.c:246:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 246 | if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \ BUILDSTDERR: | ^ BUILDSTDERR: NOVA/nova_cpu.c:468:20: note: in expansion of macro 'IND_STEP' BUILDSTDERR: 468 | indf = IND_STEP (MA); /* indirect loop */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: NOVA/nova_cpu.c:246:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 246 | if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \ BUILDSTDERR: | ^ BUILDSTDERR: NOVA/nova_cpu.c:625:24: note: in expansion of macro 'IND_STEP' BUILDSTDERR: 625 | indf = IND_STEP (MA); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: NOVA/nova_cpu.c:246:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 246 | if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \ BUILDSTDERR: | ^ BUILDSTDERR: NOVA/nova_cpu.c:630:28: note: in expansion of macro 'IND_STEP' BUILDSTDERR: 630 | indf = IND_STEP (MA); /* resolve indirect */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: NOVA/nova_cpu.c:983:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 983 | if ( pulse == iopP ) BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_cpu.c:992:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 992 | break ; BUILDSTDERR: | ^~~~~ BUILDSTDERR: NOVA/nova_dkp.c: In function 'dkp_svc': BUILDSTDERR: NOVA/nova_dkp.c:912:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 912 | if (err = ferror (uptr->fileref)) BUILDSTDERR: | ^~~ BUILDSTDERR: NOVA/nova_dkp.c:928:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 928 | if (err = ferror (uptr->fileref)) BUILDSTDERR: | ^~~ BUILDSTDERR: NOVA/nova_mta.c: In function 'mta_svc': BUILDSTDERR: NOVA/nova_mta.c:415:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 415 | if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) { /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_mta.c:424:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 424 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_mta.c:438:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 438 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_mta.c:450:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 450 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_mta.c: In function 'mta_upddsta': BUILDSTDERR: NOVA/nova_mta.c:496:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 496 | /* if (mta_ep) { /* if polling */ BUILDSTDERR: | BUILDSTDERR: NOVA/nova_mta.c:497:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 497 | /* u = uptr - mta_dev.units; /* unit num */ BUILDSTDERR: | BUILDSTDERR: NOVA/nova_mta.c:499:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 499 | /* set polling interupt... BUILDSTDERR: | BUILDSTDERR: NOVA/nova_mta.c:500:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 500 | /* } */ BUILDSTDERR: | BUILDSTDERR: NOVA/nova_tt1.c: In function 'tti1_svc': BUILDSTDERR: NOVA/nova_tt1.c:187:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 187 | if (temp = tmxr_getc_ln (&tt1_ldsc)) { /* get char */ BUILDSTDERR: | ^~~~ BUILDSTDERR: NOVA/nova_qty.c: In function 'qty_update_status': BUILDSTDERR: NOVA/nova_qty.c:225:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 225 | #define QTY_LINE_BITS( line, bits ) qty_status[ (line) ] & bits BUILDSTDERR: | ^ BUILDSTDERR: NOVA/nova_qty.c:441:26: note: in expansion of macro 'QTY_LINE_BITS' BUILDSTDERR: 441 | status = QTY_LINE_BITS( line, QTY_S_DMASK ) | QTY_S_RI ; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: NOVA/nova_qty.c: In function 'qty_common_svc': BUILDSTDERR: NOVA/nova_qty.c:606:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 606 | if ( (newln >= 0) && qty_mdm ) BUILDSTDERR: | ^ BUILDSTDERR: NOVA/nova_qty.c: In function 'alm': BUILDSTDERR: NOVA/nova_qty.c:994:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 994 | if ( alm_line < qty_max ) BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ 0/pdp10_fe.c PDP11/pdp11_dz.c PDP10/pdp10_cpu.c PDP10/pdp10_ksio.c PDP10/pdp10_lp20.c PDP10/pdp10_mdfp.c PDP10/pdp10_pag.c PDP10/pdp10_rp.c PDP10/pdp10_sys.c PDP10/pdp10_tim.c PDP10/pdp10_tu.c PDP10/pdp10_xtnd.c PDP11/pdp11_pt.c PDP11/pdp11_ry.c PDP11/pdp11_cr.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DVM_PDP10 -DUSE_INT64 -I PDP10 -I PDP11 -o BIN/pdp10 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 VAX/vax_cpu.c VAX/vax_cpu1.c VAX/vax_fpa.c VAX/vax_io.c VAX/vax_cis.c VAX/vax_octa.c VAX/vax_cmode.c VAX/vax_mmu.c VAX/vax_stddev.c VAX/vax_sysdev.c VAX/vax_sys.c VAX/vax_syscm.c VAX/vax_syslist.c PDP11/pdp11_rl.c PDP11/pdp11_rq.c PDP11/pdp11_ts.c PDP11/pdp11_dz.c PDP11/pdp11_lp.c PDP11/pdp11_tq.c PDP11/pdp11_xq.c PDP11/pdp11_ry.c PDP11/pdp11_vh.c PDP11/pdp11_cr.c PDP11/pdp11_io_lib.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DVM_VAX -DUSE_INT64 -DUSE_ADDR64 -I VAX -I PDP11 -DUSE_NETWORK -I/usr/include/ -DUSE_TAP_NETWORK -o BIN/vax -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 VAX/vax_cpu.c VAX/vax_cpu1.c VAX/vax_fpa.c VAX/vax_cis.c VAX/vax_octa.c VAX/vax_cmode.c VAX/vax_mmu.c VAX/vax_sys.c VAX/vax_syscm.c VAX/vax780_stddev.c VAX/vax780_sbi.c VAX/vax780_mem.c VAX/vax780_uba.c VAX/vax780_mba.c VAX/vax780_fload.c VAX/vax780_syslist.c PDP11/pdp11_rl.c PDP11/pdp11_rq.c PDP11/pdp11_ts.c PDP11/pdp11_dz.c PDP11/pdp11_lp.c PDP11/pdp11_tq.c PDP11/pdp11_xu.c PDP11/pdp11_ry.c PDP11/pdp11_cr.c PDP11/pdp11_rp.c PDP11/pdp11_tu.c PDP11/pdp11_hk.c PDP11/pdp11_io_lib.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DVM_VAX -DVAX_780 -DUSE_INT64 -DUSE_ADDR64 -I VAX -I PDP11 -DUSE_NETWORK -I/usr/include/ -DUSE_TAP_NETWORK -o BIN/vax780 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 NOVA/nova_sys.c NOVA/nova_cpu.c NOVA/nova_dkp.c NOVA/nova_dsk.c NOVA/nova_lp.c NOVA/nova_mta.c NOVA/nova_plt.c NOVA/nova_pt.c NOVA/nova_clk.c NOVA/nova_tt.c NOVA/nova_tt1.c NOVA/nova_qty.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I NOVA -o BIN/nova -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program BUILDSTDERR: gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -NOVA/eclipse_cpu.c: In function 'sim_instr': BUILDSTDERR: NOVA/eclipse_cpu.c:747:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 747 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from HP2100/hp2100_stddev.c:113: BUILDSTDERR: HP2100/hp2100_stddev.c: In function 'ptrio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:434:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 434 | setstdSKF (ptr); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:434:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 434 | setstdSKF (ptr); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:439:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 439 | setstdSKF (ptr); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:439:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 439 | setstdSKF (ptr); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_stddev.c:444:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 444 | stat_data = IORETURN (SCPE_OK, ptr_unit.buf); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:466:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 466 | setstdPRL (ptr); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:467:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 467 | setstdIRQ (ptr); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:468:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 468 | setstdSRQ (ptr); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c: In function 'ptpio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:651:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 651 | setstdSKF (ptp); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:651:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 651 | setstdSKF (ptp); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:656:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 656 | setstdSKF (ptp); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:656:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 656 | setstdSKF (ptp); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_stddev.c:662:29: note: in expansion of macro 'IORETURN' BUILDSTDERR: 662 | stat_data = IORETURN (SCPE_OK, PTP_LOW); /* report as out of tape */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_stddev.c:664:29: note: in expansion of macro 'IORETURN' BUILDSTDERR: 664 | stat_data = IORETURN (SCPE_OK, 0); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:692:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 692 | setstdPRL (ptp); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:693:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 693 | setstdIRQ (ptp); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:694:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 694 | setstdSRQ (ptp); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c: In function 'ttyio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:767:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 767 | setstdSKF (tty); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:767:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 767 | setstdSKF (tty); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:772:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 772 | setstdSKF (tty); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:772:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 772 | setstdSKF (tty); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_stddev.c:782:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 782 | stat_data = IORETURN (SCPE_OK, data); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:819:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 819 | setstdPRL (tty); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:820:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 820 | setstdIRQ (tty); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:821:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 821 | setstdSRQ (tty); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c: In function 'tto_out': BUILDSTDERR: HP2100/hp2100_stddev.c:945:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 945 | if (r = sim_putchar_s (c)) return r; /* output char */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_stddev.c:113: BUILDSTDERR: HP2100/hp2100_stddev.c: In function 'clkio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1071:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 1071 | setstdSKF (clk); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1071:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 1071 | setstdSKF (clk); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1076:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 1076 | setstdSKF (clk); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1076:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 1076 | setstdSKF (clk); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_stddev.c:1081:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 1081 | stat_data = IORETURN (SCPE_OK, clk_error); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1115:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1115 | if ((clk_unit.flags & UNIT_DIAG) == 0) /* calibrated? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_stddev.c:113: BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1129:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 1129 | setstdPRL (clk); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1130:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 1130 | setstdIRQ (clk); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1131:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 1131 | setstdSRQ (clk); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:193:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 193 | /* 0000200 /* unused */ BUILDSTDERR: | BUILDSTDERR: In file included from HP2100/hp2100_dp.c:122: BUILDSTDERR: HP2100/hp2100_dp.c: In function 'dpdio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:433:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 433 | setstdSKF (dpd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:433:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 433 | setstdSKF (dpd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:438:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 438 | setstdSKF (dpd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:438:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 438 | setstdSKF (dpd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_dp.c:443:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 443 | stat_data = IORETURN (SCPE_OK, dpd_ibuf); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:497:17: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 497 | setstdPRL (dpd); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:498:17: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 498 | setstdIRQ (dpd); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:501:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 501 | setstdSRQ (dpd); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c: In function 'dpcio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:563:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 563 | setstdSKF (dpc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:563:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 563 | setstdSKF (dpc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:568:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 568 | setstdSKF (dpc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:568:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 568 | setstdSKF (dpc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_dp.c:578:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 578 | stat_data = IORETURN (SCPE_OK, data); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:658:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 658 | setstdPRL (dpc); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:659:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 659 | setstdIRQ (dpc); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:660:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 660 | setstdSRQ (dpc); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c: In function 'dp_goc': BUILDSTDERR: HP2100/hp2100_dp.c:697:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 697 | if (t = sim_is_active (&dpc_unit[drv])) { /* still seeking? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_dp.c: In function 'dpc_svc': BUILDSTDERR: HP2100/hp2100_dp.c:909:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 909 | if (err = fseek (uptr->fileref, da * sizeof (int16), BUILDSTDERR: | ^~~ BUILDSTDERR: HP2100/hp2100_dp.c:912:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 912 | if (err = ferror (uptr->fileref)) break; BUILDSTDERR: | ^~~ BUILDSTDERR: HP2100/hp2100_dp.c:956:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 956 | if (err = fseek (uptr->fileref, da * sizeof (int16), BUILDSTDERR: | ^~~ BUILDSTDERR: HP2100/hp2100_dp.c:959:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 959 | if (err = ferror (uptr->fileref)) break; /* error? */ BUILDSTDERR: | ^~~ BUILDSTDERR: NOVA/nova_dkp.c: In function 'dkp_svc': BUILDSTDERR: NOVA/nova_dkp.c:912:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 912 | if (err = ferror (uptr->fileref)) BUILDSTDERR: | ^~~ BUILDSTDERR: NOVA/nova_dkp.c:928:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 928 | if (err = ferror (uptr->fileref)) BUILDSTDERR: | ^~~ BUILDSTDERR: HP2100/hp2100_dq.c:103:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 103 | /* 000 /* unused */ BUILDSTDERR: | BUILDSTDERR: In file included from HP2100/hp2100_dq.c:80: BUILDSTDERR: HP2100/hp2100_dq.c: In function 'dqdio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:329:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 329 | setstdSKF (dqd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:329:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 329 | setstdSKF (dqd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:334:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 334 | setstdSKF (dqd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:334:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 334 | setstdSKF (dqd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_dq.c:339:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 339 | stat_data = IORETURN (SCPE_OK, dqd_ibuf); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:377:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 377 | setstdPRL (dqd); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:378:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 378 | setstdIRQ (dqd); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:379:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 379 | setstdSRQ (dqd); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c: In function 'dqcio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:431:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 431 | setstdSKF (dqc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:431:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 431 | setstdSKF (dqc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:436:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 436 | setstdSKF (dqc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:436:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 436 | setstdSKF (dqc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_dq.c:441:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 441 | stat_data = IORETURN (SCPE_OK, 0); /* no data */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:496:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 496 | setstdPRL (dqc); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:497:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 497 | setstdIRQ (dqc); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:498:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 498 | setstdSRQ (dqc); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c: In function 'dq_goc': BUILDSTDERR: HP2100/hp2100_dq.c:533:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 533 | if (t = sim_is_active (&dqc_unit[drv])) { /* still seeking? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_dq.c: In function 'dqc_svc': BUILDSTDERR: HP2100/hp2100_dq.c:743:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 743 | if (err = fseek (uptr->fileref, da * sizeof (int16), BUILDSTDERR: | ^~~ BUILDSTDERR: HP2100/hp2100_dq.c:746:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 746 | if (err = ferror (uptr->fileref)) break; BUILDSTDERR: | ^~~ BUILDSTDERR: HP2100/hp2100_dq.c:789:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 789 | if (err = fseek (uptr->fileref, da * sizeof (int16), BUILDSTDERR: | ^~~ BUILDSTDERR: HP2100/hp2100_dq.c:792:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 792 | if (err = ferror (uptr->fileref)) break; BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from HP2100/hp2100_dr.c:107: BUILDSTDERR: HP2100/hp2100_dr.c: In function 'drdio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_dr.c:360:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 360 | stat_data = IORETURN (SCPE_OK, drd_ibuf); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_dr.c:400:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 400 | setstdSRQ (drd); /* set SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_dr.c: In function 'drcio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_dr.c:458:17: note: in expansion of macro 'setSKF' BUILDSTDERR: 458 | setSKF (!(CALC_SCP (sim_gtime()))); /* skip if nearing end of sector */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_dr.c:464:17: note: in expansion of macro 'setSKF' BUILDSTDERR: 464 | setSKF (!sim_is_active (&drd_unit[TMR_ORG])); /* skip if origin seen */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_dr.c:486:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 486 | stat_data = IORETURN (SCPE_OK, data); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from HP2100/hp2100_lps.c:135: BUILDSTDERR: HP2100/hp2100_lps.c: In function 'lpsio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:313:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 313 | setstdSKF (lps); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:313:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 313 | setstdSKF (lps); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:318:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 318 | setstdSKF (lps); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:318:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 318 | setstdSKF (lps); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_lps.c:337:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 337 | stat_data = IORETURN (SCPE_OK, lps_sta); /* diag, rtn status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:375:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 375 | if (!(signal_set & ioCLC)) /* CLC not asserted simultaneously? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_lps.c:135: BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:430:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 430 | setstdPRL (lps); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:431:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 431 | setstdIRQ (lps); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:432:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 432 | setstdSRQ (lps); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: NOVA/nova_mta.c: In function 'mta_svc': BUILDSTDERR: NOVA/nova_mta.c:415:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 415 | if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) { /* write rec, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_mta.c:424:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 424 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_mta.c:438:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 438 | if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_mta.c:450:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 450 | if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: NOVA/nova_mta.c: In function 'mta_upddsta': BUILDSTDERR: NOVA/nova_mta.c:496:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 496 | /* if (mta_ep) { /* if polling */ BUILDSTDERR: | BUILDSTDERR: NOVA/nova_mta.c:497:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 497 | /* u = uptr - mta_dev.units; /* unit num */ BUILDSTDERR: | BUILDSTDERR: NOVA/nova_mta.c:499:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 499 | /* set polling interupt... BUILDSTDERR: | BUILDSTDERR: NOVA/nova_mta.c:500:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 500 | /* } */ BUILDSTDERR: | BUILDSTDERR: In file included from HP2100/hp2100_ms.c:79: BUILDSTDERR: HP2100/hp2100_ms.c: In function 'msdio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:403:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 403 | setstdSKF (msd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:403:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 403 | setstdSKF (msd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:407:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 407 | setstdSKF (msd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:407:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 407 | setstdSKF (msd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ms.c:411:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 411 | stat_data = IORETURN (SCPE_OK, msd_buf); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:438:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 438 | setstdPRL (msd); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:439:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 439 | setstdIRQ (msd); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:440:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 440 | setstdSRQ (msd); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c: In function 'mscio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:507:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 507 | setstdSKF (msc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:507:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 507 | setstdSKF (msc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:512:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 512 | setstdSKF (msc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:512:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 512 | setstdSKF (msc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ms.c:545:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 545 | stat_data = IORETURN (SCPE_OK, data); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:649:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 649 | setstdPRL (msc); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:650:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 650 | setstdIRQ (msc); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:651:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 651 | setstdSRQ (msc); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c: In function 'msc_svc': BUILDSTDERR: HP2100/hp2100_ms.c:740:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 740 | if (st = ms_write_gap (uptr)) { /* write initial gap; error? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_ms.c:750:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 750 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_ms.c:756:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 756 | if (st = sim_tape_sprecf (uptr, &tbc)) /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_ms.c:764:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 764 | if (st = sim_tape_sprecr (uptr, &tbc)) /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_ms.c:834:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 834 | if (st = ms_write_gap (uptr)) { /* write initial gap; error? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_ms.c:858:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 858 | if (st = sim_tape_wrrecf (uptr, msxb, ms_ptr)) { /* write, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_ms.c: In function 'ms_write_gap': BUILDSTDERR: HP2100/hp2100_ms.c:897:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 897 | if (st = sim_tape_wrgap (uptr, gap_len, tape_bpi)) /* write gap */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_ms.c: In function 'ms_clear': BUILDSTDERR: HP2100/hp2100_ms.c:977:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 977 | if (st = sim_tape_wrrecf (uptr, msxb, ms_ptr | MTR_ERF)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from HP2100/hp2100_mt.c:83: BUILDSTDERR: HP2100/hp2100_mt.c: In function 'mtdio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:277:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 277 | setstdSKF (mtd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:277:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 277 | setstdSKF (mtd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:281:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 281 | setstdSKF (mtd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:281:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 281 | setstdSKF (mtd); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mt.c:285:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 285 | stat_data = IORETURN (SCPE_OK, mtc_unit.buf); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:303:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 303 | setstdSRQ (mtd); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c: In function 'mtcio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:364:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 364 | setstdSKF (mtc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:364:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 364 | setstdSKF (mtc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:369:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 369 | setstdSKF (mtc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:369:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 369 | setstdSKF (mtc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mt.c:386:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 386 | stat_data = IORETURN (SCPE_OK, data); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:446:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 446 | setstdPRL (mtc); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:447:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 447 | setstdIRQ (mtc); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:448:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 448 | setstdSRQ (mtc); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c: In function 'mtc_svc': BUILDSTDERR: HP2100/hp2100_mt.c:498:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 498 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_mt.c:507:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 507 | if (st = sim_tape_sprecf (uptr, &tbc)) /* space rec fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_mt.c:512:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 512 | if (st = sim_tape_sprecr (uptr, &tbc)) /* space rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_mt.c:561:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 561 | if (st = sim_tape_wrrecf (uptr, mtxb, mt_ptr)) { /* write, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_mt.c: In function 'mt_clear': BUILDSTDERR: HP2100/hp2100_mt.c:630:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 630 | if (st = sim_tape_wrrecf (&mtc_unit, mtxb, mt_ptr | MTR_ERF)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from HP2100/hp2100_mux.c:137: BUILDSTDERR: HP2100/hp2100_mux.c: In function 'muxlio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:633:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 633 | setstdSKF (muxl); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:633:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 633 | setstdSKF (muxl); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:638:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 638 | setstdSKF (muxl); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:638:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 638 | setstdSKF (muxl); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mux.c:643:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 643 | stat_data = IORETURN (SCPE_OK, muxl_ibuf); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:653:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 653 | if (DEBUG_PRI (muxu_dev, DEB_CPU)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mux.c:711:43: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 711 | muxl_obuf & ~OTL_PAR | BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_mux.c:137: BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:757:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 757 | setstdPRL (muxl); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:758:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 758 | setstdIRQ (muxl); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:759:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 759 | setstdSRQ (muxl); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c: In function 'muxuio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mux.c:803:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 803 | stat_data = IORETURN (SCPE_OK, muxu_ibuf); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c: In function 'muxcio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:870:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 870 | setstdSKF (muxc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:870:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 870 | setstdSKF (muxc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:875:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 875 | setstdSKF (muxc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:875:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 875 | setstdSKF (muxc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mux.c:890:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 890 | stat_data = IORETURN (SCPE_OK, data); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:954:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 954 | setstdPRL (muxc); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:955:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 955 | setstdIRQ (muxc); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:956:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 956 | setstdSRQ (muxc); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c: In function 'mux_receive': BUILDSTDERR: HP2100/hp2100_mux.c:1110:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1110 | if (DEBUG_PRI (muxu_dev, DEB_XFER)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mux.c: In function 'mux_data_int': BUILDSTDERR: HP2100/hp2100_mux.c:1163:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1163 | mux_rbuf[i] & LIL_CHAR | BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mux.c:1179:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1179 | mux_rbuf[i] & LIL_CHAR | BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mux.c:1195:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1195 | mux_rbuf[i] & LIL_CHAR | BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mux.c: In function 'mux_ctrl_int': BUILDSTDERR: HP2100/hp2100_mux.c:241:26: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] BUILDSTDERR: 239 | #define LIC_TSTI(ch) (((muxc_lia[ch] ^ muxc_ota[ch]) & \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 240 | ((muxc_ota[ch] & (OTC_ES2|OTC_ES1)) >> OTC_V_ES)) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 241 | << LIC_V_I) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:1230:9: note: in expansion of macro 'LIC_TSTI' BUILDSTDERR: 1230 | if (LIC_TSTI (muxc_chan)) { /* status change? */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: NOVA/nova_tt1.c: In function 'tti1_svc': BUILDSTDERR: NOVA/nova_tt1.c:187:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 187 | if (temp = tmxr_getc_ln (&tt1_ldsc)) { /* get char */ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'sim_instr': BUILDSTDERR: HP2100/hp2100_cpu.c:1057:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1057 | for (i = 0; dptr = sim_devices [i]; i++) { /* loop thru dev */ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:1470:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1467 | if (((PC == err_PC) || /* RTE through RTE-IVB */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1468 | ((PC == (err_PC - 1)) && /* RTE-6/VM */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1469 | ((ReadW (PC) & I_MRG) == I_ISZ))) && /* RTE jump target */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1470 | (mp_fence == CLEAR) && (M [xeqt] == 0) && /* RTE idle indications */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1471 | (M [tbg] == clk_dib.select_code) || /* RTE verification */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from HP2100/hp2100_cpu.c:444: BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'iogrp': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:1984:38: note: in expansion of macro 'IORETURN' BUILDSTDERR: 1984 | ioreturn = devdisp (dev, signal_set, IORETURN (SCPE_OK, iodata)); /* dispatch I/O signal */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: NOVA/nova_qty.c: In function 'qty_update_status': BUILDSTDERR: NOVA/nova_qty.c:225:58: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 225 | #define QTY_LINE_BITS( line, bits ) qty_status[ (line) ] & bits BUILDSTDERR: | ^ BUILDSTDERR: NOVA/nova_qty.c:441:26: note: in expansion of macro 'QTY_LINE_BITS' BUILDSTDERR: 441 | status = QTY_LINE_BITS( line, QTY_S_DMASK ) | QTY_S_RI ; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'devdisp': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:2018:40: note: in expansion of macro 'IORETURN' BUILDSTDERR: 2018 | IORETURN (SCPE_OK, data)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: NOVA/nova_qty.c: In function 'qty_common_svc': BUILDSTDERR: NOVA/nova_qty.c:606:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 606 | if ( (newln >= 0) && qty_mdm ) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'calc_int': BUILDSTDERR: HP2100/hp2100_cpu.c:2156:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 2156 | else if (req_grant [1]) /* device in upper half */ BUILDSTDERR: | ^ BUILDSTDERR: NOVA/nova_qty.c: In function 'alm': BUILDSTDERR: NOVA/nova_qty.c:994:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 994 | if ( alm_line < qty_max ) BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_cpu.c:444: BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'cpuio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:2750:13: note: in expansion of macro 'setSKF' BUILDSTDERR: 2750 | setSKF (!ion); /* skip if interrupt system is off */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:2754:13: note: in expansion of macro 'setSKF' BUILDSTDERR: 2754 | setSKF (ion); /* skip if interupt system is on */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:2758:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 2758 | stat_data = IORETURN (SCPE_OK, 0); /* returns 0 */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'ovflio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:2840:13: note: in expansion of macro 'setSKF' BUILDSTDERR: 2840 | setSKF (!O); /* skip if overflow is clear */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:2844:13: note: in expansion of macro 'setSKF' BUILDSTDERR: 2844 | setSKF (O); /* skip if overflow is set */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:2848:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 2848 | stat_data = IORETURN (SCPE_OK, SR); /* read switch register value */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'pwrfio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:2899:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 2899 | stat_data = IORETURN (SCPE_OK, intaddr); /* input CIR value */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'protio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:2992:13: note: in expansion of macro 'setSKF' BUILDSTDERR: 2992 | setSKF (!mp_mevff); /* skip if MP interrupt */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:2996:13: note: in expansion of macro 'setSKF' BUILDSTDERR: 2996 | setSKF (mp_mevff); /* skip if DMS interrupt */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3000:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 3000 | stat_data = IORETURN (SCPE_OK, mp_viol); /* read MP violation register */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3024:13: note: in expansion of macro 'setPRL' BUILDSTDERR: 3024 | setPRL (PRO, !mp_flag); /* set PRL signal */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3025:13: note: in expansion of macro 'setIRQ' BUILDSTDERR: 3025 | setIRQ (PRO, mp_flag); /* set IRQ signal */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'dmasio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3098:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 3098 | stat_data = IORETURN (SCPE_OK, data); /* merge status and remaining word count */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'dmapio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3183:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 3183 | setstdSKF (dma [ch]); /* skip if transfer in progress */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3183:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 3183 | setstdSKF (dma [ch]); /* skip if transfer in progress */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3187:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 3187 | setstdSKF (dma [ch]); /* skip if transfer is complete */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3187:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 3187 | setstdSKF (dma [ch]); /* skip if transfer is complete */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3192:29: note: in expansion of macro 'IORETURN' BUILDSTDERR: 3192 | stat_data = IORETURN (SCPE_OK, DMASK); /* return all ones */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3194:29: note: in expansion of macro 'IORETURN' BUILDSTDERR: 3194 | stat_data = IORETURN (SCPE_OK, 0); /* return all zeros */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3227:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 3227 | setstdPRL (dma [ch]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3228:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 3228 | setstdIRQ (dma [ch]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'nullio': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3292:8: note: in expansion of macro 'IORETURN' BUILDSTDERR: 3292 | return IORETURN (stop_dev, data); /* flag missing device */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'dma_cycle': BUILDSTDERR: HP2100/hp2100_cpu.c:3354:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 3354 | if (bytes && !even || dma [ch].cw3 != DMASK) { /* normal cycle? */ BUILDSTDERR: | ~~~~~~^~~~~~~~ BUILDSTDERR: In file included from HP2100/hp2100_cpu.c:444: BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3380:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 3380 | IORETURN (SCPE_OK, 0)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c:3419:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 3419 | IORETURN (SCPE_OK, data)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3425:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 3425 | dma [ch].cw2 = input | (dma [ch].cw2 + 1) & VAMASK; /* increment address */ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'dev_conflict': BUILDSTDERR: HP2100/hp2100_cpu.c:3614:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3614 | for (i = 0; dptr = sim_devices[i]; i++) { BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3632:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3632 | for (j = 0; dptr = sim_devices[j]; j++) { BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'cpu_set_model': BUILDSTDERR: HP2100/hp2100_cpu.c:3733:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 3733 | cpu_unit.flags = cpu_unit.flags & ~UNIT_OPTS | /* set typical features */ BUILDSTDERR: HP2100/hp2100_cpu.c:3794:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 3794 | if (result == SCPE_OK) /* memory change OK? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'cpu_show_model': BUILDSTDERR: HP2100/hp2100_cpu.c:3813:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 3813 | if (UNIT_CPU_FAMILY == UNIT_FAMILY_21XX) /* valid only for 21xx */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu.c: In function 'cpu_set_opt': BUILDSTDERR: HP2100/hp2100_cpu.c:3849:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 3849 | else if (UNIT_CPU_MODEL == UNIT_1000_F) BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_sys.c: In function 'parse_sym': BUILDSTDERR: HP2100/hp2100_sys.c:611:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 611 | if (k = (strcmp (gbuf, "C") == 0)) { /* C specified? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_sys.c:615:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 615 | else if (k = (strcmp (gbuf, "Z") == 0)) { /* Z specified? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_lpt.c:76: BUILDSTDERR: HP2100/hp2100_lpt.c: In function 'lptio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:190:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 190 | setstdSKF (lpt); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:190:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 190 | setstdSKF (lpt); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:195:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 195 | setstdSKF (lpt); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:195:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 195 | setstdSKF (lpt); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_lpt.c:216:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 216 | stat_data = IORETURN (SCPE_OK, data); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:244:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 244 | setstdPRL (lpt); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:245:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 245 | setstdIRQ (lpt); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:246:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 246 | setstdSRQ (lpt); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from HP2100/hp2100_ipl.c:67: BUILDSTDERR: HP2100/hp2100_ipl.c: In function 'iplio': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:332:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 332 | setstdSKF (ipl [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:332:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 332 | setstdSKF (ipl [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:337:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 337 | setstdSKF (ipl [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:337:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 337 | setstdSKF (ipl [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ipl.c:342:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 342 | stat_data = IORETURN (SCPE_OK, uptr->IBUF); /* get return data */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ipl.c:385:28: note: in expansion of macro 'IORETURN' BUILDSTDERR: 385 | return IORETURN (STOP_NOCONN, 0); /* lose */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ipl.c:398:28: note: in expansion of macro 'IORETURN' BUILDSTDERR: 398 | return IORETURN (SCPE_IOERR, 0); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ipl.c:413:24: note: in expansion of macro 'IORETURN' BUILDSTDERR: 413 | return IORETURN (SCPE_UNATT, 0); /* lose */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:433:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 433 | setstdPRL (ipl [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:434:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 434 | setstdIRQ (ipl [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:435:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 435 | setstdSRQ (ipl [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c: In function 'ipl_attach': BUILDSTDERR: HP2100/hp2100_ipl.c:626:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 626 | if (t = ipl_check_conn (uptr)) /* established? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_ds.c:118: BUILDSTDERR: HP2100/hp2100_ds.c: In function 'ds_io': BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_ds.c:459:13: note: in expansion of macro 'setSKF' BUILDSTDERR: 459 | setSKF (mac_cntlr.state != cntlr_busy); /* skip if the controller is not busy */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ds.c:464:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 464 | setstdSKF (ds); /* assert SKF if the flag is set */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ds.c:464:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 464 | setstdSKF (ds); /* assert SKF if the flag is set */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ds.c:470:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 470 | stat_data = IORETURN (SCPE_OK, data); /* merge in the return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ds.c:543:29: note: in expansion of macro 'IORETURN' BUILDSTDERR: 543 | stat_data = IORETURN (status, 0); /* return the status from the controller */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ds.c:580:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 580 | setstdPRL (ds); /* set the standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ds.c:581:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 581 | setstdIRQ (ds); /* set the standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_ds.c:582:13: note: in expansion of macro 'setSRQ' BUILDSTDERR: 582 | setSRQ (dibptr->select_code, ds.srq); /* set the SRQ signal */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_ds.c: In function 'ds_boot': BUILDSTDERR: HP2100/hp2100_ds.c:1172:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1172 | SR = SR & (IBL_OPT | IBL_DS_HEAD) /* set S to a reasonable value */ BUILDSTDERR: | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu0.c: In function 'cpu_ds': BUILDSTDERR: HP2100/hp2100_cpu0.c:133:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 133 | if (reason = cpu_ops (op_ds[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu0.c: In function 'cpu_user': BUILDSTDERR: HP2100/hp2100_cpu0.c:194:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 194 | /* case 000: /* 105000-105017 */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:195:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 195 | /* return cpu_user_00 (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:197:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 197 | /* case 001: /* 105020-105037 */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:198:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 198 | /* return cpu_user_01 (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:200:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 200 | /* case 0nn: /* other cases as needed */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:201:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 201 | /* return cpu_user_nn (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:206:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 206 | /* case 021: /* 10x420-10x437 */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:207:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 207 | /* return cpu_user_21 (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:209:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 209 | /* case 0nn: /* other cases as needed */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:210:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 210 | /* return cpu_user_nn (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c: In function 'cpu_user_20': BUILDSTDERR: HP2100/hp2100_cpu0.c:247:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 247 | if (reason = cpu_ops (op_user_20 [entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu0.c:253:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 253 | /* break; /* uncomment to handle instruction */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:256:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 256 | /* break; /* uncomment to handle instruction */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 258 | /* case 0nn: /* other cases as needed */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu0.c:259:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 259 | /* break; /* uncomment to handle instruction */ BUILDSTDERR: | BUILDSTDERR: HP2100/hp2100_cpu1.c: In function 'cpu_eau': BUILDSTDERR: HP2100/hp2100_cpu1.c:196:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 196 | if ((cpu_unit.flags & UNIT_EAU) == 0) /* option installed? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_cpu1.c:248:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 248 | if (reason = cpu_ops (OP_K, op, intrq)) /* get operand */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu1.c:265:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 265 | if (reason = cpu_ops (OP_K, op, intrq)) /* get operand */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu1.c:267:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 267 | if (rs = qs = BR & SIGN) { /* save divd sign, neg? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_cpu1.c:320:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 320 | if (reason = cpu_ops (OP_D, op, intrq)) /* get operand */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu1.c:327:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 327 | if (reason = cpu_ops (OP_A, op, intrq)) /* get operand */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu1.c: In function 'cpu_ops': BUILDSTDERR: HP2100/hp2100_cpu1.c:737:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 737 | if (reason = resolve (ReadW (PC), &MA, irq)) /* resolve indirects */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu2.c: In function 'cpu_dms': BUILDSTDERR: HP2100/hp2100_cpu2.c:247:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 247 | if (reason = cpu_ops (op_dms[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu2.c: In function 'cpu_eig': BUILDSTDERR: HP2100/hp2100_cpu2.c:613:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 613 | if (reason = cpu_ops (op_eig[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu2.c: In function 'cpu_iop': BUILDSTDERR: HP2100/hp2100_cpu2.c:992:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 992 | if (reason = cpu_ops (op_iop[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu3.c: In function 'cpu_ffp': BUILDSTDERR: HP2100/hp2100_cpu3.c:189:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 189 | if (reason = cpu_ops (op_ffp_e[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu3.c:197:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 197 | if (reason = cpu_ops (op_ffp_f[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu3.c:420:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 420 | if (reason = resolve (da, &MA, intrq)) { /* resolve indirects */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu3.c:438:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 438 | if (reason = cpu_ops (OP_KK, op2, intrq)) { /* get 1st, 2nd ranges */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu3.c:464:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 464 | if (reason = resolve (MA, &MA, intrq)) { /* resolve indirect */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu3.c: In function 'cpu_dbi': BUILDSTDERR: HP2100/hp2100_cpu3.c:647:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 647 | if (reason = cpu_ops (op_dbi[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu4.c: In function 'cpu_fpp': BUILDSTDERR: HP2100/hp2100_cpu4.c:264:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 264 | if (reason = cpu_ops (op_fpp[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu4.c: In function 'cpu_sis': BUILDSTDERR: HP2100/hp2100_cpu4.c:603:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 603 | if (reason = cpu_ops (op_sis[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu5.c: In function 'cpu_rte_vma': BUILDSTDERR: HP2100/hp2100_cpu5.c:653:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 653 | if (reason = cpu_ops (pattern, op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu5.c: In function 'cpu_rte_ema': BUILDSTDERR: HP2100/hp2100_cpu5.c:1364:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1364 | if (reason = cpu_ops (pattern, op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_cpu6.c: In function 'cpu_save_regs': BUILDSTDERR: HP2100/hp2100_cpu6.c:251:34: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 251 | WriteW (save_area + 3, (E << 15) & SIGN | O & 1); /* save E and O */ BUILDSTDERR: HP2100/hp2100_cpu6.c: In function 'cpu_rte_os': BUILDSTDERR: HP2100/hp2100_cpu6.c:397:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 397 | if (reason = cpu_ops (pattern, op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu6.c:400:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 400 | tbg_tick = tbg_tick || (IR == 0105357) && iotrap; /* set TBG interrupting flag */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu6.c:547:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 547 | if (reason = resolve (ma, &ma, intrq)) { /* resolve indirect */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu6.c:552:36: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 552 | WriteW (ma, ReadW (ma) & ~I_DEVMASK | AR); /* set SC into instruction */ BUILDSTDERR: HP2100/hp2100_cpu6.c:623:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 623 | if ((E == 0) && (key == op[0].word) || /* for E = 0, key = arg? */ BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu6.c:713:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 713 | if (reason = resolve (ma, &ma, intrq)) { /* resolve indirect */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu7.c: In function 'cpu_vis': BUILDSTDERR: HP2100/hp2100_cpu7.c:388:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 388 | if (pattern != OP_N) BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_cpu7.c:394:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 394 | if (reason = cpu_ops (pattern, op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_cpu7.c:394:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 394 | if (reason = cpu_ops (pattern, op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu7.c: In function 'cpu_signal': BUILDSTDERR: HP2100/hp2100_cpu7.c:656:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 656 | if (reason = cpu_ops (op_signal[entry], op, intrq)) /* get instruction operands */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_fp1.c: In function 'fp_prec': BUILDSTDERR: HP2100/hp2100_fp1.c:1148:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1148 | if (result) /* want result precision? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_baci.c:156: BUILDSTDERR: HP2100/hp2100_baci.c: In function 'baci_io': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:579:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 579 | setstdSKF (baci); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:579:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 579 | setstdSKF (baci); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:584:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 584 | setstdSKF (baci); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:584:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 584 | setstdSKF (baci); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_baci.c:608:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 608 | stat_data = IORETURN (SCPE_OK, data); /* merge in return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:673:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 673 | if (baci_term.flags & UNIT_DIAG) /* diagnostic mode? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from HP2100/hp2100_baci.c:156: BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:745:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 745 | setstdPRL (baci); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:746:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 746 | setstdIRQ (baci); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_baci.c:747:13: note: in expansion of macro 'setSRQ' BUILDSTDERR: 747 | setSRQ (dibptr->select_code, baci.srq); /* set SRQ signal */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c: In function 'master_reset': BUILDSTDERR: HP2100/hp2100_baci.c:1110:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1110 | baci_status = baci_status & ~IN_MODEM | IN_SPARE; /* clear loopback status, set BA */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_baci.c: In function 'update_status': BUILDSTDERR: HP2100/hp2100_baci.c:1160:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1160 | !(baci_icw & OUT_DCPC) && /* or under program control */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1161 | (baci_status & IN_FIFOIRQ) || /* and FIFO interrupt? */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:1163:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1162 | (IO_MODE == RECV) && /* or receiving */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1163 | (baci_edsiw & OUT_ENCM) && /* and char mode */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1164 | (baci_fget != baci_fput)) { /* and FIFO not empty? */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:1188:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1188 | ((IO_MODE == XMIT) && (baci_fcount < 128) || /* and xmit and room in FIFO */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c: In function 'fifo_put': BUILDSTDERR: HP2100/hp2100_baci.c:1384:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1384 | if (DEBUG_PRI (baci_dev, DEB_BUF)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_baci.c: In function 'clock_uart': BUILDSTDERR: HP2100/hp2100_baci.c:1450:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1450 | if ((baci_uart_clk & 017) == 0) /* end of a bit? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_baci.c:1476:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1475 | (baci_uart_clk == 8) && /* or last stop bit */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1476 | (baci_cfcw & OUT_STBITS) && /* and extra stop bit requested */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1477 | ((baci_cfcw & OUT_CHARSIZE) == 0))) { /* and 1.5 stop bits used? */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from HP2100/hp2100_mpx.c:141: BUILDSTDERR: HP2100/hp2100_mpx.c: In function 'mpx_io': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:839:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 839 | setstdSKF (mpx); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:839:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 839 | setstdSKF (mpx); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:844:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 844 | setstdSKF (mpx); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:844:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 844 | setstdSKF (mpx); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mpx.c:849:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 849 | stat_data = IORETURN (SCPE_OK, mpx_ibuf); /* return info */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:935:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 935 | setstdPRL (mpx); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:936:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 936 | setstdIRQ (mpx); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:937:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 937 | setstdSRQ (mpx); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c: In function 'exec_command': BUILDSTDERR: HP2100/hp2100_mpx.c:1120:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1120 | if (port >= 0) /* port defined? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_mpx.c:1123:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1123 | if ((buf_avail (ioread, port) == 1) && /* one buffer remaining? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_mpx.c:1156:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1156 | if (port >= 0) /* port defined? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mpx.c:1211:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1211 | if (port >= 0) /* port defined? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_mpx.c:1214:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1214 | if (mpx_param & FC_FORCE_XON) /* force XON? */ BUILDSTDERR: | ^~ BUILDSTDERR: HP2100/hp2100_mpx.c:1254:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1254 | if (port >= 0) /* port defined? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mpx.c: In function 'mpx_cntl_svc': BUILDSTDERR: HP2100/hp2100_mpx.c:1379:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1379 | mpx_ibuf = mpx_uicode & UI_REASON | mpx_portkey; /* report UI reason and port key */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mpx.c: In function 'mpx_line_svc': BUILDSTDERR: HP2100/hp2100_mpx.c:1787:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1787 | if (rt & RT_ENAB_EDIT) /* editing enabled? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_mpx.c:1929:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1929 | if ((buf_avail (iowrite, port) < 2) && /* more to transmit? */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1930 | !(mpx_flags [port] & (FL_WAITACK | FL_XOFF)) || /* and transmission not suspended */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c: In function 'buf_get': BUILDSTDERR: HP2100/hp2100_mpx.c:2476:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 2476 | if (DEBUG_PRI (mpx_dev, DEB_BUF)) BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: HP2100/hp2100_mpx.c:447:11: warning: 'FL_DO_ENQACK_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 447 | BITFIELD (FL_DO_ENQACK, 0, 1) /* Port flags: do ENQ/ACK handshake */ BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:446:11: warning: 'FL_WAITACK_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 446 | BITFIELD (FL_WAITACK, 1, 1) /* Port flags: ENQ sent, waiting for ACK */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:445:11: warning: 'FL_WREMPT_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 445 | BITFIELD (FL_WREMPT, 2, 1) /* Port flags: write buffer is emptying */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:444:11: warning: 'FL_WRFILL_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 444 | BITFIELD (FL_WRFILL, 3, 1) /* Port flags: write buffer is filling */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:443:11: warning: 'FL_RDEMPT_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 443 | BITFIELD (FL_RDEMPT, 4, 1) /* Port flags: read buffer is emptying */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:442:11: warning: 'FL_RDFILL_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 442 | BITFIELD (FL_RDFILL, 5, 1) /* Port flags: read buffer is filling */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:441:11: warning: 'FL_RDOVFLOW_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 441 | BITFIELD (FL_RDOVFLOW, 6, 1) /* Port flags: read buffers overflowed */ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:440:11: warning: 'FL_WANTBUF_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 440 | BITFIELD (FL_WANTBUF, 7, 1) /* Port flags: UI / write buffer available */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:439:11: warning: 'FL_HAVEBUF_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 439 | BITFIELD (FL_HAVEBUF, 8, 1) /* Port flags: UI / read buffer available */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:438:11: warning: 'FL_BREAK_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 438 | BITFIELD (FL_BREAK, 9, 1) /* Port flags: UI / break detected */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:437:11: warning: 'FL_XOFF_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 437 | BITFIELD (FL_XOFF, 10, 1) /* Port flags: XOFF stopped transmission */ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:436:11: warning: 'FL_ALERT_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 436 | BITFIELD (FL_ALERT, 11, 1) /* Port flags: alert for terminate recv buffer */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:432:11: warning: 'SK_ENQACK_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 432 | BITFIELD (SK_ENQACK, 7, 1) /* Set key: disable or enable ENQ/ACK */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:431:11: warning: 'SK_PARITY' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 431 | BITFIELD (SK_PARITY, 8, 2) /* Set key: parity select */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:168:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 168 | static const uint32 NAME = ((1 << (BITWIDTH)) - 1) << (STARTBIT); BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:431:11: warning: 'SK_PARITY_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 431 | BITFIELD (SK_PARITY, 8, 2) /* Set key: parity select */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:430:11: warning: 'SK_STOPBITS' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 430 | BITFIELD (SK_STOPBITS, 10, 2) /* Set key: stop bits */ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:168:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 168 | static const uint32 NAME = ((1 << (BITWIDTH)) - 1) << (STARTBIT); BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:429:11: warning: 'SK_BRG_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 429 | BITFIELD (SK_BRG, 12, 1) /* Set key: baud rate generator 0/1 */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:428:11: warning: 'SK_MODEM' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 428 | BITFIELD (SK_MODEM, 13, 1) /* Set key: hardwired or modem */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:168:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 168 | static const uint32 NAME = ((1 << (BITWIDTH)) - 1) << (STARTBIT); BUILDSTDERR: | ^~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:428:11: warning: 'SK_MODEM_V' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 428 | BITFIELD (SK_MODEM, 13, 1) /* Set key: hardwired or modem */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 167 | static const uint32 NAME ## _V = STARTBIT; \ BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from HP2100/hp2100_pif.c:97: BUILDSTDERR: HP2100/hp2100_pif.c: In function 'pif_io': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:251:17: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 251 | setstdSKF (pif); /* card responds to SFC */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:251:17: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 251 | setstdSKF (pif); /* card responds to SFC */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:257:17: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 257 | setstdSKF (pif); /* card responds to SFS */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:257:17: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 257 | setstdSKF (pif); /* card responds to SFS */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:302:17: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 302 | setstdPRL (pif); /* set standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:303:17: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 303 | setstdIRQ (pif); /* set standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:436:25: note: in expansion of macro 'setSRQ' BUILDSTDERR: 436 | #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:304:17: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 304 | setstdSRQ (pif); /* set standard SRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_pif.c:308:17: note: in expansion of macro 'setPRL' BUILDSTDERR: 308 | setPRL (dibptr->select_code, !(pif.control | pif.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:309:46: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] BUILDSTDERR: 309 | setIRQ (dibptr->select_code, !pif.control & pif.flag & pif.flagbuf); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:77: note: in definition of macro 'setIRQ' BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_pif.c:309:17: note: in expansion of macro 'setIRQ' BUILDSTDERR: 309 | setIRQ (dibptr->select_code, !pif.control & pif.flag & pif.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from HP2100/hp2100_di.c:100: BUILDSTDERR: HP2100/hp2100_di.c: In function 'di_io': BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:474:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 474 | setstdSKF (di [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:474:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 474 | setstdSKF (di [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:479:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 479 | setstdSKF (di [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:421:37: note: in expansion of macro 'IORETURN' BUILDSTDERR: 421 | #define setSKF(B) stat_data = IORETURN (SCPE_OK, (uint16) ((B) ? ioSKF : ioNONE)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:25: note: in expansion of macro 'setSKF' BUILDSTDERR: 431 | #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:479:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 479 | setstdSKF (di [card]); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 360 | #define IORETURN(E,D) ((uint32) ((E) << 16 | (D) & DMASK)) /* form I/O handler return value */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c:530:25: note: in expansion of macro 'IORETURN' BUILDSTDERR: 530 | stat_data = IORETURN (SCPE_OK, data); /* merge in the return status */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:610:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 610 | if (FIFO_FULL) /* is the FIFO full? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c:629:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 628 | di_card->status_register BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 629 | & ~(STAT_LSTN | STAT_TALK) /* clear listen and talk status */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from HP2100/hp2100_di.c:100: BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 423 | #define setPRL(S,B) dev_prl[(S)/32] = dev_prl[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:434:25: note: in expansion of macro 'setPRL' BUILDSTDERR: 434 | #define setstdPRL(N) setPRL (dibptr->select_code, !(N.control & N.flag)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:720:13: note: in expansion of macro 'setstdPRL' BUILDSTDERR: 720 | setstdPRL (di [card]); /* set the standard PRL signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 424 | #define setIRQ(S,B) dev_irq[(S)/32] = dev_irq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_defs.h:435:25: note: in expansion of macro 'setIRQ' BUILDSTDERR: 435 | #define setstdIRQ(N) setIRQ (dibptr->select_code, N.control & N.flag & N.flagbuf); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:721:13: note: in expansion of macro 'setstdIRQ' BUILDSTDERR: 721 | setstdIRQ (di [card]); /* set the standard IRQ signal */ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 425 | #define setSRQ(S,B) dev_srq[(S)/32] = dev_srq[(S)/32] & ~BIT_M (S) | (((B) & 1) << BIT_V (S)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c:723:13: note: in expansion of macro 'setSRQ' BUILDSTDERR: 723 | setSRQ (dibptr->select_code, /* set the SRQ signal if control and SRQ are set */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c: In function 'di_set_address': BUILDSTDERR: HP2100/hp2100_di.c:838:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 838 | dptr->flags = dptr->flags & ~DEV_BUSADR /* store the new address in the device flags */ BUILDSTDERR: HP2100/hp2100_di.c:853:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 853 | uptr->flags = uptr->flags & ~UNIT_BUSADR /* the address is valid; change it */ BUILDSTDERR: HP2100/hp2100_di.c: In function 'di_bus_control': BUILDSTDERR: HP2100/hp2100_di.c:1117:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1117 | new_state = di [card].bus_cntl & ~deny | assert; /* set up the new control state */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: HP2100/hp2100_di.c: In function 'update_state': BUILDSTDERR: HP2100/hp2100_di.c:1455:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1455 | if (di_card->cntl_register & CNTL_LSTN) /* is the card a listener? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c:1470:3: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1470 | && di_card->status_register & STAT_IRL /* and the input register is loaded, */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c:1485:5: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1485 | && di_card->cntl_register & CNTL_IRL /* and notification is wanted? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c:1489:5: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1488 | || di_card->eor == SET /* or was the end of record seen */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1489 | && !(di_card->status_register & STAT_IRL) /* and the input register was unloaded? */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:1492:5: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1492 | && di_card->cntl_register & CNTL_CIC /* and the card is not controller? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c:1495:5: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1495 | && di_card->cntl_register & CNTL_REN /* and notification is wanted? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c:1498:5: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1498 | && di_card->cntl_register & CNTL_IFC) { /* and notification is wanted? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di.c: In function 'fifo_unload': BUILDSTDERR: HP2100/hp2100_di.c:1816:21: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1816 | data = data & ~(DATA_ATN | DATA_EOI) /* substitute the ATN/EOI tag values */ BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:1870:33: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1870 | di_card->bus_cntl & ~BUS_ATN /* from the ATN tag value */ BUILDSTDERR: HP2100/hp2100_di.c:1874:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1874 | di_card->bus_cntl & ~BUS_EOI /* from the EOI tag value */ BUILDSTDERR: HP2100/hp2100_di.c:1859:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1859 | if (di_card->cntl_register & CNTL_TALK) /* is the card talking? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di_da.c: In function 'da_boot': BUILDSTDERR: HP2100/hp2100_di_da.c:1218:9: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1218 | SR = SR & (IBL_OPT | IBL_DS_HEAD) /* set S to a reasonable value */ BUILDSTDERR: | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_di_da.c: In function 'da_bus_accept': BUILDSTDERR: HP2100/hp2100_di_da.c:1598:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1597 | if (if_state [unit] == read_wait /* if we're waiting for a send data secondary */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1598 | && message_address != 0x00 /* but it's not there */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_di_da.c:1741:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1741 | if (icd_cntlr [unit].length == 0) /* is this the last parameter? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp2100_di_da.c:1790:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1790 | if (initiated && DEBUG_PRI (da_dev, DEB_RWSC)) BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp_disclib.c: In function 'dl_start_command': BUILDSTDERR: HP2100/hp_disclib.c:764:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 764 | if (props->unit_check && !uptr /* if the unit number is checked and is invalid */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: HP2100/hp_disclib.c: In function 'dl_load_unload': BUILDSTDERR: HP2100/hp_disclib.c:1566:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1566 | else if (!(sim_switches & SIM_SW_REST)) /* modify the flags only if not restoring */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp_disclib.c: In function 'start_write': BUILDSTDERR: HP2100/hp_disclib.c:1900:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1900 | || !verify && !(uptr->flags & UNIT_FMT)) /* or is formatting required but not enabled? */ BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp_disclib.c: In function 'position_sector': BUILDSTDERR: HP2100/hp_disclib.c:2044:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 2044 | if (uptr->STAT & DL_S2SC) /* did a seek check occur? */ BUILDSTDERR: | ^ BUILDSTDERR: HP2100/hp_disclib.c: In function 'set_timer': BUILDSTDERR: HP2100/hp_disclib.c:2294:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 2294 | if (cvptr->type == MAC) /* is this a MAC controller? */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: I1401/i1401_cpu.c: In function 'sim_instr': BUILDSTDERR: I1401/i1401_cpu.c:550:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 550 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1042:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1042 | if (reason = iomod (ilnt, D, r_mod)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1052:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1052 | if (reason = iomod (ilnt, D, w_mod)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1062:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1062 | if (reason = iomod (ilnt, D, p_mod)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1072:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1072 | if (reason = iomod (ilnt, D, w_mod)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1085:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1085 | if (reason = iomod (ilnt, D, w_mod)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1098:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1098 | if (reason = iomod (ilnt, D, NULL)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1111:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1111 | if (reason = iomod (ilnt, D, w_mod)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1125:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1125 | if (reason = iomod (ilnt, D, ss_mod)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1127:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1127 | if (reason = select_stack (D)) /* sel stack, error? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1135:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1135 | if (reason = carriage_control (D)) /* car ctrl, error? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1157:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1157 | else if (reason = iomod (ilnt, D, mtf_mod)) /* valid modifier? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1401/i1401_iq.c: In function 'inq_io': BUILDSTDERR: I1401/i1401_iq.c:97:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 97 | /* return SCPE_OK; /* return if no req */ BUILDSTDERR: | BUILDSTDERR: I1401/i1401_iq.c:97:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: I1401/i1401_cd.c: In function 'read_card': BUILDSTDERR: I1401/i1401_cd.c:187:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 187 | if (r = cdr_svc (&cdr_unit)) /* process */ BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_mt.c: In function 'mt_reset': BUILDSTDERR: I1401/i1401_mt.c:454:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 454 | if (uptr = mt_sel_unit (i)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: I1401/i1401_dp.c: In function 'dp_io': BUILDSTDERR: I1401/i1401_dp.c:272:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 272 | if (r = dp_rdsec (uptr, psec, flg, qwc)) /* read sector */ BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_dp.c:281:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 281 | if (r = dp_nexsec (uptr, psec, dcf)) /* find next */ BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_dp.c:292:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 292 | if (r = dp_rdadr (uptr, psec, flg, qwc)) /* read addr */ BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_dp.c:294:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 294 | if (r = dp_rdsec (uptr, psec, flg, qwc)) /* read data */ BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_dp.c:315:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 315 | if (r = dp_wrsec (uptr, psec, flg)) /* write data */ BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_dp.c:321:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 321 | if (r = dp_nexsec (uptr, psec, dcf)) /* find next */ BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_dp.c:334:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 334 | if (r = dp_wradr (uptr, psec, flg)) /* write addr */ BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_dp.c:336:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 336 | if (r = dp_wrsec (uptr, psec, flg)) /* write data */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: I1620/i1620_cd.c:113:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /* Card reader (ASCII) to numeric (one digit) */ BUILDSTDERR: | BUILDSTDERR: I1620/i1620_cd.c: In function 'cdr': BUILDSTDERR: I1620/i1620_cd.c:245:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 245 | cdc = cdr_to_num[cdr_buf[i]]; /* translate */ BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: I1620/i1620_cd.c:262:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 262 | cdc = cdr_to_alp[cdr_buf[i]]; /* translate */ BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: I1620/i1620_dp.c: In function 'dp': BUILDSTDERR: I1620/i1620_dp.c:209:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 209 | if (r = dp_rdsec (uptr, psec, qnr, qwc)) /* read sector */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_dp.c:219:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 219 | if (r = dp_rdadr (uptr, psec, qnr, qwc)) /* read addr */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_dp.c:221:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 221 | if (r = dp_rdsec (uptr, psec, qnr, qwc)) /* read data */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_dp.c:234:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 234 | if (r = dp_tstgm (M[dp_ba], qnr)) /* start with gm? */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_dp.c:236:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 236 | if (r = dp_wrsec (uptr, psec, qnr)) /* write data */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_dp.c:248:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 248 | if (r = dp_tstgm (M[dp_ba], qnr)) /* start with gm? */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_dp.c:250:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 250 | if (r = dp_wradr (uptr, psec, qnr)) /* write addr */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_dp.c:252:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 252 | if (r = dp_wrsec (uptr, psec, qnr)) /* write data */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_tty.c: In function 'tti_rnum': BUILDSTDERR: I1620/i1620_tty.c:263:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 263 | else if (cp = strchr (tti_to_num, raw)) /* legal? */ BUILDSTDERR: | ^~ BUILDSTDERR: I1620/i1620_cpu.c: In function 'sim_instr': BUILDSTDERR: I1620/i1620_cpu.c:479:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 479 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I1620/i1620_sys.c: In function 'parse_sym': BUILDSTDERR: I1620/i1620_sys.c:487:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 487 | t = cdr_to_alp[t]; /* convert */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_sys.c:505:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 505 | t = cdr_to_alp[t]; /* convert */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_sys.c:555:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 555 | while (t = *fptr++) { /* loop through */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_sys.c:569:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 569 | val[t] = val[t] | FLAG; /* set flag */ BUILDSTDERR: | ^ BUILDSTDERR: I1620/i1620_sys.c:569:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 569 | val[t] = val[t] | FLAG; /* set flag */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: I1401/i1401_cpu.c:225:15: warning: type of 'select_stack' does not match original declaration [-Wlto-type-mismatch] BUILDSTDERR: 225 | extern t_stat select_stack (int32 mod); BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_cd.c:359:8: note: type mismatch in parameter 2 BUILDSTDERR: 359 | t_stat select_stack (int32 ilnt, int32 mod) BUILDSTDERR: | ^ BUILDSTDERR: I1401/i1401_cd.c:359:8: note: type 'int32' should match type 'void' BUILDSTDERR: I1401/i1401_cd.c:359:8: note: 'select_stack' was previously declared here D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 NOVA/eclipse_cpu.c NOVA/eclipse_tt.c NOVA/nova_sys.c NOVA/nova_dkp.c NOVA/nova_dsk.c NOVA/nova_lp.c NOVA/nova_mta.c NOVA/nova_plt.c NOVA/nova_pt.c NOVA/nova_clk.c NOVA/nova_tt1.c NOVA/nova_qty.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I NOVA -DECLIPSE -o BIN/eclipse -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 HP2100/hp2100_stddev.c HP2100/hp2100_dp.c HP2100/hp2100_dq.c HP2100/hp2100_dr.c HP2100/hp2100_lps.c HP2100/hp2100_ms.c HP2100/hp2100_mt.c HP2100/hp2100_mux.c HP2100/hp2100_cpu.c HP2100/hp2100_fp.c HP2100/hp2100_sys.c HP2100/hp2100_lpt.c HP2100/hp2100_ipl.c HP2100/hp2100_ds.c HP2100/hp2100_cpu0.c HP2100/hp2100_cpu1.c HP2100/hp2100_cpu2.c HP2100/hp2100_cpu3.c HP2100/hp2100_cpu4.c HP2100/hp2100_cpu5.c HP2100/hp2100_cpu6.c HP2100/hp2100_cpu7.c HP2100/hp2100_fp1.c HP2100/hp2100_baci.c HP2100/hp2100_mpx.c HP2100/hp2100_pif.c HP2100/hp2100_di.c HP2100/hp2100_di_da.c HP2100/hp_disclib.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DHAVE_INT64 -I HP2100 -o BIN/hp2100 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 I1401/i1401_lp.c I1401/i1401_cpu.c I1401/i1401_iq.c I1401/i1401_cd.c I1401/i1401_mt.c I1401/i1401_dp.c I1401/i1401_sys.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I I1401 -o BIN/i1401 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 I1620/i1620_cd.c I1620/i1620_dp.c I1620/i1620_pt.c I1620/i1620_tty.c I1620/i1620_cpu.c I1620/i1620_lp.c I1620/i1620_fp.c I1620/i1620_sys.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I I1620 -o BIN/i1620 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program BUILDSTDERR: gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCS3/s3_cd.c: In function 'read_card': BUILDSTDERR: S3/s3_cd.c:283:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 283 | if (r = cdr_svc (&cdr_unit)) return r; /* process */ BUILDSTDERR: | ^ BUILDSTDERR: S3/s3_cd.c:328:39: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 328 | rbuf[i] = ascii_to_ebcdic[rbuf[i]]; /* convert to EBCDIC */ BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: S3/s3_cd.c: In function 'cdr_svc': BUILDSTDERR: S3/s3_cd.c:349:63: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 349 | for (i = 0; i < CDR_WIDTH; i++) rbuf[i] = ebcdic_to_ascii[rbuf[i]]; BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: S3/s3_cpu.c: In function 'sim_instr': BUILDSTDERR: S3/s3_cpu.c:530:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 530 | if (reason = sim_process_event ()) break; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: S3/s3_disk.c: In function 'dsk': BUILDSTDERR: S3/s3_disk.c:203:11: warning: variable 'F' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 203 | int32 F, C, S, N, usave; BUILDSTDERR: | ^ BUILDSTDERR: S3/s3_sys.c:124:27: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 124 | struct opdef opcode[75] = { BUILDSTDERR: | ^ BUILDSTDERR: 125 | "HPL", 0x00,0,0,0, /* Halt Program Level */ BUILDSTDERR: | { } BUILDSTDERR: 126 | "A", 0x06,0,1,3, /* Add to Register: A R,AADD */ BUILDSTDERR: | { } BUILDSTDERR: 127 | "ST", 0x04,0,1,3, /* Store Register */ BUILDSTDERR: | { } BUILDSTDERR: 128 | "L", 0x05,0,1,3, /* Load Register */ BUILDSTDERR: | { } BUILDSTDERR: 129 | "LA", 0x02,0,1,1, /* Load Address */ BUILDSTDERR: | { } BUILDSTDERR: 130 | "ZAZ", 0x04,0,2,2, /* Zero and Add Zoned */ BUILDSTDERR: | { } BUILDSTDERR: 131 | "AZ", 0x06,0,2,2, /* Add Zoned Decimal */ BUILDSTDERR: | { } BUILDSTDERR: 132 | "SZ", 0x07,0,2,2, /* Subtract Zoned Decimal */ BUILDSTDERR: | { } BUILDSTDERR: 133 | "ALC", 0x0E,0,2,2, /* Add Logical: ALC BADD,AADD,LEN */ BUILDSTDERR: | { } BUILDSTDERR: 134 | "SLC", 0x0F,0,2,2, /* Sub Logical: SLC BADD,AADD,LEN */ BUILDSTDERR: | { } BUILDSTDERR: 135 | "MVC", 0x0C,0,2,2, /* Move Chars MVX BADD,AADD,LEN */ BUILDSTDERR: | { } BUILDSTDERR: 136 | "ED", 0x0A,0,2,2, /* Edit: ED BADD,AADD,LEN */ BUILDSTDERR: | { } BUILDSTDERR: 137 | "ITC", 0x0B,0,2,2, /* Insert Chars: ITC BADD,AADD,LEN */ BUILDSTDERR: | { } BUILDSTDERR: 138 | "CLC", 0x0D,0,2,2, /* Compare Logical: CLC BADD,AADD,LEN */ BUILDSTDERR: | { } BUILDSTDERR: 139 | "MVI", 0x0C,0,3,3, /* Move Immediate */ BUILDSTDERR: | { } BUILDSTDERR: 140 | "SBN", 0x0A,0,3,3, /* Set Bits On */ BUILDSTDERR: | { } BUILDSTDERR: 141 | "SBF", 0x0B,0,3,3, /* Set Bits Off */ BUILDSTDERR: | { } BUILDSTDERR: 142 | "CLI", 0x0D,0,3,3, /* Compare Immediate */ BUILDSTDERR: | { } BUILDSTDERR: 143 | "TBN", 0x08,0,3,3, /* Test Bits On */ BUILDSTDERR: | { } BUILDSTDERR: 144 | "TBF", 0x09,0,3,3, /* Test Bits Off */ BUILDSTDERR: | { } BUILDSTDERR: 145 | "APL", 0x01,0,4,0, /* Advance Program Level */ BUILDSTDERR: | { } BUILDSTDERR: 146 | "SIO", 0x03,0,5,0, /* Start I/O */ BUILDSTDERR: | { } BUILDSTDERR: 147 | "SNS", 0x00,0,6,3, /* Sense I/O */ BUILDSTDERR: | { } BUILDSTDERR: 148 | "LIO", 0x01,0,6,3, /* Load I/O */ BUILDSTDERR: | { } BUILDSTDERR: 149 | "TIO", 0x01,0,6,1, /* Test I/O */ BUILDSTDERR: | { } BUILDSTDERR: 150 | "J", 0x02,0,7,0, /* Jump Unconditional */ BUILDSTDERR: | { } BUILDSTDERR: 151 | "J", 0x02,0x87,7,0, /* Alternate J */ BUILDSTDERR: | { } BUILDSTDERR: 152 | "JH", 0x02,132,7,0, /* Jump if High */ BUILDSTDERR: | { } BUILDSTDERR: 153 | "JL", 0x02,130,7,0, /* Jump if Low */ BUILDSTDERR: | { } BUILDSTDERR: 154 | "JE", 0x02,129,7,0, /* Jump if Equal */ BUILDSTDERR: | { } BUILDSTDERR: 155 | "JNH", 0x02,4,7,0, /* Jump if Not High */ BUILDSTDERR: | { } BUILDSTDERR: 156 | "JNL", 0x02,2,7,0, /* Jump if Not Low */ BUILDSTDERR: | { } BUILDSTDERR: 157 | "JNE", 0x02,1,7,0, /* Jump if Not Equal */ BUILDSTDERR: | { } BUILDSTDERR: 158 | "JOZ", 0x02,136,7,0, /* Jump if Overflow Zoned */ BUILDSTDERR: | { } BUILDSTDERR: 159 | "JOL", 0x02,160,7,0, /* Jump if Overflow Logical */ BUILDSTDERR: | { } BUILDSTDERR: 160 | "JNOZ", 0x02,8,7,0, /* Jump if No Overflow Zoned */ BUILDSTDERR: | { } BUILDSTDERR: 161 | "JNOL", 0x02,32,7,0, /* Jump if No Overflow Logical */ BUILDSTDERR: | { } BUILDSTDERR: 162 | "JT", 0x02,16,7,0, /* Jump if True */ BUILDSTDERR: | { } BUILDSTDERR: 163 | "JF", 0x02,144,7,0, /* Jump if False */ BUILDSTDERR: | { } BUILDSTDERR: 164 | "JP", 0x02,132,7,0, /* Jump if Plus */ BUILDSTDERR: | { } BUILDSTDERR: 165 | "JM", 0x02,130,7,0, /* Jump if Minus */ BUILDSTDERR: | { } BUILDSTDERR: 166 | "JZ", 0x02,129,7,0, /* Jump if Zero */ BUILDSTDERR: | { } BUILDSTDERR: 167 | "JNP", 0x02,4,7,0, /* Jump if Not Plus */ BUILDSTDERR: | { } BUILDSTDERR: 168 | "JNM", 0x02,2,7,0, /* Jump if Not Minus */ BUILDSTDERR: | { } BUILDSTDERR: 169 | "JNZ", 0x02,1,7,0, /* Jump if Not Zero */ BUILDSTDERR: | { } BUILDSTDERR: 170 | "NOPJ", 0x02,0x80,7,0, /* Never Jump - NOP */ BUILDSTDERR: | { } BUILDSTDERR: 171 | "B", 0x00,0x00,8,1, /* Branch Unconditional */ BUILDSTDERR: | { } BUILDSTDERR: 172 | "B", 0x00,0x87,8,1, /* Alternate B */ BUILDSTDERR: | { } BUILDSTDERR: 173 | "BH", 0x00,0x84,8,1, /* Branch if High */ BUILDSTDERR: | { } BUILDSTDERR: 174 | "BL", 0x00,0x82,8,1, /* Branch if Low */ BUILDSTDERR: | { } BUILDSTDERR: 175 | "BE", 0x00,0x81,8,1, /* Branch if Equal */ BUILDSTDERR: | { } BUILDSTDERR: 176 | "BNH", 0x00,0x04,8,1, /* Branch if Not High */ BUILDSTDERR: | { } BUILDSTDERR: 177 | "BNL", 0x00,0x02,8,1, /* Branch if Not Low */ BUILDSTDERR: | { } BUILDSTDERR: 178 | "BNE", 0x00,0x01,8,1, /* Branch if Not Equal */ BUILDSTDERR: | { } BUILDSTDERR: 179 | "BOZ", 0x00,0x88,8,1, /* Branch if Overflow Zoned */ BUILDSTDERR: | { } BUILDSTDERR: 180 | "BOL", 0x00,0xA0,8,1, /* Branch if Overflow Logical */ BUILDSTDERR: | { } BUILDSTDERR: 181 | "BNOZ", 0x00,0x08,8,1, /* Branch if No Overflow Zoned */ BUILDSTDERR: | { } BUILDSTDERR: 182 | "BNOL", 0x00,0x20,8,1, /* Branch if No Overflow Logical */ BUILDSTDERR: | { } BUILDSTDERR: 183 | "BT", 0x00,0x10,8,1, /* Branch if True */ BUILDSTDERR: | { } BUILDSTDERR: 184 | "BF", 0x00,0x90,8,1, /* Branch if False */ BUILDSTDERR: | { } BUILDSTDERR: 185 | "BP", 0x00,0x84,8,1, /* Branch if Plus */ BUILDSTDERR: | { } BUILDSTDERR: 186 | "BM", 0x00,0x82,8,1, /* Branch if Minus */ BUILDSTDERR: | { } BUILDSTDERR: 187 | "BZ", 0x00,0x81,8,1, /* Branch if Zero */ BUILDSTDERR: | { } BUILDSTDERR: 188 | "BNP", 0x00,0x04,8,1, /* Branch if Not Plus */ BUILDSTDERR: | { } BUILDSTDERR: 189 | "BNM", 0x00,0x02,8,1, /* Branch if Not Minus */ BUILDSTDERR: | { } BUILDSTDERR: 190 | "BNZ", 0x00,0x01,8,1, /* Branch if Not Zero */ BUILDSTDERR: | { } BUILDSTDERR: 191 | "NOPB", 0x00,0x80,8,1, /* Never Branch - NOP */ BUILDSTDERR: | { } BUILDSTDERR: 192 | "MZZ", 0x08,0,9,2, /* Move Zone to Zone */ BUILDSTDERR: | { } BUILDSTDERR: 193 | "MNZ", 0x08,1,9,2, /* Move Numeric to Zone */ BUILDSTDERR: | { } BUILDSTDERR: 194 | "MZN", 0x08,2,9,2, /* Move Zone to Numeric */ BUILDSTDERR: | { } BUILDSTDERR: 195 | "MNN", 0x08,3,9,2, /* Move Numeric to Numeric */ BUILDSTDERR: | { } BUILDSTDERR: 196 | "MVX", 0x08,0,2,2, /* Move Hex: MVX BADD,AADD,CODE */ BUILDSTDERR: | { } BUILDSTDERR: 197 | "JC", 0x02,0,3,0, /* Jump on Specified Condition bits */ BUILDSTDERR: | { } BUILDSTDERR: 198 | "BC", 0x00,0,3,1, /* Branch on Specified Condition */ BUILDSTDERR: | { } BUILDSTDERR: 199 | "***", 0x00,0,0,0 BUILDSTDERR: | { BUILDSTDERR: 200 | }; BUILDSTDERR: | } BUILDSTDERR: ALTAIR/altair_cpu.c: In function 'sim_instr': BUILDSTDERR: ALTAIR/altair_cpu.c:316:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 316 | if (reason = sim_process_event ()) break; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ALTAIR/altair_cpu.c:369:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 369 | DAR = DAR | (M[PC] <<8) & 0xFF00;; BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~ BUILDSTDERR: S3/s3_sys.c: In function 'printf_sym': BUILDSTDERR: S3/s3_sys.c:273:7: warning: variable 'cflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 273 | int32 cflag, c1, c2, group, len1, len2, inst, aaddr, baddr; BUILDSTDERR: | ^~~~~ BUILDSTDERR: S3/s3_sys.c: In function 'parse_sym': BUILDSTDERR: S3/s3_sys.c:507:7: warning: variable 'cflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 507 | int32 cflag, i = 0, j, r, oplen, addtyp, saveaddr, vptr; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ALTAIR/altair_dsk.c: In function 'dsk12': BUILDSTDERR: ALTAIR/altair_dsk.c:313:18: warning: variable 'rtn' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 313 | static int32 rtn, i; BUILDSTDERR: | ^~~ BUILDSTDERR: ALTAIR/altair_dsk.c: In function 'writebuf': BUILDSTDERR: ALTAIR/altair_dsk.c:353:11: warning: variable 'rtn' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 353 | int32 rtn, i; BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: ALTAIR/altair_sys.c: In function 'fprint_sym': BUILDSTDERR: ALTAIR/altair_sys.c:186:7: warning: variable 'cflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 186 | int32 cflag, c1, c2, inst, adr; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ALTAIR/altair_sys.c: In function 'parse_sym': BUILDSTDERR: ALTAIR/altair_sys.c:234:7: warning: variable 'cflag' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 234 | int32 cflag, i = 0, j, r; BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: AltairZ80/altairz80_cpu.c: In function 'sim_instr_mmu': BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1975:17: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1975 | CHECK_BREAK_TWO_BYTES_EXTENDED(SP - 2, SP - 1, (timerInterrupt = TRUE, IFF_S |= 1)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1991:17: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1991 | CHECK_BREAK_TWO_BYTES_EXTENDED(SP - 2, SP - 1, (keyboardInterrupt = TRUE, IFF_S |= 1)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:2281:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 2281 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:2369:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 2369 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3467:21: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3467 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3476:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3476 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3491:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 3491 | CALLC(!TSTFLAG(Z)); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3496:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3496 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3512:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3512 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3520:21: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3520 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3533:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3533 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3712:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 3712 | CALLC(TSTFLAG(Z)); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3716:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 3716 | CALLC(1); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3731:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3731 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3743:21: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3743 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3752:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3752 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3768:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 3768 | CALLC(!TSTFLAG(C)); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3773:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3773 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3789:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3789 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3797:21: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3797 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3835:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 3835 | CALLC(TSTFLAG(C)); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3872:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3872 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3915:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 3915 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4575:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4575 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4581:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4581 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4589:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4589 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4625:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4625 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4637:21: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4637 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4646:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4646 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4657:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4657 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4664:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 4664 | CALLC(!TSTFLAG(P)); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4669:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4669 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4681:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4681 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4689:21: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4689 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4721:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 4721 | CALLC(TSTFLAG(P)); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4756:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4756 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4798:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4798 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4843:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4843 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4851:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4851 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4890:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4890 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4935:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4935 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4980:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 4980 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5021:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5021 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5063:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5063 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5096:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5096 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5103:25: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 5103 | CHECK_BREAK_TWO_BYTES(HL, DE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5165:25: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 5165 | CHECK_BREAK_TWO_BYTES(HL, DE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5224:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 5224 | CHECK_BREAK_TWO_BYTES(HL, DE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5295:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 5295 | CHECK_BREAK_TWO_BYTES(HL, DE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5373:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5373 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5385:21: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5385 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5394:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5394 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5410:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 5410 | CALLC(!TSTFLAG(S)); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5415:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5415 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5427:17: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5427 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5435:21: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5435 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:118:9: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 118 | CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5464:17: note: in expansion of macro 'CALLC' BUILDSTDERR: 5464 | CALLC(TSTFLAG(S)); /* also updates tStates */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5501:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5501 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5544:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 5544 | CHECK_BREAK_WORD(temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:6204:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 6204 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:6210:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 6210 | CHECK_BREAK_WORD(SP); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:6218:25: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 6218 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 1810 | if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 1811 | & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 1820 | #define CHECK_BREAK_TWO_BYTES(a1, a2) CHECK_BREAK_TWO_BYTES_EXTENDED(a1, a2,;) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1822:29: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES' BUILDSTDERR: 1822 | #define CHECK_BREAK_WORD(a) CHECK_BREAK_TWO_BYTES(a, (a + 1)) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:6256:13: note: in expansion of macro 'CHECK_BREAK_WORD' BUILDSTDERR: 6256 | CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: GRI/gri_cpu.c: In function 'sim_instr': BUILDSTDERR: GRI/gri_cpu.c:424:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 424 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ XX_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 S3/s3_cd.c S3/s3_cpu.c S3/s3_disk.c S3/s3_lp.c S3/s3_pkb.c S3/s3_sys.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I S3 -o BIN/s3 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 ALTAIR/altair_sio.c ALTAIR/altair_cpu.c ALTAIR/altair_dsk.c ALTAIR/altair_sys.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I ALTAIR -o BIN/altair -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 AltairZ80/altairz80_cpu.c AltairZ80/altairz80_cpu_nommu.c AltairZ80/altairz80_dsk.c AltairZ80/disasm.c AltairZ80/altairz80_sio.c AltairZ80/altairz80_sys.c AltairZ80/altairz80_hdsk.c AltairZ80/altairz80_net.c AltairZ80/flashwriter2.c AltairZ80/i86_decode.c AltairZ80/i86_ops.c AltairZ80/i86_prim_ops.c AltairZ80/i8272.c AltairZ80/insnsd.c AltairZ80/mfdc.c AltairZ80/n8vem.c AltairZ80/vfdhd.c AltairZ80/s100_disk1a.c AltairZ80/s100_disk2.c AltairZ80/s100_disk3.c AltairZ80/s100_fif.c AltairZ80/s100_mdriveh.c AltairZ80/s100_mdsad.c AltairZ80/s100_selchan.c AltairZ80/s100_ss1.c AltairZ80/s100_64fdc.c AltairZ80/s100_scp300f.c AltairZ80/sim_imd.c AltairZ80/wd179x.c AltairZ80/s100_hdc1001.c AltairZ80/s100_if3.c AltairZ80/s100_adcs6.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I AltairZ80 -o BIN/altairz80 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 GRI/gri_cpu.c GRI/gri_stddev.c GRI/gri_sys.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I GRI -o BIN/gri -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program BUILDSTDERR: gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 I7094/i7094_cpu.c I7094/i7094_cpu1.c I7094/i709I7094/i7094_cpu.c: In function 'sim_instr': BUILDSTDERR: I7094/i7094_cpu.c:667:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 667 | if (reason = sim_process_event ()) /* process events */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I7094/i7094_cpu.c:674:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 674 | if (reason = ch_proc (i)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I7094/i7094_cpu.c:1976:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1976 | if (r = sim_process_event ()) /* process events */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_cpu.c:1982:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1982 | if (r = ch_proc (j)) BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_cpu.c: In function 'cpu_fprint_one_inst': BUILDSTDERR: I7094/i7094_cpu.c:2441:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2441 | else if (ch = HIST_CH (pc)) { /* channel? */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id16_cpu.c: In function 'sim_instr': BUILDSTDERR: Interdata/id16_cpu.c:607:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 607 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: I7094/i7094_io.c: In function 'ch_op_start': BUILDSTDERR: I7094/i7094_io.c:798:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 798 | if (r = ch9_wr (ch, ir, 0)) /* write to dev */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c: In function 'ch_proc': BUILDSTDERR: I7094/i7094_io.c:1006:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1006 | if (r = ch9_sel (ch, CHSL_SNS)) /* send sense to dev */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1022:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1022 | if (r = ch9_sel (ch, CHSL_RDS)) /* send read sel */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1028:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1028 | if (r = ch9_sel (ch, CHSL_WRS)) /* end write sel */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1038:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1038 | if (r = ch9_wr (ch, 0, CH9DF_STOP)) /* send stop */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1058:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1058 | else if (r = ch9_wr_getw (ch)) /* no, write */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1167:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1167 | if (r = ch6_wr_getw (ch, TRUE)) /* send wd to dev; err? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1177:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1177 | if (r = ch6_wr_getw (ch, FALSE)) /* send wd to dev; err? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1187:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1187 | if (r = ch6_wr_getw (ch, FALSE)) /* send wd to dev; err? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1196:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1196 | if (r = ch6_wr_getw (ch, TRUE)) /* send wd to dev; err? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_io.c:1206:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1206 | if (r = ch6_wr_getw (ch, TRUE)) /* send wd to dev; err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id16_sys.c: In function 'fprint_sym_m': BUILDSTDERR: Interdata/id16_sys.c:355:32: warning: variable 'vp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 355 | uint32 i, j, inst, r1, r2, ea, vp; BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id16_sys.c: In function 'parse_sym_m': BUILDSTDERR: Interdata/id16_sys.c:573:7: warning: variable 'st' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 573 | int32 st, r1, r2; BUILDSTDERR: | ^~ BUILDSTDERR: I7094/i7094_cd.c: In function 'cdr_svc': BUILDSTDERR: I7094/i7094_cd.c:242:49: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 242 | else colbin = bcd_to_colbin[cdr_cbuf[col]]; /* cvt to col binary */ BUILDSTDERR: | ~~~~~~~~^~~~~ BUILDSTDERR: I7094/i7094_cd.c: In function 'cdp_card_end': BUILDSTDERR: I7094/i7094_cd.c:450:28: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 450 | cdp_cbuf[col] = pch[bcd]; /* -> ASCII */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id_dp.c: In function 'dp_svc': BUILDSTDERR: Interdata/id_dp.c:422:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 422 | if (r = dp_rds (uptr)) /* read sec, err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_dp.c:441:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 441 | if (r = dp_wds (uptr)) /* write sec, err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_dp.c:396:8: warning: variable 't' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 396 | uint32 t; BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_com.c: In function 'com_show_oneq': BUILDSTDERR: I7094/i7094_com.c:1178:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1178 | if (entc = com_show_qsumm (st, lh, name)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: Interdata/id_idc.c:99:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 99 | /* 0x40 /* unused */ BUILDSTDERR: | BUILDSTDERR: Interdata/id_idc.c: In function 'idc_svc': BUILDSTDERR: Interdata/id_idc.c:579:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 579 | if (r = idc_rds (uptr)) /* read sec, err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_idc.c:598:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 598 | if (r = idc_wds (uptr)) /* write sec, err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_idc.c:506:8: warning: variable 't' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 506 | uint32 t; BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_io.c: In function 'sch_set_nchan': BUILDSTDERR: Interdata/id_io.c:361:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 361 | for (i = 0; dptr = sim_devices[i]; i++) { /* loop thru dev */ BUILDSTDERR: | ^~~~ BUILDSTDERR: Interdata/id_io.c: In function 'int_getdev': BUILDSTDERR: Interdata/id_io.c:442:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 442 | if (r = int_req[i] & int_enb[i]) { /* find nz int wd */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_io.c: In function 'devtab_init': BUILDSTDERR: Interdata/id_io.c:633:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 633 | for (i = 0; dptr = sim_devices[i]; i++) { /* loop thru devices */ BUILDSTDERR: | ^~~~ BUILDSTDERR: I7094/i7094_dsk.c: In function 'dsk_svc': BUILDSTDERR: I7094/i7094_dsk.c:696:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 696 | if (r = dsk_init_trk (udptr, trk)) { /* read track, err? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_dsk.c:703:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (r = dsk_xfer_done (uaptr, dtyp)) { /* transfer done? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_dsk.c:724:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 724 | if (r = dsk_init_trk (udptr, trk)) { /* read track, err? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_dsk.c:745:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 745 | if (r = dsk_xfer_done (uaptr, dtyp)) { /* transfer done? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_dsk.c:758:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 758 | if (r = dsk_wr_trk (udptr, trk)) /* write track; err? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_dsk.c:849:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 849 | if (r = dsk_wr_trk (udptr, trk + i)) /* wr track; err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_mt.c: In function 'mt_svc': BUILDSTDERR: Interdata/id_mt.c:371:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 371 | if (st = sim_tape_wrrecf (uptr, mtxb, mt_bptr)) /* write, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id_mt.c:377:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 377 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id_mt.c:405:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 405 | if (st = sim_tape_sprecr (uptr, &tbc)) /* skip rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: I7094/i7094_lp.c: In function 'lpt_end_line': BUILDSTDERR: I7094/i7094_lp.c:333:24: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 333 | lpt_cbuf[col] = pch[bcd]; /* -> ASCII */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_pas.c: In function 'pasi_svc': BUILDSTDERR: Interdata/id_pas.c:337:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 337 | if (c = tmxr_getc_ln (&pas_ldsc[ln])) { /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_mt.c: In function 'mt_svc': BUILDSTDERR: I7094/i7094_mt.c:567:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 567 | if (r = mt_map_err (uptr, r)) /* map status */ BUILDSTDERR: | ^ BUILDSTDERR: I7094/i7094_mt.c: In function 'mt_rec_end': BUILDSTDERR: I7094/i7094_mt.c:739:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 739 | if (r = mt_map_err (uptr, r)) /* map error */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id_ttp.c: In function 'ttp': BUILDSTDERR: Interdata/id_ttp.c:133:10: warning: variable 'old_cmd' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 133 | int32 t, old_cmd; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: GRI/gri_cpu.c:252:15: warning: type of 'tty_rd' does not match original declaration [-Wlto-type-mismatch] BUILDSTDERR: 252 | extern uint32 tty_rd (uint32 src); BUILDSTDERR: | ^ BUILDSTDERR: GRI/gri_stddev.c:212:8: note: type mismatch in parameter 1 BUILDSTDERR: 212 | uint32 tty_rd (int32 src, int32 ea) BUILDSTDERR: | ^ BUILDSTDERR: GRI/gri_stddev.c:212:8: note: type 'int32' should match type 'uint32' BUILDSTDERR: GRI/gri_stddev.c:212:8: note: 'tty_rd' was previously declared here BUILDSTDERR: GRI/gri_cpu.c:248:15: warning: type of 'hsrp_rd' does not match original declaration [-Wlto-type-mismatch] BUILDSTDERR: 248 | extern uint32 hsrp_rd (uint32 src); BUILDSTDERR: | ^ BUILDSTDERR: GRI/gri_stddev.c:303:8: note: type mismatch in parameter 1 BUILDSTDERR: 303 | uint32 hsrp_rd (int32 src, int32 ea) BUILDSTDERR: | ^ BUILDSTDERR: GRI/gri_stddev.c:303:8: note: type 'int32' should match type 'uint32' BUILDSTDERR: GRI/gri_stddev.c:303:8: note: 'hsrp_rd' was previously declared here BUILDSTDERR: Interdata/id32_cpu.c: In function 'sim_instr': BUILDSTDERR: Interdata/id32_cpu.c:667:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 667 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id32_sys.c: In function 'parse_sym_m': BUILDSTDERR: Interdata/id32_sys.c:672:31: warning: variable 'vp' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 672 | uint32 i, j, df, db, t, inst, vp; BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id_dp.c: In function 'dp_svc': BUILDSTDERR: Interdata/id_dp.c:422:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 422 | if (r = dp_rds (uptr)) /* read sec, err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_dp.c:441:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 441 | if (r = dp_wds (uptr)) /* write sec, err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_dp.c:396:8: warning: variable 't' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 396 | uint32 t; BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_idc.c:99:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 99 | /* 0x40 /* unused */ BUILDSTDERR: | BUILDSTDERR: Interdata/id_idc.c: In function 'idc_svc': BUILDSTDERR: Interdata/id_idc.c:579:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 579 | if (r = idc_rds (uptr)) /* read sec, err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_idc.c:598:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 598 | if (r = idc_wds (uptr)) /* write sec, err? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_idc.c:506:8: warning: variable 't' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 506 | uint32 t; BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_io.c: In function 'sch_set_nchan': BUILDSTDERR: Interdata/id_io.c:361:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 361 | for (i = 0; dptr = sim_devices[i]; i++) { /* loop thru dev */ BUILDSTDERR: | ^~~~ BUILDSTDERR: Interdata/id_io.c: In function 'int_getdev': BUILDSTDERR: Interdata/id_io.c:442:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 442 | if (r = int_req[i] & int_enb[i]) { /* find nz int wd */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_io.c: In function 'devtab_init': BUILDSTDERR: Interdata/id_io.c:633:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 633 | for (i = 0; dptr = sim_devices[i]; i++) { /* loop thru devices */ BUILDSTDERR: | ^~~~ BUILDSTDERR: Interdata/id_mt.c: In function 'mt_svc': BUILDSTDERR: Interdata/id_mt.c:371:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 371 | if (st = sim_tape_wrrecf (uptr, mtxb, mt_bptr)) /* write, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id_mt.c:377:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 377 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id_mt.c:405:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 405 | if (st = sim_tape_sprecr (uptr, &tbc)) /* skip rec rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: Interdata/id_pas.c: In function 'pasi_svc': BUILDSTDERR: Interdata/id_pas.c:337:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 337 | if (c = tmxr_getc_ln (&pas_ldsc[ln])) { /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: Interdata/id_ttp.c: In function 'ttp': BUILDSTDERR: Interdata/id_ttp.c:133:10: warning: variable 'old_cmd' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 133 | int32 t, old_cmd; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: SDS/sds_cpu.c: In function 'sim_instr': BUILDSTDERR: SDS/sds_cpu.c:388:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 388 | if (reason = sim_process_event ()) /* process */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: SDS/sds_cpu.c:395:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 395 | if (reason = chan_process ()) /* process */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: SDS/sds_cpu.c: In function 'one_inst': BUILDSTDERR: SDS/sds_cpu.c:509:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 509 | if (r = Write (0, dat)) BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:528:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 528 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:530:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 530 | if (r = Read (va, &A)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:535:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 535 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:537:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 537 | if (r = Read (va, &B)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:542:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 542 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:544:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 544 | if (r = Read (va, &X)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:549:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 549 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:551:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 551 | if (r = Write (va, A)) /* write operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:556:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 556 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:558:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 558 | if (r = Write (va, B)) /* write operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:563:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 563 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:565:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 565 | if (r = Write (va, X)) /* write operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:570:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 570 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:578:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 578 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:580:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 580 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:582:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 582 | if (r = Write (va, A)) /* write A */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:590:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 590 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:592:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 592 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:598:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 598 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:600:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 600 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:607:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 607 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:609:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 609 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:615:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 615 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:617:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 617 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:624:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 624 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:626:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 626 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:629:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 629 | if (r = Write (va, dat)) /* rewrite */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:634:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 634 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:636:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 636 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:639:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 639 | if (r = Write (va, dat)) /* rewrite */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:644:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 644 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:646:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 646 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:652:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 652 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:654:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 654 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:660:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 660 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:662:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 662 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:668:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 668 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:670:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 670 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:676:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 676 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:678:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 678 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:686:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 686 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:688:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:695:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 695 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:697:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 697 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:704:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 704 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:706:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 706 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:713:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 713 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:715:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 715 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:722:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 722 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:724:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 724 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:731:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 731 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:733:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 733 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:740:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 740 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:742:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 742 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:745:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 745 | if (r = Write (va, dat)) /* rewrite */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:752:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 752 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:754:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 754 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:777:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 777 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:779:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 779 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:786:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 786 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:788:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 788 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:795:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 795 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:799:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 799 | if (r = Read (va, &dat)) /* test dest access */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:807:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 807 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:813:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 813 | if (r = Write (va, dat)) /* write ret word */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:820:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 820 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:822:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 822 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:840:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 840 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:842:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 842 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:912:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 912 | if (r = EaSh (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:937:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 937 | if (r = EaSh (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:992:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 992 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:994:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 994 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:996:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 996 | if (r = op_miwy (inst, dat)) /* process inst */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1005:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1005 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1007:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1007 | if (r = op_wyim (inst, &dat)) /* process inst */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1009:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1009 | if (r = Write (va, dat)) BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1018:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1018 | if (r = op_eomd (inst)) /* process inst */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1028:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1028 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1030:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1030 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1032:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1032 | if (r = op_pot (dat)) /* process inst */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1041:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1041 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1043:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1043 | if (r = op_pin (&dat)) /* process inst */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1045:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1045 | if (r = Write (va, dat)) /* write result */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1054:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1054 | if (r = op_sks (inst, &dat)) /* process inst */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c: In function 'Ea': BUILDSTDERR: SDS/sds_cpu.c:1088:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1088 | if (r = Read (va, &wd)) /* read ind; fails? */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c: In function 'EaSh': BUILDSTDERR: SDS/sds_cpu.c:1115:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1115 | if (r = Read (va, &wd)) /* read ind; fails? */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c: In function 'ShfR48': BUILDSTDERR: SDS/sds_cpu.c:1344:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 1344 | B = ((B >> sc) | (A << (24 - sc)) & DMASK); BUILDSTDERR: SDS/sds_cpu.c: In function 'rtc_inst': BUILDSTDERR: SDS/sds_cpu.c:1572:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1572 | if (r = Ea (inst, &va)) /* decode eff addr */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1574:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1574 | if (r = Read (va, &dat)) /* get operand */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_cpu.c:1577:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1577 | if (r = Write (va, dat)) /* rewrite */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_dsk.c: In function 'dsk': BUILDSTDERR: SDS/sds_dsk.c:207:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 207 | if (r = dsk_read_buf (inst)) /* read sector */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_dsk.c:222:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 222 | if (r = dsk_write_buf (inst)) /* write sector */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_io.c: In function 'op_eomd': BUILDSTDERR: SDS/sds_io.c:339:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 339 | if (r = dev_dsp[dev][ch] (IO_CONN, inst, NULL)) /* connect */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_io.c: In function 'io_init': BUILDSTDERR: SDS/sds_io.c:961:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 961 | for (i = 0; dptr = sim_devices[i]; i++) { /* loop thru devices */ BUILDSTDERR: | ^~~~ BUILDSTDERR: SDS/sds_lp.c: In function 'lpt': BUILDSTDERR: SDS/sds_lp.c:180:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 180 | (t == 004) && !lpt_err) /* 11062: !err */ BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: SDS/sds_mt.c: In function 'mt': BUILDSTDERR: SDS/sds_mt.c:238:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 238 | if (r = mt_wrend (inst)) /* end record */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_mt.c:245:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 245 | if (r = mt_wrend (inst)) /* end record */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_mux.c: In function 'muxi_svc': BUILDSTDERR: SDS/sds_mux.c:366:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 366 | if (c = tmxr_getc_ln (&mux_ldsc[ln])) { /* get char */ BUILDSTDERR: | ^ BUILDSTDERR: SDS/sds_stddev.c: In function 'ptp_svc': BUILDSTDERR: SDS/sds_stddev.c:398:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 398 | if (r = ptp_out (0)) BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: LGP/lgp_cpu.c: In function 'sim_instr': BUILDSTDERR: LGP/lgp_cpu.c:291:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 291 | if (r = sim_process_event ()) BUILDSTDERR: | ^ BUILDSTDERR: LGP/lgp_cpu.c:311:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 311 | if (r = cpu_one_inst (oPC, IR)) { /* one instr; error? */ BUILDSTDERR: | ^ BUILDSTDERR: LGP/lgp_cpu.c: In function 'cpu_set_exec': BUILDSTDERR: LGP/lgp_cpu.c:747:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 747 | if (r = sim_process_event ()) BUILDSTDERR: | ^ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: LGP/lgp_stddev.c: In function 'ttr_svc': BUILDSTDERR: LGP/lgp_stddev.c:397:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 397 | if (r = read_reader (uptr, ttr_stopioe, (int32 *) &tti_buf)) BUILDSTDERR: | ^ BUILDSTDERR: LGP/lgp_stddev.c: In function 'ptr_svc': BUILDSTDERR: LGP/lgp_stddev.c:418:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 418 | if (r = read_reader (uptr, ptr_stopioe, &uptr->buf)) BUILDSTDERR: | ^ BUILDSTDERR: LGP/lgp_stddev.c: In function 'write_tto': BUILDSTDERR: LGP/lgp_stddev.c:551:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 551 | if (r = sim_putchar_s (ch)) /* write char */ BUILDSTDERR: | ^ BUILDSTDERR: LGP/lgp_sys.c: In function 'parse_sym': BUILDSTDERR: LGP/lgp_sys.c:366:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 366 | if (tptr = strchr (hex_decode, c)) BUILDSTDERR: | ^~~~ BUILDSTDERR: LGP/lgp_sys.c: In function 'parse_sym_m': BUILDSTDERR: LGP/lgp_sys.c:391:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 391 | if (tptr = strchr (opcode, gbuf[0])) BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ 4_io.c I7094/i7094_cd.c I7094/i7094_clk.c I7094/i7094_com.c I7094/i7094_drm.c I7094/i7094_dsk.c I7094/i7094_sys.c I7094/i7094_lp.c I7094/i7094_mt.c I7094/i7094_binloader.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DUSE_INT64 -I I7094 -o BIN/i7094 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 Interdata/id16_cpu.c Interdata/id16_sys.c Interdata/id_dp.c Interdata/id_fd.c Interdata/id_fp.c Interdata/id_idc.c Interdata/id_io.c Interdata/id_lp.c Interdata/id_mt.c Interdata/id_pas.c Interdata/id_pt.c Interdata/id_tt.c Interdata/id_uvc.c Interdata/id16_dboot.c Interdata/id_ttp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I Interdata -o BIN/id16 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 Interdata/id32_cpu.c Interdata/id32_sys.c Interdata/id_dp.c Interdata/id_fd.c Interdata/id_fp.c Interdata/id_idc.c Interdata/id_io.c Interdata/id_lp.c Interdata/id_mt.c Interdata/id_pas.c Interdata/id_pt.c Interdata/id_tt.c Interdata/id_uvc.c Interdata/id32_dboot.c Interdata/id_ttp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I Interdata -o BIN/id32 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 SDS/sds_cpu.c SDS/sds_drm.c SDS/sds_dsk.c SDS/sds_io.c SDS/sds_lp.c SDS/sds_mt.c SDS/sds_mux.c SDS/sds_rad.c SDS/sds_stddev.c SDS/sds_sys.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I SDS -o BIN/sds -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 LGP/lgp_cpu.c LGP/lgp_stddev.c LGP/lgp_sys.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I LGP -o BIN/lgp -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program BUILDSTDERR: gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoninH316/h316_stddev.c: In function 'pt_attach': BUILDSTDERR: H316/h316_stddev.c:393:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 393 | if (r = attach_unit (uptr, cptr)) BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_cpu.c: In function 'sim_instr': BUILDSTDERR: H316/h316_cpu.c:427:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 427 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:461:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 461 | if (r = (t >> IOT_V_REASON)) BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_cpu.c:531:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 531 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:540:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 540 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:551:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 551 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:557:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 557 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:567:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 567 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:573:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 573 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:586:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 586 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:599:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 599 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:608:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 608 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:618:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 618 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:627:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 627 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:635:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 635 | if (reason = Ea (MB & ~IDX, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:641:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 641 | if (reason = Ea (MB & ~IDX, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:649:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 649 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:660:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 660 | if (reason = Ea (MB, &Y)) /* eff addr */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:829:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 829 | if (reason = stop_inst) /* stop on undef? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:862:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 862 | if (reason = stop_inst) /* stop on undef? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:902:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 902 | if (reason = stop_inst) /* stop on undef? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:938:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 938 | if (reason = stop_inst) /* stop on undef? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:1006:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1006 | else if (reason = stop_inst) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: H316/h316_cpu.c: In function 'devtab_init': BUILDSTDERR: H316/h316_cpu.c:1503:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1503 | for (i = 0; dptr = sim_devices[i]; i++) { /* loop thru devices */ BUILDSTDERR: | ^~~~ BUILDSTDERR: H316/h316_sys.c: In function 'parse_sym': BUILDSTDERR: H316/h316_sys.c:367:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 367 | if (k = (strcmp (gbuf, "C") == 0)) { /* C specified? */ BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_sys.c:371:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 371 | else if (k = (strcmp (gbuf, "Z") == 0)) { /* Z specified? */ BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_mt.c: In function 'mt_svc': BUILDSTDERR: H316/h316_mt.c:374:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 374 | if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: H316/h316_mt.c:379:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 379 | if (st = sim_tape_sprecf (uptr, &tbc)) /* space fwd, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: H316/h316_mt.c:384:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 384 | if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: H316/h316_mt.c:458:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 458 | if (st = sim_tape_wrrecf (uptr, mtxb, mt_ptr)) /* write, err? */ BUILDSTDERR: | ^~ BUILDSTDERR: H316/h316_fhd.c: In function 'fhdio': BUILDSTDERR: H316/h316_fhd.c:222:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 222 | if (((fnc == 000) && fhd_rdy) || /* 0 = skip if ready */ BUILDSTDERR: | ^~ BUILDSTDERR: H316/h316_fhd.c:228:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 228 | break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: H316/h316_dp.c: In function 'dp_svc': BUILDSTDERR: H316/h316_dp.c:620:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 620 | if (r = dp_rdtrk (uptr, dpxb, uptr->CYL, h)) /* get track; error? */ BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_dp.c:725:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 725 | if (r = dp_rdtrk (uptr, dpxb, uptr->CYL, h)) /* get track; error? */ BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_dp.c:753:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 753 | if (r = dp_wrwd (uptr, dp_buf)) /* wr word, error? */ BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_dp.c: In function 'dp_wrwd': BUILDSTDERR: H316/h316_dp.c:858:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 858 | if (r = dp_wrdone (uptr, STA_UNSER)) /* dump track */ BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_dp.c: In function 'dp_setformat': BUILDSTDERR: H316/h316_dp.c:1020:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1020 | if (r = dp_wrtrk (uptr, tbuf, c, h)) BUILDSTDERR: | ^ BUILDSTDERR: H316/h316_dp.c: In function 'dp_showformat': BUILDSTDERR: H316/h316_dp.c:1046:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1046 | if (r = dp_rdtrk (uptr, tbuf, c, h)) BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: swtp6800/common/m6800.c: In function 'sim_instr': BUILDSTDERR: swtp6800/common/m6800.c:319:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 319 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: swtp6800/common/m6800.c:318:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 318 | if (sim_interval <= 0) /* check clock queue */ BUILDSTDERR: | ^~ BUILDSTDERR: swtp6800/common/m6800.c:321:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 321 | if (mem_fault) { /* memory fault? */ BUILDSTDERR: | ^~ BUILDSTDERR: swtp6800/common/m6800.c: In function 'condevalVa': BUILDSTDERR: swtp6800/common/m6800.c:1895:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 1895 | (op1 & 0x80 == 0) && (op2 & 0x80 == 0))); BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 106 | if (COND) SET_FLAG(VF); else CLR_FLAG(VF) BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/m6800.c:1895:39: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 1895 | (op1 & 0x80 == 0) && (op2 & 0x80 == 0))); BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 106 | if (COND) SET_FLAG(VF); else CLR_FLAG(VF) BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/m6800.c:1893:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1893 | if (get_flag(CF)) BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c: In function 'condevalVs': BUILDSTDERR: swtp6800/common/m6800.c:1903:47: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 1903 | COND_SET_FLAG_V(((op1 & 0x80) && (op2 & 0x80 == 0)) || BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 106 | if (COND) SET_FLAG(VF); else CLR_FLAG(VF) BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/m6800.c:1904:19: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 1904 | ((op1 & 0x80 == 0) && (op2 & 0x80))); BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 106 | if (COND) SET_FLAG(VF); else CLR_FLAG(VF) BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/m6800.c:1902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1902 | if (get_flag(CF)) BUILDSTDERR: | ^ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: swtp6800/common/m6810.c: In function 'm6810_get_mbyte': BUILDSTDERR: swtp6800/common/m6810.c:114:21: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: 114 | int32 val, org, len; BUILDSTDERR: | ^~~ BUILDSTDERR: swtp6800/common/m6810.c:114:16: warning: unused variable 'org' [-Wunused-variable] BUILDSTDERR: 114 | int32 val, org, len; BUILDSTDERR: | ^~~ BUILDSTDERR: swtp6800/common/bootrom.c: In function 'BOOTROM_config': BUILDSTDERR: swtp6800/common/bootrom.c:147:61: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] BUILDSTDERR: 147 | BOOTROM_unit.capac = 0x200 << (val >> UNIT_V_MSIZE) - 1; /* set EPROM size */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: swtp6800/common/bootrom.c: In function 'BOOTROM_reset': BUILDSTDERR: swtp6800/common/bootrom.c:166:12: warning: unused variable 'r' [-Wunused-variable] BUILDSTDERR: 166 | t_stat r; BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/dc-4.c: In function 'fdcdrv': BUILDSTDERR: swtp6800/common/dc-4.c:371:10: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 371 | char buf[128]; BUILDSTDERR: | ^~~ BUILDSTDERR: swtp6800/common/mp-8m.c: In function 'mp_8m_put_mbyte': BUILDSTDERR: swtp6800/common/mp-8m.c:180:21: warning: unused variable 'type' [-Wunused-variable] BUILDSTDERR: 180 | int32 org, len, type; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: swtp6800/common/m6800.c: In function 'sim_instr': BUILDSTDERR: swtp6800/common/m6800.c:319:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 319 | if (reason = sim_process_event ()) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: swtp6800/common/m6800.c:318:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 318 | if (sim_interval <= 0) /* check clock queue */ BUILDSTDERR: | ^~ BUILDSTDERR: swtp6800/common/m6800.c:321:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 321 | if (mem_fault) { /* memory fault? */ BUILDSTDERR: | ^~ BUILDSTDERR: swtp6800/common/m6800.c: In function 'condevalVa': BUILDSTDERR: swtp6800/common/m6800.c:1895:18: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 1895 | (op1 & 0x80 == 0) && (op2 & 0x80 == 0))); BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 106 | if (COND) SET_FLAG(VF); else CLR_FLAG(VF) BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/m6800.c:1895:39: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 1895 | (op1 & 0x80 == 0) && (op2 & 0x80 == 0))); BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 106 | if (COND) SET_FLAG(VF); else CLR_FLAG(VF) BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/m6800.c:1893:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1893 | if (get_flag(CF)) BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c: In function 'condevalVs': BUILDSTDERR: swtp6800/common/m6800.c:1903:47: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 1903 | COND_SET_FLAG_V(((op1 & 0x80) && (op2 & 0x80 == 0)) || BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 106 | if (COND) SET_FLAG(VF); else CLR_FLAG(VF) BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/m6800.c:1904:19: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] BUILDSTDERR: 1904 | ((op1 & 0x80 == 0) && (op2 & 0x80))); BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 106 | if (COND) SET_FLAG(VF); else CLR_FLAG(VF) BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/m6800.c:1902:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1902 | if (get_flag(CF)) BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/m6810.c: In function 'm6810_get_mbyte': BUILDSTDERR: swtp6800/common/m6810.c:114:21: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: 114 | int32 val, org, len; BUILDSTDERR: | ^~~ BUILDSTDERR: swtp6800/common/m6810.c:114:16: warning: unused variable 'org' [-Wunused-variable] BUILDSTDERR: 114 | int32 val, org, len; BUILDSTDERR: | ^~~ BUILDSTDERR: swtp6800/common/bootrom.c: In function 'BOOTROM_config': BUILDSTDERR: swtp6800/common/bootrom.c:147:61: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] BUILDSTDERR: 147 | BOOTROM_unit.capac = 0x200 << (val >> UNIT_V_MSIZE) - 1; /* set EPROM size */ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: swtp6800/common/bootrom.c: In function 'BOOTROM_reset': BUILDSTDERR: swtp6800/common/bootrom.c:166:12: warning: unused variable 'r' [-Wunused-variable] BUILDSTDERR: 166 | t_stat r; BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/dc-4.c: In function 'fdcdrv': BUILDSTDERR: swtp6800/common/dc-4.c:371:10: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 371 | char buf[128]; BUILDSTDERR: | ^~~ BUILDSTDERR: swtp6800/common/mp-8m.c: In function 'mp_8m_put_mbyte': BUILDSTDERR: swtp6800/common/mp-8m.c:180:21: warning: unused variable 'type' [-Wunused-variable] BUILDSTDERR: 180 | int32 org, len, type; BUILDSTDERR: | ^~~~ BUILDSTDERR: swtp6800/common/i2716.c: In function 'i2716_attach': BUILDSTDERR: swtp6800/common/i2716.c:124:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: 124 | printf("i2716%d: Unable to open ROM file %s\n", uptr - i2716_dev.units, uptr->filename); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: swtp6800/common/i2716.c: In function 'i2716_reset': BUILDSTDERR: swtp6800/common/i2716.c:154:12: warning: unused variable 'r' [-Wunused-variable] BUILDSTDERR: 154 | t_stat r; BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/i2716.c:153:17: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: 153 | int32 i, j, c, base; BUILDSTDERR: | ^ BUILDSTDERR: swtp6800/common/i2716.c:153:14: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 153 | int32 i, j, c, base; BUILDSTDERR: | ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 363 | /* V3.8 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 716 | /* V3.7 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 988 | /* V3.6 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1162 | /* V3.5 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1298 | /* V3.4 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1336 | /* V3.3 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1588 | /* V3.2 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1787 | /* V3.1 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 1900 | /* V3.0 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2066 | /* V2.10 revision history BUILDSTDERR: | BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2364 | /* V2.9 revision history BUILDSTDERR: | BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 681 | if (np = match_ext (nbuf, "EXE")) /* remove .exe */ BUILDSTDERR: | ^~ BUILDSTDERR: scp.c:688:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 688 | if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 703 | if (cmdp = find_cmd (gbuf)) /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 770 | if (cmdp = find_cmd (gbuf)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 914 | if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1094 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1099 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1105:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1105 | else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1113:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1113 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1126 | if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1159 | if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'show_cmd_fi': BUILDSTDERR: scp.c:1352:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1352 | if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1355 | if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1360 | else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:1380:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1380 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1399 | if (shptr = find_shtab (shtb, gbuf)) /* global match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1803 | if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3702 | if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3785 | if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'find_reg_glob': BUILDSTDERR: scp.c:3865:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 3865 | if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4083 | for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ BUILDSTDERR: | ^ BUILDSTDERR: scp.c:4084:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4084 | if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4091 | else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: | ^~~~ BUILDSTDERR: scp.c: In function 'sim_brk_getact': BUILDSTDERR: scp.c:4756:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 4756 | if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_console.c: In function 'sim_set_console': BUILDSTDERR: sim_console.c:165:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 168 | if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_show_console': BUILDSTDERR: sim_console.c:193:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 193 | if (shptr = find_shtab (show_con_tab, gbuf)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: sim_console.c: In function 'sim_poll_kbd': BUILDSTDERR: sim_console.c:462:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 462 | if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: | ^ BUILDSTDERR: sim_tmxr.c: In function 'tmxr_poll_tx': BUILDSTDERR: sim_tmxr.c:486:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 486 | if (lp->conn == 0) /* skip if !conn */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tmxr.c:488:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 488 | nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecf': BUILDSTDERR: sim_tape.c:407:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 407 | if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ BUILDSTDERR: sim_tape.c: In function 'sim_tape_rdrecr': BUILDSTDERR: sim_tape.c:456:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 456 | if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: | ^~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 g -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 H316/h316_stddev.c H316/h316_lp.c H316/h316_cpu.c H316/h316_sys.c H316/h316_mt.c H316/h316_fhd.c H316/h316_dp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I H316 -o BIN/h316 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 swtp6800/common/mp-a.c swtp6800/common/m6800.c swtp6800/common/m6810.c swtp6800/common/bootrom.c swtp6800/common/dc-4.c swtp6800/common/mp-s.c swtp6800/swtp6800/mp-a_sys.c swtp6800/common/mp-b2.c swtp6800/common/mp-8m.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I swtp6800/swtp6800 -o BIN/swtp6800mp-a -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program gcc -std=c99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I . -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so -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 swtp6800/common/mp-a2.c swtp6800/common/m6800.c swtp6800/common/m6810.c swtp6800/common/bootrom.c swtp6800/common/dc-4.c swtp6800/common/mp-s.c swtp6800/swtp6800/mp-a2_sys.c swtp6800/common/mp-b2.c swtp6800/common/mp-8m.c swtp6800/common/i2716.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I swtp6800/swtp6800 -o BIN/swtp6800mp-a2 -lm -lrt -lpthread -ldl -lpcap -flto -fwhole-program Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rXVHNs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64 + cd simh-3.9.0 + rm -rf /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin BUILDSTDERR: ++ ls BIN/ + for i in `ls BIN/` + install -p -m 755 BIN/altair /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-altair + for i in `ls BIN/` + install -p -m 755 BIN/altairz80 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-altairz80 + for i in `ls BIN/` + install -p -m 755 BIN/eclipse /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-eclipse + for i in `ls BIN/` + install -p -m 755 BIN/gri /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-gri + for i in `ls BIN/` + install -p -m 755 BIN/h316 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-h316 + for i in `ls BIN/` + install -p -m 755 BIN/hp2100 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-hp2100 + for i in `ls BIN/` + install -p -m 755 BIN/i1401 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i1401 + for i in `ls BIN/` + install -p -m 755 BIN/i1620 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i1620 + for i in `ls BIN/` + install -p -m 755 BIN/i7094 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i7094 + for i in `ls BIN/` + install -p -m 755 BIN/id16 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-id16 + for i in `ls BIN/` + install -p -m 755 BIN/id32 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-id32 + for i in `ls BIN/` + install -p -m 755 BIN/lgp /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-lgp + for i in `ls BIN/` + install -p -m 755 BIN/nova /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-nova + for i in `ls BIN/` + install -p -m 755 BIN/pdp1 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp1 + for i in `ls BIN/` + install -p -m 755 BIN/pdp10 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp10 + for i in `ls BIN/` + install -p -m 755 BIN/pdp11 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp11 + for i in `ls BIN/` + install -p -m 755 BIN/pdp15 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp15 + for i in `ls BIN/` + install -p -m 755 BIN/pdp4 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp4 + for i in `ls BIN/` + install -p -m 755 BIN/pdp7 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp7 + for i in `ls BIN/` + install -p -m 755 BIN/pdp8 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp8 + for i in `ls BIN/` + install -p -m 755 BIN/pdp9 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp9 + for i in `ls BIN/` + install -p -m 755 BIN/s3 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-s3 + for i in `ls BIN/` + install -p -m 755 BIN/sds /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-sds + for i in `ls BIN/` + install -p -m 755 BIN/swtp6800mp-a /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-swtp6800mp-a + for i in `ls BIN/` + install -p -m 755 BIN/swtp6800mp-a2 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-swtp6800mp-a2 + for i in `ls BIN/` + install -p -m 755 BIN/vax /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-vax + for i in `ls BIN/` + install -p -m 755 BIN/vax780 /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-vax780 + mkdir -p /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh BUILDSTDERR: ++ find -iname '*.txt' + for i in `find -iname "*.txt"` + dos2unix -k ./PDP10/pdp10_bug_history.txt BUILDSTDERR: dos2unix: converting file ./PDP10/pdp10_bug_history.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./PDP1/pdp1_diag.txt BUILDSTDERR: dos2unix: converting file ./PDP1/pdp1_diag.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./NOVA/eclipse.txt BUILDSTDERR: dos2unix: converting file ./NOVA/eclipse.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./SDS/sds_diag.txt BUILDSTDERR: dos2unix: converting file ./SDS/sds_diag.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./0readme_39.txt BUILDSTDERR: dos2unix: converting file ./0readme_39.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./VAX/vax780_bug_history.txt BUILDSTDERR: dos2unix: converting file ./VAX/vax780_bug_history.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./I7094/i7094_bug_history.txt BUILDSTDERR: dos2unix: converting file ./I7094/i7094_bug_history.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./ALTAIR/altair.txt BUILDSTDERR: dos2unix: converting file ./ALTAIR/altair.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./HP2100/hp2100_diag.txt BUILDSTDERR: dos2unix: converting file ./HP2100/hp2100_diag.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./HP2100/hp2100_bugfixes.txt BUILDSTDERR: dos2unix: converting file ./HP2100/hp2100_bugfixes.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./0readme_ethernet.txt BUILDSTDERR: dos2unix: converting file ./0readme_ethernet.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./S3/haltguide.txt BUILDSTDERR: dos2unix: converting file ./S3/haltguide.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./S3/readme_s3.txt BUILDSTDERR: dos2unix: converting file ./S3/readme_s3.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./S3/system3.txt BUILDSTDERR: dos2unix: converting file ./S3/system3.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./PDP18B/pdp18b_diag.txt BUILDSTDERR: dos2unix: converting file ./PDP18B/pdp18b_diag.txt to Unix format... + for i in `find -iname "*.txt"` + dos2unix -k ./Interdata/id_diag.txt BUILDSTDERR: dos2unix: converting file ./Interdata/id_diag.txt to Unix format... + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.9.0-11.fc31 --unique-debug-suffix -3.9.0-11.fc31.riscv64 --unique-debug-src-base simh-3.9.0-11.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/simh-3.9.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-altair explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-gri explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-altairz80 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-eclipse extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-altair extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-gri extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-altairz80 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-eclipse explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-h316 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-h316 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-hp2100 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-hp2100 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i1401 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i1401 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i1620 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i1620 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i7094 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-i7094 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-id16 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-id16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-id32 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-id32 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-lgp extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-lgp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-nova extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-nova explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp1 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp10 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp10 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp11 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp11 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp15 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp15 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp4 BUILDSTDERR: extracting debug info from /builddir/build/BUILDROOT/simh-22087 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs 3.9.0-11.fc31.riscv64/usr/bin/simh-pdp4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp7 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp8 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp9 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-pdp9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-s3 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-s3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-sds extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-sds explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-swtp6800mp-a2 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-swtp6800mp-a2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-swtp6800mp-a explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-vax extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-swtp6800mp-a extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-vax explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-vax780 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/bin/simh-vax780 original debug info size: 28168kB, size after compression: 25840kB /usr/lib/rpm/sepdebugcrcfix: Updated 27 CRC32s, 0 CRC32s did match. Processing files: simh-3.9.0-11.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZnoBxr + umask 022 + cd /builddir/build/BUILD + cd simh-3.9.0 + DOCDIR=/builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr ALTAIR/altair.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr NOVA/eclipse.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr 0readme_39.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr 0readme_ethernet.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr HP2100/hp2100_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr I7094/i7094_bug_history.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr Interdata/id_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr PDP1/pdp1_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr PDP10/pdp10_bug_history.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr PDP18B/pdp18b_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr S3/haltguide.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr S3/readme_s3.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr S3/system3.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr SDS/sds_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + cp -pr VAX/vax780_bug_history.txt /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64/usr/share/doc/simh + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: simh = 3.9.0-11.fc31 simh(riscv-64) = 3.9.0-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpcap.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) librt.so.1()(64bit) rtld(GNU_HASH) Processing files: simh-debugsource-3.9.0-11.fc31.riscv64 Provides: simh-debugsource = 3.9.0-11.fc31 simh-debugsource(riscv-64) = 3.9.0-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: simh-debuginfo-3.9.0-11.fc31.riscv64 Provides: debuginfo(build-id) = 000fbe07527f2f3b97aa4a5480127ff495b552a8 debuginfo(build-id) = 1594d667ad2d478c3077aec9cdad19f74ffea5d5 debuginfo(build-id) = 15f6c0852ab54b0853e0797d089aa2c071342271 debuginfo(build-id) = 199a1a0149e153eec527b5a07c5e375752ca9f84 debuginfo(build-id) = 2de968697a6b4f82b806b2770e59ccef9b0c91dd debuginfo(build-id) = 2deff3bd1c64cd69ffdc31f9348cabd6fa1ba0a5 debuginfo(build-id) = 2ef57105adaf1f2191797bf54a84c55f44641773 debuginfo(build-id) = 36b8b068be010c9052c74edfa43196fc6ff6b84a debuginfo(build-id) = 3c04e3e06a9d397da869d15aba91fc49b2af75a6 debuginfo(build-id) = 476a88759d33cdd84881d15ee82c022e3acc7ea2 debuginfo(build-id) = 4f1f4053251df8c6f45f16202918560f7a1f292e debuginfo(build-id) = 5b09b7849ca482acdf4a29d7bdd0f5332a4c1826 debuginfo(build-id) = 5bf5ce1fd9031f48afcb3e110623753be99f01e2 debuginfo(build-id) = 60f90288fc00866267c0ba4444a1546226b04bb5 debuginfo(build-id) = 77671f76cda2ed0e79ec78e98961511b7529f9dd debuginfo(build-id) = 88872370c03c4919861639d2f127f597c107beae debuginfo(build-id) = 901ef2606f4aa10cc4fdc58474a7f0bd5068dc90 debuginfo(build-id) = 9d58c5b56bae29863c7e7c9ce066040fdf38c3bb debuginfo(build-id) = a544aaab68a51e1a1cbe77f9c56789f5f01e3407 debuginfo(build-id) = aa46af1d907b4b0ead91c9576ecec04be77e5bcb debuginfo(build-id) = aa594c057b392ac23e139127bd0fbcf077cb2999 debuginfo(build-id) = b805629f716e6adf11136290eeb2c7649b633f4e debuginfo(build-id) = bd17ae56ce471563b15a8211d00f055ae7d937c0 debuginfo(build-id) = d8696e4739eb05d97333005ea4e183d8cd023f73 debuginfo(build-id) = ec7d218915b05d7b27eab9744ac67a1ae4166de9 debuginfo(build-id) = f4b5dbefd933ec85b41f23b43b478da8c18fd55c debuginfo(build-id) = f567accc85af3147185ed33a933061e746ca8182 simh-debuginfo = 3.9.0-11.fc31 simh-debuginfo(riscv-64) = 3.9.0-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: simh-debugsource(riscv-64) = 3.9.0-11.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64 Wrote: /builddir/build/RPMS/simh-3.9.0-11.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/simh-debugsource-3.9.0-11.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/simh-debuginfo-3.9.0-11.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PWjYnr + umask 022 + cd /builddir/build/BUILD + cd simh-3.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/simh-3.9.0-11.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0