Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/simh.spec'], chrootPath='/var/lib/mock/f30-build-37511-21529/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=996gid=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 Wrote: /builddir/build/SRPMS/simh-3.9.0-10.fc30.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/f30-build-37511-21529/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=996gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZsmxqZ + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lqUPD5 + 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: 8.2.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 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_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 BUILDSTDERR: 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: if (reason = sim_process_event ()) BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP18B/pdp18b_dt.c: In function 'dt_svc': BUILDSTDERR: PDP18B/pdp18b_dt.c:1150:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* /* ignore hdr */ BUILDSTDERR: BUILDSTDERR: PDP18B/pdp18b_dt.c: In function 'dt_svc': BUILDSTDERR: PDP18B/pdp18b_dt.c:1150:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* /* 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: if (reason = sim_process_event ()) BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:613:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:621:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:629:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:641:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:651:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:662:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:686:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:694:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:702:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:718:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:727:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:772:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:787:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:801:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:813:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:827:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:836:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:866:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: if (reason = Read ()) /* MB <- data */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP1/pdp1_cpu.c:922:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (r = Read ()) /* read; err? */ BUILDSTDERR: ^ BUILDSTDERR: PDP1/pdp1_cpu.c:1371:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (r = Read ()) /* read; err? */ BUILDSTDERR: ^ BUILDSTDERR: PDP1/pdp1_cpu.c:1400:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: static const int32 api_vec[API_HLVL][32] = { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: PDP8/pdp8_dt.c: In function 'dt_svc': BUILDSTDERR: PDP1/pdp1_sys.c: In function 'parse_sym': BUILDSTDERR: PDP8/pdp8_dt.c:967:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* /* ignore hdr */ BUILDSTDERR: BUILDSTDERR: PDP1/pdp1_sys.c:443:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: #define ASCTOSIX(x) (ascii_to_fiodec[x] & 077) BUILDSTDERR: ^ BUILDSTDERR: PDP1/pdp1_sys.c:598:16: note: in expansion of macro 'ASCTOSIX' BUILDSTDERR: val[0] = ((ASCTOSIX (cptr[0]) & 077) << 12) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: PDP1/pdp1_sys.c:443:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: #define ASCTOSIX(x) (ascii_to_fiodec[x] & 077) BUILDSTDERR: ^ BUILDSTDERR: PDP1/pdp1_sys.c:599:16: note: in expansion of macro 'ASCTOSIX' BUILDSTDERR: ((ASCTOSIX (cptr[1]) & 077) << 6) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: PDP8/pdp8_dt.c:971:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (((dtsa & DTA_MODE) == 0) || (M[DT_WC] == 0)) BUILDSTDERR: ^~ BUILDSTDERR: PDP1/pdp1_sys.c:443:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: #define ASCTOSIX(x) (ascii_to_fiodec[x] & 077) BUILDSTDERR: ^ BUILDSTDERR: PDP1/pdp1_sys.c:600:16: note: in expansion of macro 'ASCTOSIX' BUILDSTDERR: (ASCTOSIX (cptr[2]) & 077); 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: break; 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: 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: 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: 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: 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: 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: 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: 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: if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: ^~ BUILDSTDERR: PDP8/pdp8_mt.c:123:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: 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: 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: if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ 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: if (c = tmxr_getc_ln (&dcs_ldsc[ln])) { /* get char */ 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: 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: 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: 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: dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ BUILDSTDERR: ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (aptr = strchr (cptr, ';')) { /* ;action? */ 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: if (sp = (inst & 03730)) 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: if (sp = (inst & 03730)) BUILDSTDERR: ^~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ 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: if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ 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: if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.9 revision history BUILDSTDERR: BUILDSTDERR: scp.c: In function 'ssh_break': BUILDSTDERR: scp.c:1803:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ 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: if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: ^~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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 BUILDSTDERR: PDP18B/pdp18b_dt.c: In function 'dt_svc': BUILDSTDERR: PDP18B/pdp18b_dt.c:1150:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* /* ignore hdr */ 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 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 BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_dt.c:342:20: warning: 'map_unit' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const int32 map_unit[16] = { /* Type 550 unit map */ 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 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: PDP18B/pdp18b_dt.c: In function 'dt_svc': BUILDSTDERR: PDP18B/pdp18b_dt.c:1150:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* /* ignore hdr */ 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: if (sign = GET_SIGN_L (fac.l)) BUILDSTDERR: ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_dt.c:342:20: warning: 'map_unit' defined but not used [-Wunused-const-variable=] BUILDSTDERR: static const int32 map_unit[16] = { /* Type 550 unit map */ 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: if (t = trap_req & TRAP_ALL) { /* if a trap */ 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: 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: if (reason = sim_process_event ()) BUILDSTDERR: ^~~~~~ BUILDSTDERR: PDP18B/pdp18b_cpu.c:933:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: api_int = api_eval (&int_pend); 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: 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: 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: 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: if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ BUILDSTDERR: ^~ BUILDSTDERR: PDP18B/pdp18b_lp.c: In function 'lp15_svc': BUILDSTDERR: PDP18B/pdp18b_lp.c:821:34: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: if ((c[i] <= 037) && ctrl[c[i]]) { /* control char? */ BUILDSTDERR: ^ BUILDSTDERR: PDP18B/pdp18b_lp.c:824:24: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 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: 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: 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: 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: 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: 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: static int32 opntab[128][MAXOPN] = { BUILDSTDERR: ^ BUILDSTDERR: PDP11/pdp11_cis.c:323:31: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: static int32 binover[2][16] = { BUILDSTDERR: ^ BUILDSTDERR: '{', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', BUILDSTDERR: { BUILDSTDERR: '0', '0', '0', '0', '0', '0', BUILDSTDERR: } BUILDSTDERR: '}', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', BUILDSTDERR: { BUILDSTDERR: PDP11/pdp11_cis.c:328:5: BUILDSTDERR: }; BUILDSTDERR: } BUILDSTDERR: PDP11/pdp11_cis.c: In function 'cis11': BUILDSTDERR: PDP11/pdp11_cis.c:345:21: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ 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: 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: 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: 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: 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: if (err = ferror (uptr->fileref)) { /* read error? */ 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: 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: while (temp = temp & (temp - 1)) BUILDSTDERR: ^~~~ BUILDSTDERR: PDP18B/pdp18b_sys.c: In function 'fprint_sym': BUILDSTDERR: PDP18B/pdp18b_stddev.c: In function 'tti': BUILDSTDERR: PDP18B/pdp18b_sys.c:1012:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (sp = (inst & 03730)) BUILDSTDERR: ^~ BUILDSTDERR: PDP18B/pdp18b_stddev.c:997:30: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ BUILDSTDERR: ^ BUILDSTDERR: At top level: BUILDSTDERR: PDP18B/pdp18b_sys.c:900:14: warning: 'rar' defined but not used [-Wunused-function] BUILDSTDERR: 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: 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: if ((uptr->FNC >= RLCS_READ) && (err == 0)) { /* read (no hdr)? */ 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: 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: static int32 rar (int32 c) 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (aptr = strchr (cptr, ';')) { /* ;action? */ 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: 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: if ((((opc_val[i] >> I_V_CL) & I_M_CL) != j) || BUILDSTDERR: ^~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: ^~~~ BUILDSTDERR: PDP11/pdp11_tc.c: In function 'dt_svc': BUILDSTDERR: PDP11/pdp11_tc.c:995:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* else /* ignore hdr */ BUILDSTDERR: BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: ^~ BUILDSTDERR: PDP11/pdp11_tm.c: In function 'tm_go': BUILDSTDERR: PDP11/pdp11_tm.c:380:9: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (st = sim_tape_wrtmk (uptr)) /* write tmk, 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: if (r = build_ubus_tab (dptr, dibp)) /* add to Unibus tab */ 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_rq.c:99: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 5 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 14 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* 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: 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: 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: if (pkt = uptr->pktq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2593:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } 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: if (pkt = cp->freq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2633:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pkt = cp->rspq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2637:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (pkt = cp->pak[pkt].link); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from PDP11/pdp11_tq.c:85: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 5 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 14 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: if (uptr = tq_getucb (lu)) { /* valid unit? */ BUILDSTDERR: ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:789:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (pkt = uptr->pktq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2240:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } 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: if (pkt = tq_freq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2278:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pkt = tq_rspq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2282:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* 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: /* 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: 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: 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: /* #define DBG_XMT TMXR_DBG_XMT /* display Transmitted Data */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_vh.c:297:60: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define DBG_RCV TMXR_DBG_RCV /* display Received Data */ 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: 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: 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: 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: 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: 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: 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: t_stat st, r = SCPE_OK; 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 PDP10/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 BUILDSTDERR: In file included from PDP10/pdp10_fe.c:41: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: if (r = build_ubus_tab (&cpu_dev, cnf_tab[i].dib)) /* add to dispatch tab */ BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_dz.c:62: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define WRITEC 3 /* console write */ BUILDSTDERR: BUILDSTDERR: In file included from PDP10/pdp10_cpu.c:136: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: if (vec = pi_ub_vec (qintr, &uba)) { /* Unibus interrupt? */ BUILDSTDERR: ^~~ BUILDSTDERR: PDP10/pdp10_cpu.c:868:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0100: MUUO /* UJEN */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:869:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0101: MUUO /* unassigned */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:882:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0104: MUUO /* JSYS (T20) */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:884:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0106: MUUO /* GFMP (KL)*/ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:885:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0107: MUUO /* GFDV (KL) */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:912:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0130: MUUO /* UFA */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:913:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0131: MUUO /* DFN */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:917:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: else adjbp (ac, ea, pflgs); break; BUILDSTDERR: ^~~~~ BUILDSTDERR: PDP10/pdp10_cpu.c:923:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0141: MUUO /* FADL */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:931:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0151: MUUO /* FSBL */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:939:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0161: MUUO /* FMPL */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:947:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0171: MUUO /* FDVL */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_cpu.c:1011:17: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: if (t = sim_process_event ()) /* IO event? */ BUILDSTDERR: ^ BUILDSTDERR: PDP11/pdp11_rf.c:145:14: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 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: if (temp = tmxr_getc_ln (&dlx_ldsc[ln])) { /* get char */ 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: 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: 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: 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: if (st = sim_tape_sprecf (uptr, &tbc)) /* space rev, err? */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from PDP10/pdp10_ksio.c:72: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: for (i = 0; dibp = dib_tab[i]; i++ ) { BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from PDP10/pdp10_lp20.c:42: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define WRITEC 3 /* console write */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_lp20.c:61:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* define TX_INTR 04000 /* interrupt */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_lp20.c:63:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* define TX_XLAT 01000 /* translate */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_lp20.c:64:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: if (savhi = a.fhi) { /* dvd = 0? quo = 0 */ 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: 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: if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from PDP10/pdp10_pag.c:79: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define WRITEC 3 /* console write */ BUILDSTDERR: BUILDSTDERR: In file included from PDP10/pdp10_rp.c:71: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: 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: 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: 0715000000000+(IOBA_UBMAP+1 & RMASK), /* iowrq 0,763001 ; set ubmap */ BUILDSTDERR: ^ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from PDP10/pdp10_sys.c:42: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define WRITEC 3 /* console write */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_sys.c:123:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: int32 cflag, i, j; BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from PDP10/pdp10_tim.c:41: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define WRITEC 3 /* console write */ BUILDSTDERR: BUILDSTDERR: In file included from PDP10/pdp10_tu.c:93: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define WRITEC 3 /* console write */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_xtnd.c:157:34: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: static const d10 pwrs10[23][2] = { BUILDSTDERR: ^ BUILDSTDERR: 0, 0, BUILDSTDERR: { } BUILDSTDERR: 0, 1, BUILDSTDERR: { } BUILDSTDERR: 0, 10, BUILDSTDERR: { } BUILDSTDERR: 0, 100, BUILDSTDERR: { } BUILDSTDERR: 0, 1000, BUILDSTDERR: { } BUILDSTDERR: 0, 10000, BUILDSTDERR: { } BUILDSTDERR: 0, 100000, BUILDSTDERR: { } BUILDSTDERR: 0, 1000000, BUILDSTDERR: { } BUILDSTDERR: 0, 10000000, BUILDSTDERR: { } BUILDSTDERR: 0, 100000000, BUILDSTDERR: { } BUILDSTDERR: 0, 1000000000, BUILDSTDERR: { } BUILDSTDERR: 0, 10000000000, BUILDSTDERR: { } BUILDSTDERR: 2, 31280523264, BUILDSTDERR: { } BUILDSTDERR: 29, 3567587328, BUILDSTDERR: { } BUILDSTDERR: 291, 1316134912, BUILDSTDERR: { } BUILDSTDERR: 2910, 13161349120, BUILDSTDERR: { } BUILDSTDERR: 29103, 28534276096, BUILDSTDERR: { } BUILDSTDERR: 291038, 10464854016, BUILDSTDERR: { } BUILDSTDERR: 2910383, 1569325056, BUILDSTDERR: { } BUILDSTDERR: 29103830, 15693250560, BUILDSTDERR: { } BUILDSTDERR: 291038304, 19493552128, BUILDSTDERR: { } BUILDSTDERR: 2910383045, 23136829440, BUILDSTDERR: { } BUILDSTDERR: 29103830456, 25209864192 BUILDSTDERR: { BUILDSTDERR: }; BUILDSTDERR: } BUILDSTDERR: In file included from PDP11/pdp11_pt.c:36: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_ry.c:45: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define WRITEC 3 /* console write */ BUILDSTDERR: BUILDSTDERR: In file included from PDP11/pdp11_cr.c:168: BUILDSTDERR: PDP10/pdp10_defs.h:590:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define READC 1 /* console read */ BUILDSTDERR: BUILDSTDERR: PDP10/pdp10_defs.h:592:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: while (buffer = dev->write_buffers) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: sim_ether.c:1834:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: _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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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 BUILDSTDERR: In file included from VAX/vax_cpu.c:182: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: 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: 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: /* #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: /* #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: /* #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: /* #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: /* #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: /* #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: if (r = build_ubus_tab (dptr, dibp)) /* add to bus tab */ BUILDSTDERR: ^ BUILDSTDERR: In file included from VAX/vax_cis.c:53: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: VAX/vax_cis.c:1228:59: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* if (((c & 0xF0) > 0x90) || /* check hi digit */ BUILDSTDERR: BUILDSTDERR: VAX/vax_cis.c:1229:59: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* ((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: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ 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 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 BUILDSTDERR: In file included from VAX/vax_cmode.c:40: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: In file included from VAX/vax_cpu.c:182: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: else if (temp = GET_IRQL (trpirq)) { /* interrupt? */ BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from VAX/vax_mmu.c:50: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* #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: /* #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: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: VAX/vax_sysdev.c:407:18: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: DIB sysd_dib[] = { BUILDSTDERR: ^ BUILDSTDERR: 0, 0, NULL, NULL, BUILDSTDERR: { BUILDSTDERR: VAX/vax_sysdev.c:407:18: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: DIB sysd_dib[] = { BUILDSTDERR: ^ BUILDSTDERR: 0, 0, NULL, NULL, BUILDSTDERR: { BUILDSTDERR: VAX/vax_sysdev.c:410:5: BUILDSTDERR: }; BUILDSTDERR: } BUILDSTDERR: In file included from VAX/vax_sys.c:47: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: VAX/vax_sys.c:117:45: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 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: if (tptr = parse_rnum (cptr, &rn)) { /* look for Rn */ BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from VAX/vax_cpu1.c:72: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: In file included from VAX/vax_syslist.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* #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: /* #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: /* #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: 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: if ((uptr->FNC >= RLCS_READ) && (err == 0)) { /* read (no hdr)? */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from VAX/vax_cis.c:53: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define PR_TB 5 /* impossible */ BUILDSTDERR: BUILDSTDERR: VAX/vax_cis.c:74:25: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 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: 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: 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: /* if (((c & 0xF0) > 0x90) || /* check hi digit */ BUILDSTDERR: BUILDSTDERR: VAX/vax_cis.c:1229:59: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* ((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: 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: if (s = sc * 4) { BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_rq.c:77: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* 5 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 14 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* 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: 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: 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: if (pkt = uptr->pktq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2593:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } 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: if (pkt = cp->freq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2633:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pkt = cp->rspq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2637:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (pkt = cp->pak[pkt].link); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from VAX/vax_octa.c:47: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: if (r = op_tsth (opnd[0])) { /* test for 0 */ BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_ts.c:93: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: 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: 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: 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: 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: 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: if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from VAX/vax_cmode.c:40: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define PR_TB 5 /* impossible */ 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: if (sign = ((src & WSIGN)? 1: 0)) BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from PDP11/pdp11_dz.c:68: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* #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: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: In file included from VAX/vax_sys.c:47: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define PR_TB 5 /* impossible */ BUILDSTDERR: BUILDSTDERR: VAX/vax_sys.c:117:45: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: const uint16 drom[NUM_INST][MAX_SPEC + 1] = { BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_tq.c:68: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* 5 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 14 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 15 /* reserved */ 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: if (tptr = parse_rnum (cptr, &rn)) { /* look for Rn */ 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: if (uptr = tq_getucb (lu)) { /* valid unit? */ BUILDSTDERR: ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:789:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (pkt = uptr->pktq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2240:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } 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: if (pkt = tq_freq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2278:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pkt = tq_rspq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2282:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (pkt = tq_pkt[pkt].link); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from VAX/vax_syscm.c:34: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: In file included from VAX/vax780_stddev.c:59: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define PR_TB 5 /* impossible */ 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: 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: 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: 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: 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: 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: if (--xq->var->sanity.timer <= 0) BUILDSTDERR: ^ BUILDSTDERR: In file included from VAX/vax780_sbi.c:36: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define PR_TB 5 /* impossible */ BUILDSTDERR: BUILDSTDERR: VAX/vax780_sbi.c:220:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: /* #define PR_TB 5 /* impossible */ BUILDSTDERR: BUILDSTDERR: VAX/vax780_mem.c:101:19: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 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: DIB mctl1_dib[] = { TR_MCTL1, 0, &mctl_rdreg, &mctl_wrreg, 0 }; BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_ry.c:50: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: In file included from VAX/vax780_uba.c:34: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_vh.c:296:60: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define DBG_XMT TMXR_DBG_XMT /* display Transmitted Data */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_vh.c:297:60: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define DBG_RCV TMXR_DBG_RCV /* display Received Data */ BUILDSTDERR: BUILDSTDERR: In file included from VAX/vax780_mba.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* #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: /* #define PR_TB 5 /* impossible */ BUILDSTDERR: BUILDSTDERR: In file included from VAX/vax780_syslist.c:30: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define PR_TB 5 /* impossible */ BUILDSTDERR: BUILDSTDERR: In file included from PDP11/pdp11_io_lib.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #define CMCTLSIZE (18 << 2) /* 18 registers */ BUILDSTDERR: BUILDSTDERR: In file included from PDP11/pdp11_rl.c:93: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: 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: /* #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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: In file included from PDP11/pdp11_rq.c:99: BUILDSTDERR: PDP11/pdp11_mscp.h:213:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 5 /* reserved */ BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 14 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.9 revision history 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: 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: 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: 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: 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: if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ 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: if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:703:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cmdp = find_cmd (gbuf)) /* lookup command */ 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: 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: if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'help_cmd': BUILDSTDERR: scp.c:770:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cmdp = find_cmd (gbuf)) { 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: if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cmdp = find_cmd (gbuf)) { /* lookup command */ 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: if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: PDP11/pdp11_rq.c: In function 'rq_rw_valid': BUILDSTDERR: PDP11/pdp11_rq.c:1657:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* if (lbn & 0xF0000000) return (ST_CMD | I_LBN); /* 'reasonable' lbn? */ BUILDSTDERR: BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ 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: if (abc = tbc - t) { /* any xfer? */ 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: if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: PDP11/pdp11_rq.c:1755:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (t = Map_WriteW (ba, tbc, rqxb)) { /* store, nxm? */ BUILDSTDERR: ^ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (aptr = strchr (cptr, ';')) { /* ;action? */ 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: if (pkt = uptr->pktq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2593:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } 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: if (pkt = cp->freq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2633:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pkt = cp->rspq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_rq.c:2637:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (pkt = cp->pak[pkt].link); BUILDSTDERR: ^~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from PDP11/pdp11_ts.c:93: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: 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: 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: 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: 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: if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from PDP11/pdp11_dz.c:68: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define PR_TB 5 /* impossible */ 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_lp.c:45: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: /* 5 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:265:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 8 - 15 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:401:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 14 /* reserved */ BUILDSTDERR: BUILDSTDERR: PDP11/pdp11_mscp.h:402:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: if (uptr = tq_getucb (lu)) { /* valid unit? */ BUILDSTDERR: ^~~~ BUILDSTDERR: PDP11/pdp11_tq.c:789:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (pkt = uptr->pktq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2240:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } 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: if (pkt = tq_freq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2278:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (pkt = tq_rspq) { BUILDSTDERR: ^~~ BUILDSTDERR: PDP11/pdp11_tq.c:2282:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: } while (pkt = tq_pkt[pkt].link); 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: /* #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: /* 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: /* 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: 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: t_stat tstatus = Map_ReadW (ba, 8, txhdr); /* get rxring entry[i] */ 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: 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: nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from PDP11/pdp11_ry.c:50: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* #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: 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: 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: 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: while (buffer = dev->write_buffers) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: sim_ether.c:1834:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: _eth_test_multicast_hash() BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from PDP11/pdp11_rp.c:58: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define PR_TB 5 /* impossible */ 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from PDP11/pdp11_tu.c:63: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: 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: 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: 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: 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: 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: 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: 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: /* #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: 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: 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: 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: if (t = Map_WriteW (ba, wc << 1, hkxb)) { /* put buf */ BUILDSTDERR: ^ BUILDSTDERR: In file included from PDP11/pdp11_io_lib.c:31: BUILDSTDERR: VAX/vax_defs.h:476:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: while (buffer = dev->write_buffers) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: sim_ether.c:1834:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: _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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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: 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: if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \ BUILDSTDERR: ^ BUILDSTDERR: NOVA/nova_cpu.c:463:16: note: in expansion of macro 'IND_STEP' BUILDSTDERR: indf = IND_STEP (MA); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: NOVA/nova_cpu.c:246:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \ BUILDSTDERR: ^ BUILDSTDERR: NOVA/nova_cpu.c:468:20: note: in expansion of macro 'IND_STEP' BUILDSTDERR: 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: if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \ BUILDSTDERR: ^ BUILDSTDERR: NOVA/nova_cpu.c:625:24: note: in expansion of macro 'IND_STEP' BUILDSTDERR: indf = IND_STEP (MA); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: NOVA/nova_cpu.c:246:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if ( ((x) <= AUTO_TOP) && ((x) >= AUTO_INC) ) \ BUILDSTDERR: ^ BUILDSTDERR: NOVA/nova_cpu.c:630:28: note: in expansion of macro 'IND_STEP' BUILDSTDERR: indf = IND_STEP (MA); /* resolve indirect */ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: NOVA/nova_cpu.c:983:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: if (err = ferror (uptr->fileref)) BUILDSTDERR: ^~~ BUILDSTDERR: NOVA/nova_dkp.c:928:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: /* if (mta_ep) { /* if polling */ BUILDSTDERR: BUILDSTDERR: NOVA/nova_mta.c:497:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* u = uptr - mta_dev.units; /* unit num */ BUILDSTDERR: BUILDSTDERR: NOVA/nova_mta.c:499:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* set polling interupt... BUILDSTDERR: BUILDSTDERR: NOVA/nova_mta.c:500:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* } */ 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: 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: #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: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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 BUILDSTDERR: 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: if (reason = sim_process_event ()) 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: if (err = ferror (uptr->fileref)) BUILDSTDERR: ^~~ BUILDSTDERR: NOVA/nova_dkp.c:928:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (err = ferror (uptr->fileref)) 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 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 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:434:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ptr); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:434:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ptr); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:439:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ptr); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:439:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ptr); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (ptr); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (ptr); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:468:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:651:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ptp); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:651:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ptp); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:656:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ptp); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:656:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ptp); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: stat_data = IORETURN (SCPE_OK, 0); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdPRL (ptp); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (ptp); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:694:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:767:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (tty); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:767:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (tty); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:772:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (tty); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:772:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (tty); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (tty); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (tty); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:821:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1071:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (clk); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1071:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (clk); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1076:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (clk); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1076:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (clk); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: 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: #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: #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: setstdPRL (clk); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (clk); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_stddev.c:1131:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: setstdSRQ (clk); /* 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: 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: 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: 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: 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: /* if (mta_ep) { /* if polling */ BUILDSTDERR: BUILDSTDERR: NOVA/nova_mta.c:497:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* u = uptr - mta_dev.units; /* unit num */ BUILDSTDERR: BUILDSTDERR: NOVA/nova_mta.c:499:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* set polling interupt... BUILDSTDERR: BUILDSTDERR: NOVA/nova_mta.c:500:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* } */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_dp.c:193:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:433:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dpd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:433:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dpd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:438:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dpd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:438:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dpd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (dpd); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (dpd); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:501:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:563:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dpc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:563:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dpc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:568:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dpc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:568:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dpc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (dpc); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (dpc); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dp.c:660:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: 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: 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: 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: 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: if (err = ferror (uptr->fileref)) break; /* error? */ BUILDSTDERR: ^~~ BUILDSTDERR: HP2100/hp2100_dq.c:103:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:329:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dqd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:329:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dqd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:334:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dqd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:334:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dqd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (dqd); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (dqd); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:379:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:431:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dqc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:431:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dqc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:436:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dqc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:436:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dqc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (dqc); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (dqc); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dq.c:498:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: 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: 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: 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: 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: if (err = ferror (uptr->fileref)) break; 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: if (temp = tmxr_getc_ln (&tt1_ldsc)) { /* get char */ 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: #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: 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: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_dr.c:400:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #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: #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: 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: #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: #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: 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: #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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:313:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (lps); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:313:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (lps); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:318:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (lps); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:318:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (lps); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: 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: #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: #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: setstdPRL (lps); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (lps); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lps.c:432:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: setstdSRQ (lps); /* set standard SRQ 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: #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: 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: 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: if ( alm_line < qty_max ) 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:403:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (msd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:403:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (msd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:407:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (msd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:407:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (msd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (msd); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (msd); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:440:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:507:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (msc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:507:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (msc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:512:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (msc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:512:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (msc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (msc); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (msc); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ms.c:651:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: if (st = sim_tape_wrrecf (uptr, msxb, ms_ptr | MTR_ERF)) BUILDSTDERR: ^~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:277:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mtd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:277:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mtd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:281:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mtd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:281:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mtd); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:303:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:364:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mtc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:364:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mtc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:369:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mtc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:369:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mtc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (mtc); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (mtc); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mt.c:448:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: 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: 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: 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: 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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:633:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (muxl); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:633:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (muxl); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:638:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (muxl); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:638:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (muxl); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: 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: 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: #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: #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: setstdPRL (muxl); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (muxl); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:759:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:870:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (muxc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:870:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (muxc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:875:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (muxc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:875:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (muxc); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (muxc); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (muxc); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:956:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: 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: mux_rbuf[i] & LIL_CHAR | BUILDSTDERR: ^ BUILDSTDERR: HP2100/hp2100_mux.c:1179:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: mux_rbuf[i] & LIL_CHAR | BUILDSTDERR: ^ BUILDSTDERR: HP2100/hp2100_mux.c:1195:25: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 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: #define LIC_TSTI(ch) (((muxc_lia[ch] ^ muxc_ota[ch]) & \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ((muxc_ota[ch] & (OTC_ES2|OTC_ES1)) >> OTC_V_ES)) \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: << LIC_V_I) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mux.c:1230:9: note: in expansion of macro 'LIC_TSTI' BUILDSTDERR: if (LIC_TSTI (muxc_chan)) { /* status change? */ 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: 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: if (((PC == err_PC) || /* RTE through RTE-IVB */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ((PC == (err_PC - 1)) && /* RTE-6/VM */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ((ReadW (PC) & I_MRG) == I_ISZ))) && /* RTE jump target */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (mp_fence == CLEAR) && (M [xeqt] == 0) && /* RTE idle indications */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (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: #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: ioreturn = devdisp (dev, signal_set, IORETURN (SCPE_OK, iodata)); /* dispatch I/O signal */ 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: #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: IORETURN (SCPE_OK, data)); 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: else if (req_grant [1]) /* device in upper half */ 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: #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: #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: 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: #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: #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: 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: #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: 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: #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: #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: 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: #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: #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: 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: #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: 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: #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: 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: #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: #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: 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: #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: #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: 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: #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: 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: #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: 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: #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: 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: #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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3183:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 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: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3183:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (dma [ch]); /* skip if transfer in progress */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3187:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 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: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3187:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 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: #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: 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: #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: 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: #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: #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: setstdPRL (dma [ch]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: 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: #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: 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: 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: #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: IORETURN (SCPE_OK, 0)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: IORETURN (SCPE_OK, data)); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_cpu.c:3425:47: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: else if (UNIT_CPU_MODEL == UNIT_1000_F) 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ 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: 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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:190:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (lpt); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:190:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (lpt); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:195:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (lpt); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:195:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (lpt); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (lpt); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (lpt); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_lpt.c:246:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:332:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ipl [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:332:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ipl [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:337:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ipl [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:337:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (ipl [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: return IORETURN (STOP_NOCONN, 0); /* lose */ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: return IORETURN (SCPE_IOERR, 0); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:46: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: return IORETURN (SCPE_UNATT, 0); /* lose */ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdPRL (ipl [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (ipl [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ipl.c:435:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: if (t = ipl_check_conn (uptr)) /* established? */ 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: 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: nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ 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: #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: #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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ds.c:464:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 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: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_ds.c:464:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: 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: #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: 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: #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: 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: #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: #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: 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: #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: #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: 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: #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: 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: 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: 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: /* case 000: /* 105000-105017 */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:195:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* return cpu_user_00 (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:197:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 001: /* 105020-105037 */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:198:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* return cpu_user_01 (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:200:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0nn: /* other cases as needed */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:201:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* return cpu_user_nn (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:206:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 021: /* 10x420-10x437 */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:207:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* return cpu_user_21 (IR, intrq); /* uncomment to handle instruction */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:209:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0nn: /* other cases as needed */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:210:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: /* break; /* uncomment to handle instruction */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:256:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* break; /* uncomment to handle instruction */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:258:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* case 0nn: /* other cases as needed */ BUILDSTDERR: BUILDSTDERR: HP2100/hp2100_cpu0.c:259:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: 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: if (reason = resolve (ReadW (PC), &MA, irq)) /* resolve indirects */ 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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: 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: 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: 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: 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: 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: 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: 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: 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: if (reason = cpu_ops (op_dbi[entry], op, intrq)) /* get instruction operands */ 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: 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: 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: 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: if (reason = cpu_ops (pattern, op, intrq)) /* get instruction operands */ 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:579:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (baci); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:579:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (baci); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:584:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (baci); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:584:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (baci); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: 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: #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: #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: setstdPRL (baci); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (baci); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: 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: !(baci_icw & OUT_DCPC) && /* or under program control */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (baci_status & IN_FIFOIRQ) || /* and FIFO interrupt? */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:1163:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (IO_MODE == RECV) && /* or receiving */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (baci_edsiw & OUT_ENCM) && /* and char mode */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (baci_fget != baci_fput)) { /* and FIFO not empty? */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_baci.c:1188:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: ((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: 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: 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: (baci_uart_clk == 8) && /* or last stop bit */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: (baci_cfcw & OUT_STBITS) && /* and extra stop bit requested */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ((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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:839:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mpx); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:839:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mpx); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:844:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mpx); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:844:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (mpx); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: #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: #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: setstdPRL (mpx); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (mpx); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:937:13: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: 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: 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: 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: if (port >= 0) /* port defined? */ BUILDSTDERR: ^ BUILDSTDERR: HP2100/hp2100_mpx.c:1211:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: 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: 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: if (rt & RT_ENAB_EDIT) /* editing enabled? */ BUILDSTDERR: ^ BUILDSTDERR: HP2100/hp2100_mpx.c:1929:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((buf_avail (iowrite, port) < 2) && /* more to transmit? */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: !(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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: BITFIELD (SK_PARITY, 8, 2) /* Set key: parity select */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:168:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 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: BITFIELD (SK_PARITY, 8, 2) /* Set key: parity select */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:167:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 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: BITFIELD (SK_STOPBITS, 10, 2) /* Set key: stop bits */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_mpx.c:168:25: note: in definition of macro 'BITFIELD' BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:251:17: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (pif); /* card responds to SFC */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:251:17: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (pif); /* card responds to SFC */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:257:17: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (pif); /* card responds to SFS */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:257:17: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (pif); /* card responds to SFS */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdPRL (pif); /* set standard PRL signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:424:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: setstdIRQ (pif); /* set standard IRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:425:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #define setstdSRQ(N) setSRQ (dibptr->select_code, N.flag); BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_pif.c:304:17: note: in expansion of macro 'setstdSRQ' BUILDSTDERR: setstdSRQ (pif); /* set standard SRQ signal */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:423:59: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: 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: #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: #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: 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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:474:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (di [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:474:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (di [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:431:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:49: note: in definition of macro 'IORETURN' BUILDSTDERR: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:479:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (di [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: #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: #define setstdSKF(N) setSKF ((signal == ioSFC) && !N.flag || \ BUILDSTDERR: ^~~~~~ BUILDSTDERR: HP2100/hp2100_di.c:479:13: note: in expansion of macro 'setstdSKF' BUILDSTDERR: setstdSKF (di [card]); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: HP2100/hp2100_defs.h:360:52: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: #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: 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: 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: di_card->status_register BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & ~(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: #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: #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: 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: #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: #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: 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: #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: 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: 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: 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: 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: 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: && 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: && 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: || di_card->eor == SET /* or was the end of record seen */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: && !(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: && 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: && 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: && 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: 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: 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: 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: 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: 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: if (if_state [unit] == read_wait /* if we're waiting for a send data secondary */ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: && 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: 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: 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: 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: 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: || !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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ 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 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 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: 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: nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ 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: if (reason = sim_process_event ()) BUILDSTDERR: ^~~~~~ BUILDSTDERR: I1401/i1401_cpu.c:1042:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* return SCPE_OK; /* return if no req */ BUILDSTDERR: BUILDSTDERR: I1401/i1401_iq.c:97:57: warning: "/*" within comment [-Wcomment] 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: ^~ 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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: I1620/i1620_cd.c:113:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* Card reader (ASCII) to numeric (one digit) */ BUILDSTDERR: BUILDSTDERR: I1620/i1620_cd.c: In function 'cdr': BUILDSTDERR: I1620/i1620_cd.c:245:29: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: cdc = cdr_to_num[cdr_buf[i]]; /* translate */ BUILDSTDERR: ^ BUILDSTDERR: I1620/i1620_cd.c:262:29: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: t = cdr_to_alp[t]; /* convert */ BUILDSTDERR: ^ BUILDSTDERR: I1620/i1620_sys.c:505:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 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: while (t = *fptr++) { /* loop through */ BUILDSTDERR: ^ BUILDSTDERR: I1620/i1620_sys.c:569:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: val[t] = val[t] | FLAG; /* set flag */ BUILDSTDERR: ^ BUILDSTDERR: I1620/i1620_sys.c:569:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: extern t_stat select_stack (int32 mod); BUILDSTDERR: ^ BUILDSTDERR: I1401/i1401_cd.c:359:8: note: type mismatch in parameter 2 BUILDSTDERR: 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 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 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 BUILDSTDERR: S3/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: if (r = cdr_svc (&cdr_unit)) return r; /* process */ BUILDSTDERR: ^ BUILDSTDERR: S3/s3_cd.c:328:34: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 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:58: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 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: if (reason = sim_process_event ()) break; 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: if (reason = sim_process_event ()) break; BUILDSTDERR: ^~~~~~ BUILDSTDERR: ALTAIR/altair_cpu.c:369:37: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: DAR = DAR | (M[PC] <<8) & 0xFF00;; 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: int32 F, C, S, N, usave; 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: 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: int32 rtn, i; 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: 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: int32 cflag, i = 0, j, r; BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (aptr = strchr (cptr, ';')) { /* ;action? */ BUILDSTDERR: ^~~~ BUILDSTDERR: S3/s3_sys.c:124:27: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: struct opdef opcode[75] = { BUILDSTDERR: ^ BUILDSTDERR: "HPL", 0x00,0,0,0, /* Halt Program Level */ BUILDSTDERR: { } BUILDSTDERR: "A", 0x06,0,1,3, /* Add to Register: A R,AADD */ BUILDSTDERR: { } BUILDSTDERR: "ST", 0x04,0,1,3, /* Store Register */ BUILDSTDERR: { } BUILDSTDERR: "L", 0x05,0,1,3, /* Load Register */ BUILDSTDERR: { } BUILDSTDERR: "LA", 0x02,0,1,1, /* Load Address */ BUILDSTDERR: { } BUILDSTDERR: "ZAZ", 0x04,0,2,2, /* Zero and Add Zoned */ BUILDSTDERR: { } BUILDSTDERR: "AZ", 0x06,0,2,2, /* Add Zoned Decimal */ BUILDSTDERR: { } BUILDSTDERR: "SZ", 0x07,0,2,2, /* Subtract Zoned Decimal */ BUILDSTDERR: { } BUILDSTDERR: "ALC", 0x0E,0,2,2, /* Add Logical: ALC BADD,AADD,LEN */ BUILDSTDERR: { } BUILDSTDERR: "SLC", 0x0F,0,2,2, /* Sub Logical: SLC BADD,AADD,LEN */ BUILDSTDERR: { } BUILDSTDERR: "MVC", 0x0C,0,2,2, /* Move Chars MVX BADD,AADD,LEN */ BUILDSTDERR: { } BUILDSTDERR: "ED", 0x0A,0,2,2, /* Edit: ED BADD,AADD,LEN */ BUILDSTDERR: { } BUILDSTDERR: "ITC", 0x0B,0,2,2, /* Insert Chars: ITC BADD,AADD,LEN */ BUILDSTDERR: { } BUILDSTDERR: "CLC", 0x0D,0,2,2, /* Compare Logical: CLC BADD,AADD,LEN */ BUILDSTDERR: { } BUILDSTDERR: "MVI", 0x0C,0,3,3, /* Move Immediate */ BUILDSTDERR: { } BUILDSTDERR: "SBN", 0x0A,0,3,3, /* Set Bits On */ BUILDSTDERR: { } BUILDSTDERR: "SBF", 0x0B,0,3,3, /* Set Bits Off */ BUILDSTDERR: { } BUILDSTDERR: "CLI", 0x0D,0,3,3, /* Compare Immediate */ BUILDSTDERR: { } BUILDSTDERR: "TBN", 0x08,0,3,3, /* Test Bits On */ BUILDSTDERR: { } BUILDSTDERR: "TBF", 0x09,0,3,3, /* Test Bits Off */ BUILDSTDERR: { } BUILDSTDERR: "APL", 0x01,0,4,0, /* Advance Program Level */ BUILDSTDERR: { } BUILDSTDERR: "SIO", 0x03,0,5,0, /* Start I/O */ BUILDSTDERR: { } BUILDSTDERR: "SNS", 0x00,0,6,3, /* Sense I/O */ BUILDSTDERR: { } BUILDSTDERR: "LIO", 0x01,0,6,3, /* Load I/O */ BUILDSTDERR: { } BUILDSTDERR: "TIO", 0x01,0,6,1, /* Test I/O */ BUILDSTDERR: { } BUILDSTDERR: "J", 0x02,0,7,0, /* Jump Unconditional */ BUILDSTDERR: { } BUILDSTDERR: "J", 0x02,0x87,7,0, /* Alternate J */ BUILDSTDERR: { } BUILDSTDERR: "JH", 0x02,132,7,0, /* Jump if High */ BUILDSTDERR: { } BUILDSTDERR: "JL", 0x02,130,7,0, /* Jump if Low */ BUILDSTDERR: { } BUILDSTDERR: "JE", 0x02,129,7,0, /* Jump if Equal */ BUILDSTDERR: { } BUILDSTDERR: "JNH", 0x02,4,7,0, /* Jump if Not High */ BUILDSTDERR: { } BUILDSTDERR: "JNL", 0x02,2,7,0, /* Jump if Not Low */ BUILDSTDERR: { } BUILDSTDERR: "JNE", 0x02,1,7,0, /* Jump if Not Equal */ BUILDSTDERR: { } BUILDSTDERR: "JOZ", 0x02,136,7,0, /* Jump if Overflow Zoned */ BUILDSTDERR: { } BUILDSTDERR: "JOL", 0x02,160,7,0, /* Jump if Overflow Logical */ BUILDSTDERR: { } BUILDSTDERR: "JNOZ", 0x02,8,7,0, /* Jump if No Overflow Zoned */ BUILDSTDERR: { } BUILDSTDERR: "JNOL", 0x02,32,7,0, /* Jump if No Overflow Logical */ BUILDSTDERR: { } BUILDSTDERR: "JT", 0x02,16,7,0, /* Jump if True */ BUILDSTDERR: { } BUILDSTDERR: "JF", 0x02,144,7,0, /* Jump if False */ BUILDSTDERR: { } BUILDSTDERR: "JP", 0x02,132,7,0, /* Jump if Plus */ BUILDSTDERR: { } BUILDSTDERR: "JM", 0x02,130,7,0, /* Jump if Minus */ BUILDSTDERR: { } BUILDSTDERR: "JZ", 0x02,129,7,0, /* Jump if Zero */ BUILDSTDERR: { } BUILDSTDERR: "JNP", 0x02,4,7,0, /* Jump if Not Plus */ BUILDSTDERR: { } BUILDSTDERR: "JNM", 0x02,2,7,0, /* Jump if Not Minus */ BUILDSTDERR: { } BUILDSTDERR: "JNZ", 0x02,1,7,0, /* Jump if Not Zero */ BUILDSTDERR: { } BUILDSTDERR: "NOPJ", 0x02,0x80,7,0, /* Never Jump - NOP */ BUILDSTDERR: { } BUILDSTDERR: "B", 0x00,0x00,8,1, /* Branch Unconditional */ BUILDSTDERR: { } BUILDSTDERR: "B", 0x00,0x87,8,1, /* Alternate B */ BUILDSTDERR: { } BUILDSTDERR: "BH", 0x00,0x84,8,1, /* Branch if High */ BUILDSTDERR: { } BUILDSTDERR: "BL", 0x00,0x82,8,1, /* Branch if Low */ BUILDSTDERR: { } BUILDSTDERR: "BE", 0x00,0x81,8,1, /* Branch if Equal */ BUILDSTDERR: { } BUILDSTDERR: "BNH", 0x00,0x04,8,1, /* Branch if Not High */ BUILDSTDERR: { } BUILDSTDERR: "BNL", 0x00,0x02,8,1, /* Branch if Not Low */ BUILDSTDERR: { } BUILDSTDERR: "BNE", 0x00,0x01,8,1, /* Branch if Not Equal */ BUILDSTDERR: { } BUILDSTDERR: "BOZ", 0x00,0x88,8,1, /* Branch if Overflow Zoned */ BUILDSTDERR: { } BUILDSTDERR: "BOL", 0x00,0xA0,8,1, /* Branch if Overflow Logical */ BUILDSTDERR: { } BUILDSTDERR: "BNOZ", 0x00,0x08,8,1, /* Branch if No Overflow Zoned */ BUILDSTDERR: { } BUILDSTDERR: "BNOL", 0x00,0x20,8,1, /* Branch if No Overflow Logical */ BUILDSTDERR: { } BUILDSTDERR: "BT", 0x00,0x10,8,1, /* Branch if True */ BUILDSTDERR: { } BUILDSTDERR: "BF", 0x00,0x90,8,1, /* Branch if False */ BUILDSTDERR: { } BUILDSTDERR: "BP", 0x00,0x84,8,1, /* Branch if Plus */ BUILDSTDERR: { } BUILDSTDERR: "BM", 0x00,0x82,8,1, /* Branch if Minus */ BUILDSTDERR: { } BUILDSTDERR: "BZ", 0x00,0x81,8,1, /* Branch if Zero */ BUILDSTDERR: { } BUILDSTDERR: "BNP", 0x00,0x04,8,1, /* Branch if Not Plus */ BUILDSTDERR: { } BUILDSTDERR: "BNM", 0x00,0x02,8,1, /* Branch if Not Minus */ BUILDSTDERR: { } BUILDSTDERR: "BNZ", 0x00,0x01,8,1, /* Branch if Not Zero */ BUILDSTDERR: { } BUILDSTDERR: "NOPB", 0x00,0x80,8,1, /* Never Branch - NOP */ BUILDSTDERR: { } BUILDSTDERR: "MZZ", 0x08,0,9,2, /* Move Zone to Zone */ BUILDSTDERR: { } BUILDSTDERR: "MNZ", 0x08,1,9,2, /* Move Numeric to Zone */ BUILDSTDERR: { } BUILDSTDERR: "MZN", 0x08,2,9,2, /* Move Zone to Numeric */ BUILDSTDERR: { } BUILDSTDERR: "MNN", 0x08,3,9,2, /* Move Numeric to Numeric */ BUILDSTDERR: { } BUILDSTDERR: "MVX", 0x08,0,2,2, /* Move Hex: MVX BADD,AADD,CODE */ BUILDSTDERR: { } BUILDSTDERR: "JC", 0x02,0,3,0, /* Jump on Specified Condition bits */ BUILDSTDERR: { } BUILDSTDERR: "BC", 0x00,0,3,1, /* Branch on Specified Condition */ BUILDSTDERR: { } BUILDSTDERR: "***", 0x00,0,0,0 BUILDSTDERR: { BUILDSTDERR: }; 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: 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: int32 cflag, i = 0, j, r, oplen, addtyp, saveaddr, vptr; BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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 BUILDSTDERR: AltairZ80/altairz80_cpu.c: In function 'sim_instr_mmu': BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1975:17: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 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: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1991:17: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: 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: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3491:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(!TSTFLAG(Z)); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3712:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(TSTFLAG(Z)); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3716:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(1); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3768:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(!TSTFLAG(C)); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:3835:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(TSTFLAG(C)); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4664:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(!TSTFLAG(P)); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:4721:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(TSTFLAG(P)); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: CHECK_BREAK_TWO_BYTES(HL, DE); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: CHECK_BREAK_TWO_BYTES(HL, DE); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: CHECK_BREAK_TWO_BYTES(HL, DE); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: CHECK_BREAK_TWO_BYTES(HL, DE); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5410:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(!TSTFLAG(S)); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); \ BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:5464:17: note: in expansion of macro 'CALLC' BUILDSTDERR: CALLC(TSTFLAG(S)); /* also updates tStates */ BUILDSTDERR: ^~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(temp); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1810:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((brl == TRUE) || (brl == FALSE) && (sim_brk_lookup((a2) \ BUILDSTDERR: ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: & 0xffff, SWMASK('M')) == TRUE)) { \ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: AltairZ80/altairz80_cpu.c:1820:39: note: in expansion of macro 'CHECK_BREAK_TWO_BYTES_EXTENDED' BUILDSTDERR: #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: #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: CHECK_BREAK_WORD(SP - 2); 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 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ 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/i7094_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 BUILDSTDERR: I7094/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: 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: if (reason = ch_proc (i)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: I7094/i7094_cpu.c:1976:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ 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: 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: int32 st, r1, r2; 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (r = ch6_wr_getw (ch, TRUE)) /* send wd to dev; err? */ 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: 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: 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: 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: 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: uint32 t; BUILDSTDERR: ^ BUILDSTDERR: I7094/i7094_cd.c: In function 'cdr_svc': BUILDSTDERR: I7094/i7094_cd.c:242:40: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 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: cdp_cbuf[col] = pch[bcd]; /* -> ASCII */ BUILDSTDERR: ^ BUILDSTDERR: Interdata/id_idc.c:99:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: if (entc = com_show_qsumm (st, lh, name)) { 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: 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: 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: 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: 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: 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: if (st = sim_tape_sprecr (uptr, &tbc)) /* skip rec rev, err? */ 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: 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: 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: 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: 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: 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: if (r = dsk_wr_trk (udptr, trk + i)) /* wr track; 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: if (c = tmxr_getc_ln (&pas_ldsc[ln])) { /* any char? */ 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: lpt_cbuf[col] = pch[bcd]; /* -> ASCII */ 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: 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: if (r = mt_map_err (uptr, r)) /* map error */ 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: int32 t, old_cmd; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.9 revision history BUILDSTDERR: BUILDSTDERR: scp.c: In function 'get_ipaddr': BUILDSTDERR: scp.c:3702:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (dptr = find_dev (cptr)) { /* exact match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: if (cmdp = find_cmd (gbuf)) { 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: if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'do_cmd': BUILDSTDERR: scp.c:914:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cmdp = find_cmd (gbuf)) { /* lookup command */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'get_search': BUILDSTDERR: scp.c:4083:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (sptr = strchr (logstr, c)) { /* check for mask */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'set_cmd': BUILDSTDERR: scp.c:1094:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:4091:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: extern uint32 tty_rd (uint32 src); BUILDSTDERR: ^ BUILDSTDERR: GRI/gri_stddev.c:212:8: note: type mismatch in parameter 1 BUILDSTDERR: 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: extern uint32 hsrp_rd (uint32 src); BUILDSTDERR: ^ BUILDSTDERR: GRI/gri_stddev.c:303:8: note: type mismatch in parameter 1 BUILDSTDERR: 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 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 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: 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: 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: 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: 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: 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: 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: uint32 t; BUILDSTDERR: ^ BUILDSTDERR: Interdata/id_idc.c:99:57: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: int32 t, old_cmd; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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 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: 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: 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: if (r = Write (0, dat)) BUILDSTDERR: ^ BUILDSTDERR: SDS/sds_cpu.c:528:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (r = Write (va, dat)) BUILDSTDERR: ^ BUILDSTDERR: SDS/sds_cpu.c:1018:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: (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: 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: if (r = mt_wrend (inst)) /* end record */ 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 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: 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: if (c = tmxr_getc_ln (&mux_ldsc[ln])) { /* get char */ 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: if (r = sim_process_event ()) BUILDSTDERR: ^ BUILDSTDERR: LGP/lgp_cpu.c:311:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (r = sim_process_event ()) 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: 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: 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: if (r = sim_putchar_s (ch)) /* write 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: if (r = ptp_out (0)) 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (portp = strchr (gbuf, ':')) /* x:y? split */ BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.9 revision history BUILDSTDERR: BUILDSTDERR: scp.c: In function 'find_unit': BUILDSTDERR: scp.c:3785:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c: In function 'main': BUILDSTDERR: scp.c:681:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ 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: if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ BUILDSTDERR: ^~ BUILDSTDERR: scp.c:1355:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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 BUILDSTDERR: H316/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: 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: if (reason = sim_process_event ()) BUILDSTDERR: ^~~~~~ BUILDSTDERR: H316/h316_cpu.c:461:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ 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 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 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: if (reason = sim_process_event ()) BUILDSTDERR: ^~~~~~ BUILDSTDERR: swtp6800/common/m6800.c:318:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: (op1 & 0x80 == 0) && (op2 & 0x80 == 0))); BUILDSTDERR: ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 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: (op1 & 0x80 == 0) && (op2 & 0x80 == 0))); BUILDSTDERR: ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 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: 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: 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: 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: ((op1 & 0x80 == 0) && (op2 & 0x80))); BUILDSTDERR: ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 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: if (get_flag(CF)) 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: 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: nbytes = tmxr_send_buffered_data (lp); /* buffered bytes */ 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: int32 val, org, len; BUILDSTDERR: ^~~ BUILDSTDERR: swtp6800/common/m6810.c:114:16: warning: unused variable 'org' [-Wunused-variable] BUILDSTDERR: 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: 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: t_stat r; 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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: 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: int32 org, len, type; BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from scp.c:189: BUILDSTDERR: sim_rev.h:363:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ 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 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 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: if (reason = sim_process_event ()) BUILDSTDERR: ^~~~~~ BUILDSTDERR: swtp6800/common/m6800.c:318:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 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: 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: (op1 & 0x80 == 0) && (op2 & 0x80 == 0))); BUILDSTDERR: ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 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: (op1 & 0x80 == 0) && (op2 & 0x80 == 0))); BUILDSTDERR: ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 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: 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: 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: 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: ((op1 & 0x80 == 0) && (op2 & 0x80))); BUILDSTDERR: ^ BUILDSTDERR: swtp6800/common/m6800.c:106:9: note: in definition of macro 'COND_SET_FLAG_V' BUILDSTDERR: 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: 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: int32 val, org, len; BUILDSTDERR: ^~~ BUILDSTDERR: swtp6800/common/m6810.c:114:16: warning: unused variable 'org' [-Wunused-variable] BUILDSTDERR: 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: 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: 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: 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: 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: printf("i2716%d: Unable to open ROM file %s\n", uptr - i2716_dev.units, uptr->filename); BUILDSTDERR: ~^ ~~~~~~~~~~~~~~~~~~~~~~ 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: t_stat r; BUILDSTDERR: ^ BUILDSTDERR: swtp6800/common/i2716.c:153:17: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: int32 i, j, c, base; BUILDSTDERR: ^ BUILDSTDERR: swtp6800/common/i2716.c:153:14: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 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: /* V3.8 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:716:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.7 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:988:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.6 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1162:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.5 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1298:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.4 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1336:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.3 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1588:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.2 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1787:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.1 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:1900:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V3.0 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2066:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* V2.10 revision history BUILDSTDERR: BUILDSTDERR: sim_rev.h:2364:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* 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: 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: 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: 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: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1099:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1126:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (cvptr = strchr (gbuf, '=')) BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1159:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: if (dptr = find_dev (gbuf)) { /* device match? */ BUILDSTDERR: ^~~~ BUILDSTDERR: scp.c:1360:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: scp.c:1399:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: 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: 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: 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: if (cvptr = strchr (gbuf, '=')) /* = value? */ BUILDSTDERR: ^~~~~ BUILDSTDERR: sim_console.c:168:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 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: 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: 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: 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: 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: 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: if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ BUILDSTDERR: ^~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RlBqdg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64 + cd simh-3.9.0 + rm -rf /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin BUILDSTDERR: ++ ls BIN/ + for i in `ls BIN/` + install -p -m 755 BIN/altair /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-altair + for i in `ls BIN/` + install -p -m 755 BIN/altairz80 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-altairz80 + for i in `ls BIN/` + install -p -m 755 BIN/eclipse /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-eclipse + for i in `ls BIN/` + install -p -m 755 BIN/gri /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-gri + for i in `ls BIN/` + install -p -m 755 BIN/h316 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-h316 + for i in `ls BIN/` + install -p -m 755 BIN/hp2100 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-hp2100 + for i in `ls BIN/` + install -p -m 755 BIN/i1401 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i1401 + for i in `ls BIN/` + install -p -m 755 BIN/i1620 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i1620 + for i in `ls BIN/` + install -p -m 755 BIN/i7094 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i7094 + for i in `ls BIN/` + install -p -m 755 BIN/id16 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-id16 + for i in `ls BIN/` + install -p -m 755 BIN/id32 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-id32 + for i in `ls BIN/` + install -p -m 755 BIN/lgp /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-lgp + for i in `ls BIN/` + install -p -m 755 BIN/nova /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-nova + for i in `ls BIN/` + install -p -m 755 BIN/pdp1 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp1 + for i in `ls BIN/` + install -p -m 755 BIN/pdp10 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp10 + for i in `ls BIN/` + install -p -m 755 BIN/pdp11 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp11 + for i in `ls BIN/` + install -p -m 755 BIN/pdp15 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp15 + for i in `ls BIN/` + install -p -m 755 BIN/pdp4 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp4 + for i in `ls BIN/` + install -p -m 755 BIN/pdp7 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp7 + for i in `ls BIN/` + install -p -m 755 BIN/pdp8 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp8 + for i in `ls BIN/` + install -p -m 755 BIN/pdp9 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp9 + for i in `ls BIN/` + install -p -m 755 BIN/s3 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-s3 + for i in `ls BIN/` + install -p -m 755 BIN/sds /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-sds + for i in `ls BIN/` + install -p -m 755 BIN/swtp6800mp-a /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.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-10.fc30.riscv64/usr/bin/simh-swtp6800mp-a2 + for i in `ls BIN/` + install -p -m 755 BIN/vax /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-vax + for i in `ls BIN/` + install -p -m 755 BIN/vax780 /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-vax780 + mkdir -p /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh BUILDSTDERR: ++ find -iname '*.txt' + 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 ./S3/readme_s3.txt BUILDSTDERR: dos2unix: converting file ./S3/readme_s3.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/system3.txt BUILDSTDERR: dos2unix: converting file ./S3/system3.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 ./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 ./0readme_ethernet.txt BUILDSTDERR: dos2unix: converting file ./0readme_ethernet.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 ./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 ./PDP18B/pdp18b_diag.txt BUILDSTDERR: dos2unix: converting file ./PDP18B/pdp18b_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 ./Interdata/id_diag.txt BUILDSTDERR: dos2unix: converting file ./Interdata/id_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 ./HP2100/hp2100_diag.txt BUILDSTDERR: dos2unix: converting file ./HP2100/hp2100_diag.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 ./ALTAIR/altair.txt BUILDSTDERR: dos2unix: converting file ./ALTAIR/altair.txt to Unix format... + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.9.0-10.fc30 --unique-debug-suffix -3.9.0-10.fc30.riscv64 --unique-debug-src-base simh-3.9.0-10.fc30.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-10.fc30.riscv64/usr/bin/simh-pdp4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-id32 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i1401 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-nova extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-id32 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i1401 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-nova BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 26914 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-id32 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 26910 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp4 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 26915 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-nova BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 26913 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i1401 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i7094 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i7094 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-eclipse extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-eclipse explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-swtp6800mp-a2 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-swtp6800mp-a2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp11 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp11 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27054 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i7094 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27055 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-swtp6800mp-a2 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27052 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-eclipse BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27059 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp11 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp9 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-gri explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-h316 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-gri extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-h316 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-vax780 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-vax780 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27200 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-gri BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27207 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-h316 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-hp2100 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-hp2100 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27178 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp8 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp7 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp7 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27225 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-vax780 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-id16 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-id16 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27313 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-hp2100 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27340 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-altair extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-altair explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-swtp6800mp-a extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-swtp6800mp-a BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27350 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp7 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-lgp extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-lgp BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27406 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-id16 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27466 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-altair explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-altairz80 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-altairz80 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i1620 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i1620 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27475 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-swtp6800mp-a BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27517 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-lgp explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp10 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp10 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-vax extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-vax BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27609 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-i1620 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27595 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-altairz80 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-s3 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-s3 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27663 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp10 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp1 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp15 extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp15 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27675 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-vax explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-sds extracting debug info from /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-sds BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27747 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-s3 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27772 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp1 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27801 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-pdp15 BUILDSTDERR: /usr/bin/gdb-add-index: line 67: 27844 Segmentation fault (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir" BUILDSTDERR: gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/bin/simh-sds /usr/lib/rpm/sepdebugcrcfix: Updated 27 CRC32s, 0 CRC32s did match. BUILDSTDERR: 22087 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 Processing files: simh-3.9.0-10.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LpUYbg + umask 022 + cd /builddir/build/BUILD + cd simh-3.9.0 + DOCDIR=/builddir/build/BUILDROOT/simh-3.9.0-10.fc30.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-10.fc30.riscv64/usr/share/doc/simh + cp -pr ALTAIR/altair.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr NOVA/eclipse.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr 0readme_39.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr 0readme_ethernet.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr HP2100/hp2100_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr I7094/i7094_bug_history.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr Interdata/id_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr PDP1/pdp1_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr PDP10/pdp10_bug_history.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr PDP18B/pdp18b_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr S3/haltguide.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr S3/readme_s3.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr S3/system3.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr SDS/sds_diag.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + cp -pr VAX/vax780_bug_history.txt /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64/usr/share/doc/simh + exit 0 Provides: simh = 3.9.0-10.fc30 simh(riscv-64) = 3.9.0-10.fc30 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-10.fc30.riscv64 Provides: simh-debugsource = 3.9.0-10.fc30 simh-debugsource(riscv-64) = 3.9.0-10.fc30 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-10.fc30.riscv64 Provides: debuginfo(build-id) = 1d554c901aabcb7f60045eb3598e3b5cf8b442df debuginfo(build-id) = 1ee8c10ce727f6f2daa935beb85323643aa8150e debuginfo(build-id) = 2236a893125ff7fa06b67897dc2e1952a1f125c9 debuginfo(build-id) = 31d7135c29c0c06ebc938faa531499ab093024c6 debuginfo(build-id) = 3ce89bcd131a3787e7e39094ac37f15677bccecf debuginfo(build-id) = 45047faed9e8d7c79c7598b9bd5fa66b6bb894ff debuginfo(build-id) = 4af8f48ca3b7b2c3ad20f137dcadbde993b2d6f0 debuginfo(build-id) = 4e5516e4192fd516240eaf0516074e2f03d27424 debuginfo(build-id) = 54d2c8ccff917a732a8d7ebfe7786db791db08f1 debuginfo(build-id) = 573492134d35bc4d735dd915f96b8675b70673ea debuginfo(build-id) = 5860f9b24ea66bb066aeee5e1cb3797dc49dd418 debuginfo(build-id) = 593b3b1be8efe5e12b4f89c2603bcd54c5436c5e debuginfo(build-id) = 6a40be4cda5f2ed4bfe36a181f6671b7f789999d debuginfo(build-id) = 6b67f9153f239f6fda3d3471ff86a6f6f3b2b915 debuginfo(build-id) = 8287489224a04429507735f8b6e10f6de1d60f18 debuginfo(build-id) = a1f23e8cf748673792e2d34af6b318f355c2ae48 debuginfo(build-id) = a202882a2cd202ed87d7b2acfdf51a1351a6a30c debuginfo(build-id) = a58d9d56a4ed68207f7cb91eb6866803f3356e04 debuginfo(build-id) = a6b2b24790726767b48adf355647ff59135aaa4c debuginfo(build-id) = aca9ab0b5b56236be7ee3024e9d67f60554bf839 debuginfo(build-id) = b26a2944ba7fd758a7858011f5878b6a84bdbf23 debuginfo(build-id) = b5471fc10820fe0dfb770305dc02dafb8254c733 debuginfo(build-id) = b5d951f1854b77aecaa1802e724cad89b0333703 debuginfo(build-id) = b7f59236eb5a86ecb156e4c5536ba2f8cce697bb debuginfo(build-id) = d128cda22aeff876f37c78cd1ecca559945c0016 debuginfo(build-id) = ddd0fb2cb829f344ee564b09e8143e85287a955d debuginfo(build-id) = eeb2f29f65c02284831229626f41c59a6a38d9ea simh-debuginfo = 3.9.0-10.fc30 simh-debuginfo(riscv-64) = 3.9.0-10.fc30 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-10.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64 Wrote: /builddir/build/RPMS/simh-3.9.0-10.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/simh-debugsource-3.9.0-10.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/simh-debuginfo-3.9.0-10.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FytMDP + umask 022 + cd /builddir/build/BUILD + cd simh-3.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/simh-3.9.0-10.fc30.riscv64 + exit 0 Child return code was: 0