1 | version:1 |
---|
2 | :debug:sysinfo macOS 10.14 (darwin/18.0.0) arch i386 |
---|
3 | :debug:sysinfo MacPorts 2.5.4 |
---|
4 | :debug:sysinfo Xcode 10.0 |
---|
5 | :debug:sysinfo SDK 10.14 |
---|
6 | :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14 |
---|
7 | :debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$ |
---|
8 | :debug:main epoch: in tree: 0 installed: 0 |
---|
9 | :debug:main libpcap 1.9.0_0 exists in the ports tree |
---|
10 | :debug:main libpcap 1.9.0_0 is the latest installed |
---|
11 | :debug:main libpcap 1.9.0_0 is active |
---|
12 | :debug:main Merging existing variants '' into variants |
---|
13 | :debug:main new fully merged portvariants: |
---|
14 | :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libpcap |
---|
15 | :debug:main OS darwin/18.0.0 (Mac OS X 10.14) arch i386 |
---|
16 | :debug:main adding the default universal variant |
---|
17 | :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf |
---|
18 | :debug:main Running callback portconfigure::add_automatic_compiler_dependencies |
---|
19 | :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies |
---|
20 | :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies |
---|
21 | :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies |
---|
22 | :debug:main Running callback portstartupitem::add_notes |
---|
23 | :debug:main Finished running callback portstartupitem::add_notes |
---|
24 | :debug:main No need to upgrade! libpcap 1.9.0_0 >= libpcap 1.9.0_0 |
---|
25 | :msg:main ---> Computing dependencies for simh:info:main .:debug:main simh has no conflicts |
---|
26 | :debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$ |
---|
27 | :debug:main Searching for dependency: unzip |
---|
28 | :debug:main Didn't find receipt, going to depspec regex for: unzip |
---|
29 | :debug:main Found Dependency: path: /usr/bin filename: unzip regex: ^unzip$ |
---|
30 | :debug:main Searching for dependency: libpcap |
---|
31 | :debug:main Found Dependency: receipt exists for libpcap |
---|
32 | :debug:main Executing org.macports.main (simh) |
---|
33 | :debug:main dropping privileges: euid changed to 501, egid changed to 20. |
---|
34 | :debug:archivefetch archivefetch phase started at Sun Oct 7 11:30:25 EDT 2018 |
---|
35 | :msg:archivefetch ---> Fetching archive for simh |
---|
36 | :debug:archivefetch Executing org.macports.archivefetch (simh) |
---|
37 | :debug:archivefetch euid/egid changed to: 0/0 |
---|
38 | :debug:archivefetch chowned /opt/local/var/macports/incoming to macports |
---|
39 | :debug:archivefetch euid/egid changed to: 501/20 |
---|
40 | :info:archivefetch ---> simh-v38-1_2.darwin_18.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified |
---|
41 | :msg:archivefetch ---> Attempting to fetch simh-v38-1_2.darwin_18.x86_64.tbz2 from https://packages.macports.org/simh |
---|
42 | :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found |
---|
43 | :msg:archivefetch ---> Attempting to fetch simh-v38-1_2.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/simh |
---|
44 | :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found |
---|
45 | :msg:archivefetch ---> Attempting to fetch simh-v38-1_2.darwin_18.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/simh |
---|
46 | :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found |
---|
47 | :debug:archivefetch Privilege de-escalation not attempted as not running as root. |
---|
48 | :debug:fetch fetch phase started at Sun Oct 7 11:30:26 EDT 2018 |
---|
49 | :notice:fetch ---> Fetching distfiles for simh |
---|
50 | :debug:fetch Executing org.macports.fetch (simh) |
---|
51 | :debug:fetch Privilege de-escalation not attempted as not running as root. |
---|
52 | :debug:checksum checksum phase started at Sun Oct 7 11:30:26 EDT 2018 |
---|
53 | :notice:checksum ---> Verifying checksums for simh |
---|
54 | :debug:checksum Executing org.macports.checksum (simh) |
---|
55 | :info:checksum ---> Checksumming simhv38-1.zip |
---|
56 | :debug:checksum Calculated (md5) is e15f65a82e21ea49e14b438326d93d5c |
---|
57 | :debug:checksum Correct (md5) checksum for simhv38-1.zip |
---|
58 | :debug:checksum Calculated (sha1) is 5eac2f8e50be11600727983e05072690a7066702 |
---|
59 | :debug:checksum Correct (sha1) checksum for simhv38-1.zip |
---|
60 | :debug:checksum Calculated (rmd160) is f085c52ec92425f84f65b3f3605cb7aba8be7b32 |
---|
61 | :debug:checksum Correct (rmd160) checksum for simhv38-1.zip |
---|
62 | :debug:checksum Privilege de-escalation not attempted as not running as root. |
---|
63 | :debug:extract extract phase started at Sun Oct 7 11:30:26 EDT 2018 |
---|
64 | :notice:extract ---> Extracting simh |
---|
65 | :debug:extract Extracting to subdirectory worksrcdir |
---|
66 | :debug:extract setting option extract.cmd to /usr/bin/unzip |
---|
67 | :debug:extract setting option extract.pre_args to -q |
---|
68 | :debug:extract setting option extract.post_args to {-d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1} |
---|
69 | :debug:extract Executing org.macports.extract (simh) |
---|
70 | :info:extract ---> Extracting simhv38-1.zip |
---|
71 | :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/simh/simhv38-1.zip' |
---|
72 | :debug:extract Environment: |
---|
73 | :debug:extract CC_PRINT_OPTIONS='YES' |
---|
74 | :debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/.CC_PRINT_OPTIONS' |
---|
75 | :debug:extract CPATH='/opt/local/include' |
---|
76 | :debug:extract LIBRARY_PATH='/opt/local/lib' |
---|
77 | :debug:extract MACOSX_DEPLOYMENT_TARGET='10.14' |
---|
78 | :info:extract Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1" && /usr/bin/unzip -q '/opt/local/var/macports/distfiles/simh/simhv38-1.zip' -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1 |
---|
79 | :debug:extract system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1" && /usr/bin/unzip -q '/opt/local/var/macports/distfiles/simh/simhv38-1.zip' -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1 |
---|
80 | :debug:extract euid/egid changed to: 0/0 |
---|
81 | :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1 to macports |
---|
82 | :debug:extract euid/egid changed to: 501/20 |
---|
83 | :debug:extract Executing proc-post-org.macports.extract-extract-0 |
---|
84 | :info:extract ---> Patching makefile: s|/usr/local|/opt/local|g |
---|
85 | :debug:extract Executing reinplace: /usr/bin/sed s|/usr/local|/opt/local|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1/makefile >@file11 |
---|
86 | :debug:extract euid/egid changed to: 0/0 |
---|
87 | :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1/makefile to macports |
---|
88 | :debug:extract euid/egid changed to: 501/20 |
---|
89 | :debug:extract euid/egid changed to: 0/0 |
---|
90 | :debug:extract setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1/makefile |
---|
91 | :debug:extract euid/egid changed to: 501/20 |
---|
92 | :debug:extract Privilege de-escalation not attempted as not running as root. |
---|
93 | :debug:patch patch phase started at Sun Oct 7 11:30:26 EDT 2018 |
---|
94 | :debug:patch Executing org.macports.patch (simh) |
---|
95 | :debug:patch Privilege de-escalation not attempted as not running as root. |
---|
96 | :debug:configure configure phase started at Sun Oct 7 11:30:26 EDT 2018 |
---|
97 | :notice:configure ---> Configuring simh |
---|
98 | :debug:configure Preferred compilers: clang macports-clang-5.0 macports-clang-4.0 |
---|
99 | :debug:configure Using compiler 'Xcode Clang' |
---|
100 | :debug:configure Executing org.macports.configure (simh) |
---|
101 | :debug:configure Privilege de-escalation not attempted as not running as root. |
---|
102 | :debug:build build phase started at Sun Oct 7 11:30:26 EDT 2018 |
---|
103 | :notice:build ---> Building simh |
---|
104 | :debug:build Executing proc-pre-org.macports.build-build-0 |
---|
105 | :debug:build Executing org.macports.build (simh) |
---|
106 | :debug:build system: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1 && OSTYPE=darwin make USE_NETWORK=1 all |
---|
107 | :info:build gcc -std=c99 -U__STRICT_ANSI__ -g -D_GNU_SOURCE -I . 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 |
---|
108 | :info:build PDP1/pdp1_cpu.c:548:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
109 | :info:build if (reason = sim_process_event ()) |
---|
110 | :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ |
---|
111 | :info:build PDP1/pdp1_cpu.c:548:20: note: place parentheses around the assignment to silence this warning |
---|
112 | :info:build if (reason = sim_process_event ()) |
---|
113 | :info:build ^ |
---|
114 | :info:build ( ) |
---|
115 | :info:build PDP1/pdp1_cpu.c:548:20: note: use '==' to turn this assignment into an equality comparison |
---|
116 | :info:build if (reason = sim_process_event ()) |
---|
117 | :info:build ^ |
---|
118 | :info:build == |
---|
119 | :info:build PDP1/pdp1_cpu.c:612:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
120 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
121 | :info:build ~~~~~~~^~~~~~~~~ |
---|
122 | :info:build PDP1/pdp1_cpu.c:612:20: note: place parentheses around the assignment to silence this warning |
---|
123 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
124 | :info:build ^ |
---|
125 | :info:build ( ) |
---|
126 | :info:build PDP1/pdp1_cpu.c:612:20: note: use '==' to turn this assignment into an equality comparison |
---|
127 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
128 | :info:build ^ |
---|
129 | :info:build == |
---|
130 | :info:build PDP1/pdp1_cpu.c:614:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
131 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
132 | :info:build ~~~~~~~^~~~~~~~~ |
---|
133 | :info:build PDP1/pdp1_cpu.c:614:20: note: place parentheses around the assignment to silence this warning |
---|
134 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
135 | :info:build ^ |
---|
136 | :info:build ( ) |
---|
137 | :info:build PDP1/pdp1_cpu.c:614:20: note: use '==' to turn this assignment into an equality comparison |
---|
138 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
139 | :info:build ^ |
---|
140 | :info:build == |
---|
141 | :info:build PDP1/pdp1_cpu.c:620:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
142 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
143 | :info:build ~~~~~~~^~~~~~~~~ |
---|
144 | :info:build PDP1/pdp1_cpu.c:620:20: note: place parentheses around the assignment to silence this warning |
---|
145 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
146 | :info:build ^ |
---|
147 | :info:build ( ) |
---|
148 | :info:build PDP1/pdp1_cpu.c:620:20: note: use '==' to turn this assignment into an equality comparison |
---|
149 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
150 | :info:build ^ |
---|
151 | :info:build == |
---|
152 | :info:build PDP1/pdp1_cpu.c:622:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
153 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
154 | :info:build ~~~~~~~^~~~~~~~~ |
---|
155 | :info:build PDP1/pdp1_cpu.c:622:20: note: place parentheses around the assignment to silence this warning |
---|
156 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
157 | :info:build ^ |
---|
158 | :info:build ( ) |
---|
159 | :info:build PDP1/pdp1_cpu.c:622:20: note: use '==' to turn this assignment into an equality comparison |
---|
160 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
161 | :info:build ^ |
---|
162 | :info:build == |
---|
163 | :info:build PDP1/pdp1_cpu.c:628:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
164 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
165 | :info:build ~~~~~~~^~~~~~~~~ |
---|
166 | :info:build PDP1/pdp1_cpu.c:628:20: note: place parentheses around the assignment to silence this warning |
---|
167 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
168 | :info:build ^ |
---|
169 | :info:build ( ) |
---|
170 | :info:build PDP1/pdp1_cpu.c:628:20: note: use '==' to turn this assignment into an equality comparison |
---|
171 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
172 | :info:build ^ |
---|
173 | :info:build == |
---|
174 | :info:build PDP1/pdp1_cpu.c:630:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
175 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
176 | :info:build ~~~~~~~^~~~~~~~~ |
---|
177 | :info:build PDP1/pdp1_cpu.c:630:20: note: place parentheses around the assignment to silence this warning |
---|
178 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
179 | :info:build ^ |
---|
180 | :info:build ( ) |
---|
181 | :info:build PDP1/pdp1_cpu.c:630:20: note: use '==' to turn this assignment into an equality comparison |
---|
182 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
183 | :info:build ^ |
---|
184 | :info:build == |
---|
185 | :info:build PDP1/pdp1_cpu.c:640:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
186 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
187 | :info:build ~~~~~~~^~~~~~~~~ |
---|
188 | :info:build PDP1/pdp1_cpu.c:640:20: note: place parentheses around the assignment to silence this warning |
---|
189 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
190 | :info:build ^ |
---|
191 | :info:build ( ) |
---|
192 | :info:build PDP1/pdp1_cpu.c:640:20: note: use '==' to turn this assignment into an equality comparison |
---|
193 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
194 | :info:build ^ |
---|
195 | :info:build == |
---|
196 | :info:build PDP1/pdp1_cpu.c:642:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
197 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
198 | :info:build ~~~~~~~^~~~~~~~~ |
---|
199 | :info:build PDP1/pdp1_cpu.c:642:20: note: place parentheses around the assignment to silence this warning |
---|
200 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
201 | :info:build ^ |
---|
202 | :info:build ( ) |
---|
203 | :info:build PDP1/pdp1_cpu.c:642:20: note: use '==' to turn this assignment into an equality comparison |
---|
204 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
205 | :info:build ^ |
---|
206 | :info:build == |
---|
207 | :info:build PDP1/pdp1_cpu.c:650:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
208 | :info:build if (reason = Ea_ch (IR, &byno)) /* MA <- eff addr */ |
---|
209 | :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~ |
---|
210 | :info:build PDP1/pdp1_cpu.c:650:24: note: place parentheses around the assignment to silence this warning |
---|
211 | :info:build if (reason = Ea_ch (IR, &byno)) /* MA <- eff addr */ |
---|
212 | :info:build ^ |
---|
213 | :info:build ( ) |
---|
214 | :info:build PDP1/pdp1_cpu.c:650:24: note: use '==' to turn this assignment into an equality comparison |
---|
215 | :info:build if (reason = Ea_ch (IR, &byno)) /* MA <- eff addr */ |
---|
216 | :info:build ^ |
---|
217 | :info:build == |
---|
218 | :info:build PDP1/pdp1_cpu.c:652:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
219 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
220 | :info:build ~~~~~~~^~~~~~~~~ |
---|
221 | :info:build PDP1/pdp1_cpu.c:652:24: note: place parentheses around the assignment to silence this warning |
---|
222 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
223 | :info:build ^ |
---|
224 | :info:build ( ) |
---|
225 | :info:build PDP1/pdp1_cpu.c:652:24: note: use '==' to turn this assignment into an equality comparison |
---|
226 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
227 | :info:build ^ |
---|
228 | :info:build == |
---|
229 | :info:build PDP1/pdp1_cpu.c:661:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
230 | :info:build if (reason = Ea_ch (IR, &byno)) /* MA <- eff addr */ |
---|
231 | :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~ |
---|
232 | :info:build PDP1/pdp1_cpu.c:661:24: note: place parentheses around the assignment to silence this warning |
---|
233 | :info:build if (reason = Ea_ch (IR, &byno)) /* MA <- eff addr */ |
---|
234 | :info:build ^ |
---|
235 | :info:build ( ) |
---|
236 | :info:build PDP1/pdp1_cpu.c:661:24: note: use '==' to turn this assignment into an equality comparison |
---|
237 | :info:build if (reason = Ea_ch (IR, &byno)) /* MA <- eff addr */ |
---|
238 | :info:build ^ |
---|
239 | :info:build == |
---|
240 | :info:build PDP1/pdp1_cpu.c:663:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
241 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
242 | :info:build ~~~~~~~^~~~~~~~~ |
---|
243 | :info:build PDP1/pdp1_cpu.c:663:24: note: place parentheses around the assignment to silence this warning |
---|
244 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
245 | :info:build ^ |
---|
246 | :info:build ( ) |
---|
247 | :info:build PDP1/pdp1_cpu.c:663:24: note: use '==' to turn this assignment into an equality comparison |
---|
248 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
249 | :info:build ^ |
---|
250 | :info:build == |
---|
251 | :info:build PDP1/pdp1_cpu.c:685:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
252 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
253 | :info:build ~~~~~~~^~~~~~~~~ |
---|
254 | :info:build PDP1/pdp1_cpu.c:685:20: note: place parentheses around the assignment to silence this warning |
---|
255 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
256 | :info:build ^ |
---|
257 | :info:build ( ) |
---|
258 | :info:build PDP1/pdp1_cpu.c:685:20: note: use '==' to turn this assignment into an equality comparison |
---|
259 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
260 | :info:build ^ |
---|
261 | :info:build == |
---|
262 | :info:build PDP1/pdp1_cpu.c:687:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
263 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
264 | :info:build ~~~~~~~^~~~~~~~~ |
---|
265 | :info:build PDP1/pdp1_cpu.c:687:20: note: place parentheses around the assignment to silence this warning |
---|
266 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
267 | :info:build ^ |
---|
268 | :info:build ( ) |
---|
269 | :info:build PDP1/pdp1_cpu.c:687:20: note: use '==' to turn this assignment into an equality comparison |
---|
270 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
271 | :info:build ^ |
---|
272 | :info:build == |
---|
273 | :info:build PDP1/pdp1_cpu.c:693:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
274 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
275 | :info:build ~~~~~~~^~~~~~~~~ |
---|
276 | :info:build PDP1/pdp1_cpu.c:693:20: note: place parentheses around the assignment to silence this warning |
---|
277 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
278 | :info:build ^ |
---|
279 | :info:build ( ) |
---|
280 | :info:build PDP1/pdp1_cpu.c:693:20: note: use '==' to turn this assignment into an equality comparison |
---|
281 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
282 | :info:build ^ |
---|
283 | :info:build == |
---|
284 | :info:build PDP1/pdp1_cpu.c:695:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
285 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
286 | :info:build ~~~~~~~^~~~~~~~~ |
---|
287 | :info:build PDP1/pdp1_cpu.c:695:20: note: place parentheses around the assignment to silence this warning |
---|
288 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
289 | :info:build ^ |
---|
290 | :info:build ( ) |
---|
291 | :info:build PDP1/pdp1_cpu.c:695:20: note: use '==' to turn this assignment into an equality comparison |
---|
292 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
293 | :info:build ^ |
---|
294 | :info:build == |
---|
295 | :info:build PDP1/pdp1_cpu.c:701:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
296 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
297 | :info:build ~~~~~~~^~~~~~~~~ |
---|
298 | :info:build PDP1/pdp1_cpu.c:701:20: note: place parentheses around the assignment to silence this warning |
---|
299 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
300 | :info:build ^ |
---|
301 | :info:build ( ) |
---|
302 | :info:build PDP1/pdp1_cpu.c:701:20: note: use '==' to turn this assignment into an equality comparison |
---|
303 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
304 | :info:build ^ |
---|
305 | :info:build == |
---|
306 | :info:build PDP1/pdp1_cpu.c:708:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
307 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
308 | :info:build ~~~~~~~^~~~~~~~~ |
---|
309 | :info:build PDP1/pdp1_cpu.c:708:20: note: place parentheses around the assignment to silence this warning |
---|
310 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
311 | :info:build ^ |
---|
312 | :info:build ( ) |
---|
313 | :info:build PDP1/pdp1_cpu.c:708:20: note: use '==' to turn this assignment into an equality comparison |
---|
314 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
315 | :info:build ^ |
---|
316 | :info:build == |
---|
317 | :info:build PDP1/pdp1_cpu.c:710:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
318 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
319 | :info:build ~~~~~~~^~~~~~~~~ |
---|
320 | :info:build PDP1/pdp1_cpu.c:710:20: note: place parentheses around the assignment to silence this warning |
---|
321 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
322 | :info:build ^ |
---|
323 | :info:build ( ) |
---|
324 | :info:build PDP1/pdp1_cpu.c:710:20: note: use '==' to turn this assignment into an equality comparison |
---|
325 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
326 | :info:build ^ |
---|
327 | :info:build == |
---|
328 | :info:build PDP1/pdp1_cpu.c:717:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
329 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
330 | :info:build ~~~~~~~^~~~~~~~~ |
---|
331 | :info:build PDP1/pdp1_cpu.c:717:20: note: place parentheses around the assignment to silence this warning |
---|
332 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
333 | :info:build ^ |
---|
334 | :info:build ( ) |
---|
335 | :info:build PDP1/pdp1_cpu.c:717:20: note: use '==' to turn this assignment into an equality comparison |
---|
336 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
337 | :info:build ^ |
---|
338 | :info:build == |
---|
339 | :info:build PDP1/pdp1_cpu.c:719:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
340 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
341 | :info:build ~~~~~~~^~~~~~~~~ |
---|
342 | :info:build PDP1/pdp1_cpu.c:719:20: note: place parentheses around the assignment to silence this warning |
---|
343 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
344 | :info:build ^ |
---|
345 | :info:build ( ) |
---|
346 | :info:build PDP1/pdp1_cpu.c:719:20: note: use '==' to turn this assignment into an equality comparison |
---|
347 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
348 | :info:build ^ |
---|
349 | :info:build == |
---|
350 | :info:build PDP1/pdp1_cpu.c:726:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
351 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
352 | :info:build ~~~~~~~^~~~~~~~~ |
---|
353 | :info:build PDP1/pdp1_cpu.c:726:20: note: place parentheses around the assignment to silence this warning |
---|
354 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
355 | :info:build ^ |
---|
356 | :info:build ( ) |
---|
357 | :info:build PDP1/pdp1_cpu.c:726:20: note: use '==' to turn this assignment into an equality comparison |
---|
358 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
359 | :info:build ^ |
---|
360 | :info:build == |
---|
361 | :info:build PDP1/pdp1_cpu.c:733:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
362 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
363 | :info:build ~~~~~~~^~~~~~~~~ |
---|
364 | :info:build PDP1/pdp1_cpu.c:733:20: note: place parentheses around the assignment to silence this warning |
---|
365 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
366 | :info:build ^ |
---|
367 | :info:build ( ) |
---|
368 | :info:build PDP1/pdp1_cpu.c:733:20: note: use '==' to turn this assignment into an equality comparison |
---|
369 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
370 | :info:build ^ |
---|
371 | :info:build == |
---|
372 | :info:build PDP1/pdp1_cpu.c:757:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
373 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
374 | :info:build ~~~~~~~^~~~~~~~~ |
---|
375 | :info:build PDP1/pdp1_cpu.c:757:24: note: place parentheses around the assignment to silence this warning |
---|
376 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
377 | :info:build ^ |
---|
378 | :info:build ( ) |
---|
379 | :info:build PDP1/pdp1_cpu.c:757:24: note: use '==' to turn this assignment into an equality comparison |
---|
380 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
381 | :info:build ^ |
---|
382 | :info:build == |
---|
383 | :info:build PDP1/pdp1_cpu.c:759:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
384 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
385 | :info:build ~~~~~~~^~~~~~~~~ |
---|
386 | :info:build PDP1/pdp1_cpu.c:759:24: note: place parentheses around the assignment to silence this warning |
---|
387 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
388 | :info:build ^ |
---|
389 | :info:build ( ) |
---|
390 | :info:build PDP1/pdp1_cpu.c:759:24: note: use '==' to turn this assignment into an equality comparison |
---|
391 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
392 | :info:build ^ |
---|
393 | :info:build == |
---|
394 | :info:build PDP1/pdp1_cpu.c:771:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
395 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
396 | :info:build ~~~~~~~^~~~~~~~~ |
---|
397 | :info:build PDP1/pdp1_cpu.c:771:20: note: place parentheses around the assignment to silence this warning |
---|
398 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
399 | :info:build ^ |
---|
400 | :info:build ( ) |
---|
401 | :info:build PDP1/pdp1_cpu.c:771:20: note: use '==' to turn this assignment into an equality comparison |
---|
402 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
403 | :info:build ^ |
---|
404 | :info:build == |
---|
405 | :info:build PDP1/pdp1_cpu.c:773:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
406 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
407 | :info:build ~~~~~~~^~~~~~~~~ |
---|
408 | :info:build PDP1/pdp1_cpu.c:773:20: note: place parentheses around the assignment to silence this warning |
---|
409 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
410 | :info:build ^ |
---|
411 | :info:build ( ) |
---|
412 | :info:build PDP1/pdp1_cpu.c:773:20: note: use '==' to turn this assignment into an equality comparison |
---|
413 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
414 | :info:build ^ |
---|
415 | :info:build == |
---|
416 | :info:build PDP1/pdp1_cpu.c:786:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
417 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
418 | :info:build ~~~~~~~^~~~~~~~~ |
---|
419 | :info:build PDP1/pdp1_cpu.c:786:20: note: place parentheses around the assignment to silence this warning |
---|
420 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
421 | :info:build ^ |
---|
422 | :info:build ( ) |
---|
423 | :info:build PDP1/pdp1_cpu.c:786:20: note: use '==' to turn this assignment into an equality comparison |
---|
424 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
425 | :info:build ^ |
---|
426 | :info:build == |
---|
427 | :info:build PDP1/pdp1_cpu.c:788:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
428 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
429 | :info:build ~~~~~~~^~~~~~~~~ |
---|
430 | :info:build PDP1/pdp1_cpu.c:788:20: note: place parentheses around the assignment to silence this warning |
---|
431 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
432 | :info:build ^ |
---|
433 | :info:build ( ) |
---|
434 | :info:build PDP1/pdp1_cpu.c:788:20: note: use '==' to turn this assignment into an equality comparison |
---|
435 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
436 | :info:build ^ |
---|
437 | :info:build == |
---|
438 | :info:build PDP1/pdp1_cpu.c:800:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
439 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
440 | :info:build ~~~~~~~^~~~~~~~~ |
---|
441 | :info:build PDP1/pdp1_cpu.c:800:20: note: place parentheses around the assignment to silence this warning |
---|
442 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
443 | :info:build ^ |
---|
444 | :info:build ( ) |
---|
445 | :info:build PDP1/pdp1_cpu.c:800:20: note: use '==' to turn this assignment into an equality comparison |
---|
446 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
447 | :info:build ^ |
---|
448 | :info:build == |
---|
449 | :info:build PDP1/pdp1_cpu.c:802:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
450 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
451 | :info:build ~~~~~~~^~~~~~~~~ |
---|
452 | :info:build PDP1/pdp1_cpu.c:802:20: note: place parentheses around the assignment to silence this warning |
---|
453 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
454 | :info:build ^ |
---|
455 | :info:build ( ) |
---|
456 | :info:build PDP1/pdp1_cpu.c:802:20: note: use '==' to turn this assignment into an equality comparison |
---|
457 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
458 | :info:build ^ |
---|
459 | :info:build == |
---|
460 | :info:build PDP1/pdp1_cpu.c:812:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
461 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
462 | :info:build ~~~~~~~^~~~~~~~~ |
---|
463 | :info:build PDP1/pdp1_cpu.c:812:20: note: place parentheses around the assignment to silence this warning |
---|
464 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
465 | :info:build ^ |
---|
466 | :info:build ( ) |
---|
467 | :info:build PDP1/pdp1_cpu.c:812:20: note: use '==' to turn this assignment into an equality comparison |
---|
468 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
469 | :info:build ^ |
---|
470 | :info:build == |
---|
471 | :info:build PDP1/pdp1_cpu.c:814:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
472 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
473 | :info:build ~~~~~~~^~~~~~~~~ |
---|
474 | :info:build PDP1/pdp1_cpu.c:814:20: note: place parentheses around the assignment to silence this warning |
---|
475 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
476 | :info:build ^ |
---|
477 | :info:build ( ) |
---|
478 | :info:build PDP1/pdp1_cpu.c:814:20: note: use '==' to turn this assignment into an equality comparison |
---|
479 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
480 | :info:build ^ |
---|
481 | :info:build == |
---|
482 | :info:build PDP1/pdp1_cpu.c:826:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
483 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
484 | :info:build ~~~~~~~^~~~~~~~~ |
---|
485 | :info:build PDP1/pdp1_cpu.c:826:20: note: place parentheses around the assignment to silence this warning |
---|
486 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
487 | :info:build ^ |
---|
488 | :info:build ( ) |
---|
489 | :info:build PDP1/pdp1_cpu.c:826:20: note: use '==' to turn this assignment into an equality comparison |
---|
490 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
491 | :info:build ^ |
---|
492 | :info:build == |
---|
493 | :info:build PDP1/pdp1_cpu.c:828:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
494 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
495 | :info:build ~~~~~~~^~~~~~~~~ |
---|
496 | :info:build PDP1/pdp1_cpu.c:828:20: note: place parentheses around the assignment to silence this warning |
---|
497 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
498 | :info:build ^ |
---|
499 | :info:build ( ) |
---|
500 | :info:build PDP1/pdp1_cpu.c:828:20: note: use '==' to turn this assignment into an equality comparison |
---|
501 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
502 | :info:build ^ |
---|
503 | :info:build == |
---|
504 | :info:build PDP1/pdp1_cpu.c:835:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
505 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
506 | :info:build ~~~~~~~^~~~~~~~~ |
---|
507 | :info:build PDP1/pdp1_cpu.c:835:20: note: place parentheses around the assignment to silence this warning |
---|
508 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
509 | :info:build ^ |
---|
510 | :info:build ( ) |
---|
511 | :info:build PDP1/pdp1_cpu.c:835:20: note: use '==' to turn this assignment into an equality comparison |
---|
512 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
513 | :info:build ^ |
---|
514 | :info:build == |
---|
515 | :info:build PDP1/pdp1_cpu.c:837:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
516 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
517 | :info:build ~~~~~~~^~~~~~~~~ |
---|
518 | :info:build PDP1/pdp1_cpu.c:837:20: note: place parentheses around the assignment to silence this warning |
---|
519 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
520 | :info:build ^ |
---|
521 | :info:build ( ) |
---|
522 | :info:build PDP1/pdp1_cpu.c:837:20: note: use '==' to turn this assignment into an equality comparison |
---|
523 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
524 | :info:build ^ |
---|
525 | :info:build == |
---|
526 | :info:build PDP1/pdp1_cpu.c:865:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
527 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
528 | :info:build ~~~~~~~^~~~~~~~~ |
---|
529 | :info:build PDP1/pdp1_cpu.c:865:24: note: place parentheses around the assignment to silence this warning |
---|
530 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
531 | :info:build ^ |
---|
532 | :info:build ( ) |
---|
533 | :info:build PDP1/pdp1_cpu.c:865:24: note: use '==' to turn this assignment into an equality comparison |
---|
534 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
535 | :info:build ^ |
---|
536 | :info:build == |
---|
537 | :info:build PDP1/pdp1_cpu.c:873:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
538 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
539 | :info:build ~~~~~~~^~~~~~~~~ |
---|
540 | :info:build PDP1/pdp1_cpu.c:873:20: note: place parentheses around the assignment to silence this warning |
---|
541 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
542 | :info:build ^ |
---|
543 | :info:build ( ) |
---|
544 | :info:build PDP1/pdp1_cpu.c:873:20: note: use '==' to turn this assignment into an equality comparison |
---|
545 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
546 | :info:build ^ |
---|
547 | :info:build == |
---|
548 | :info:build PDP1/pdp1_cpu.c:891:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
549 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
550 | :info:build ~~~~~~~^~~~~~~~~ |
---|
551 | :info:build PDP1/pdp1_cpu.c:891:20: note: place parentheses around the assignment to silence this warning |
---|
552 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
553 | :info:build ^ |
---|
554 | :info:build ( ) |
---|
555 | :info:build PDP1/pdp1_cpu.c:891:20: note: use '==' to turn this assignment into an equality comparison |
---|
556 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
557 | :info:build ^ |
---|
558 | :info:build == |
---|
559 | :info:build PDP1/pdp1_cpu.c:893:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
560 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
561 | :info:build ~~~~~~~^~~~~~~~~ |
---|
562 | :info:build PDP1/pdp1_cpu.c:893:20: note: place parentheses around the assignment to silence this warning |
---|
563 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
564 | :info:build ^ |
---|
565 | :info:build ( ) |
---|
566 | :info:build PDP1/pdp1_cpu.c:893:20: note: use '==' to turn this assignment into an equality comparison |
---|
567 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
568 | :info:build ^ |
---|
569 | :info:build == |
---|
570 | :info:build PDP1/pdp1_cpu.c:921:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
571 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
572 | :info:build ~~~~~~~^~~~~~~~~ |
---|
573 | :info:build PDP1/pdp1_cpu.c:921:20: note: place parentheses around the assignment to silence this warning |
---|
574 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
575 | :info:build ^ |
---|
576 | :info:build ( ) |
---|
577 | :info:build PDP1/pdp1_cpu.c:921:20: note: use '==' to turn this assignment into an equality comparison |
---|
578 | :info:build if (reason = Ea (IR)) /* MA <- eff addr */ |
---|
579 | :info:build ^ |
---|
580 | :info:build == |
---|
581 | :info:build PDP1/pdp1_cpu.c:923:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
582 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
583 | :info:build ~~~~~~~^~~~~~~~~ |
---|
584 | :info:build PDP1/pdp1_cpu.c:923:20: note: place parentheses around the assignment to silence this warning |
---|
585 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
586 | :info:build ^ |
---|
587 | :info:build ( ) |
---|
588 | :info:build PDP1/pdp1_cpu.c:923:20: note: use '==' to turn this assignment into an equality comparison |
---|
589 | :info:build if (reason = Read ()) /* MB <- data */ |
---|
590 | :info:build ^ |
---|
591 | :info:build == |
---|
592 | :info:build PDP1/pdp1_cpu.c:1364:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
593 | :info:build if (r = Read ()) /* read; err? */ |
---|
594 | :info:build ~~^~~~~~~~~ |
---|
595 | :info:build PDP1/pdp1_cpu.c:1364:15: note: place parentheses around the assignment to silence this warning |
---|
596 | :info:build if (r = Read ()) /* read; err? */ |
---|
597 | :info:build ^ |
---|
598 | :info:build ( ) |
---|
599 | :info:build PDP1/pdp1_cpu.c:1364:15: note: use '==' to turn this assignment into an equality comparison |
---|
600 | :info:build if (r = Read ()) /* read; err? */ |
---|
601 | :info:build ^ |
---|
602 | :info:build == |
---|
603 | :info:build PDP1/pdp1_cpu.c:1370:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
604 | :info:build if (r = Read ()) /* get ind word */ |
---|
605 | :info:build ~~^~~~~~~~~ |
---|
606 | :info:build PDP1/pdp1_cpu.c:1370:19: note: place parentheses around the assignment to silence this warning |
---|
607 | :info:build if (r = Read ()) /* get ind word */ |
---|
608 | :info:build ^ |
---|
609 | :info:build ( ) |
---|
610 | :info:build PDP1/pdp1_cpu.c:1370:19: note: use '==' to turn this assignment into an equality comparison |
---|
611 | :info:build if (r = Read ()) /* get ind word */ |
---|
612 | :info:build ^ |
---|
613 | :info:build == |
---|
614 | :info:build PDP1/pdp1_cpu.c:1394:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
615 | :info:build if (r = Read ()) /* read; err? */ |
---|
616 | :info:build ~~^~~~~~~~~ |
---|
617 | :info:build PDP1/pdp1_cpu.c:1394:11: note: place parentheses around the assignment to silence this warning |
---|
618 | :info:build if (r = Read ()) /* read; err? */ |
---|
619 | :info:build ^ |
---|
620 | :info:build ( ) |
---|
621 | :info:build PDP1/pdp1_cpu.c:1394:11: note: use '==' to turn this assignment into an equality comparison |
---|
622 | :info:build if (r = Read ()) /* read; err? */ |
---|
623 | :info:build ^ |
---|
624 | :info:build == |
---|
625 | :info:build PDP1/pdp1_cpu.c:1399:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
626 | :info:build if (r = Read ()) /* get ind word */ |
---|
627 | :info:build ~~^~~~~~~~~ |
---|
628 | :info:build PDP1/pdp1_cpu.c:1399:15: note: place parentheses around the assignment to silence this warning |
---|
629 | :info:build if (r = Read ()) /* get ind word */ |
---|
630 | :info:build ^ |
---|
631 | :info:build ( ) |
---|
632 | :info:build PDP1/pdp1_cpu.c:1399:15: note: use '==' to turn this assignment into an equality comparison |
---|
633 | :info:build if (r = Read ()) /* get ind word */ |
---|
634 | :info:build ^ |
---|
635 | :info:build == |
---|
636 | :info:build 48 warnings generated. |
---|
637 | :info:build PDP1/pdp1_dcs.c:254:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
638 | :info:build if (c = tmxr_getc_ln (&dcs_ldsc[ln])) { /* get char */ |
---|
639 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
640 | :info:build PDP1/pdp1_dcs.c:254:15: note: place parentheses around the assignment to silence this warning |
---|
641 | :info:build if (c = tmxr_getc_ln (&dcs_ldsc[ln])) { /* get char */ |
---|
642 | :info:build ^ |
---|
643 | :info:build ( ) |
---|
644 | :info:build PDP1/pdp1_dcs.c:254:15: note: use '==' to turn this assignment into an equality comparison |
---|
645 | :info:build if (c = tmxr_getc_ln (&dcs_ldsc[ln])) { /* get char */ |
---|
646 | :info:build ^ |
---|
647 | :info:build == |
---|
648 | :info:build 1 warning generated. |
---|
649 | :info:build In file included from scp.c:182: |
---|
650 | :info:build ./sim_rev.h:389:1: warning: '/*' within block comment [-Wcomment] |
---|
651 | :info:build /* V3.7 revision history |
---|
652 | :info:build ^ |
---|
653 | :info:build ./sim_rev.h:661:1: warning: '/*' within block comment [-Wcomment] |
---|
654 | :info:build /* V3.6 revision history |
---|
655 | :info:build ^ |
---|
656 | :info:build ./sim_rev.h:835:1: warning: '/*' within block comment [-Wcomment] |
---|
657 | :info:build /* V3.5 revision history |
---|
658 | :info:build ^ |
---|
659 | :info:build ./sim_rev.h:971:1: warning: '/*' within block comment [-Wcomment] |
---|
660 | :info:build /* V3.4 revision history |
---|
661 | :info:build ^ |
---|
662 | :info:build ./sim_rev.h:1009:1: warning: '/*' within block comment [-Wcomment] |
---|
663 | :info:build /* V3.3 revision history |
---|
664 | :info:build ^ |
---|
665 | :info:build ./sim_rev.h:1261:1: warning: '/*' within block comment [-Wcomment] |
---|
666 | :info:build /* V3.2 revision history |
---|
667 | :info:build ^ |
---|
668 | :info:build ./sim_rev.h:1460:1: warning: '/*' within block comment [-Wcomment] |
---|
669 | :info:build /* V3.1 revision history |
---|
670 | :info:build ^ |
---|
671 | :info:build ./sim_rev.h:1573:1: warning: '/*' within block comment [-Wcomment] |
---|
672 | :info:build /* V3.0 revision history |
---|
673 | :info:build ^ |
---|
674 | :info:build ./sim_rev.h:1739:1: warning: '/*' within block comment [-Wcomment] |
---|
675 | :info:build /* V2.10 revision history |
---|
676 | :info:build ^ |
---|
677 | :info:build ./sim_rev.h:2037:1: warning: '/*' within block comment [-Wcomment] |
---|
678 | :info:build /* V2.9 revision history |
---|
679 | :info:build ^ |
---|
680 | :info:build scp.c:665:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
681 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
682 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
683 | :info:build scp.c:665:12: note: place parentheses around the assignment to silence this warning |
---|
684 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
685 | :info:build ^ |
---|
686 | :info:build ( ) |
---|
687 | :info:build scp.c:665:12: note: use '==' to turn this assignment into an equality comparison |
---|
688 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
689 | :info:build ^ |
---|
690 | :info:build == |
---|
691 | :info:build scp.c:673:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
692 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
693 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
694 | :info:build scp.c:673:14: note: place parentheses around the assignment to silence this warning |
---|
695 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
696 | :info:build ^ |
---|
697 | :info:build ( ) |
---|
698 | :info:build scp.c:673:14: note: use '==' to turn this assignment into an equality comparison |
---|
699 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
700 | :info:build ^ |
---|
701 | :info:build == |
---|
702 | :info:build scp.c:686:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
703 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
704 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
705 | :info:build scp.c:686:14: note: place parentheses around the assignment to silence this warning |
---|
706 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
707 | :info:build ^ |
---|
708 | :info:build ( ) |
---|
709 | :info:build scp.c:686:14: note: use '==' to turn this assignment into an equality comparison |
---|
710 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
711 | :info:build ^ |
---|
712 | :info:build == |
---|
713 | :info:build scp.c:753:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
714 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
715 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
716 | :info:build scp.c:753:14: note: place parentheses around the assignment to silence this warning |
---|
717 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
718 | :info:build ^ |
---|
719 | :info:build ( ) |
---|
720 | :info:build scp.c:753:14: note: use '==' to turn this assignment into an equality comparison |
---|
721 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
722 | :info:build ^ |
---|
723 | :info:build == |
---|
724 | :info:build scp.c:897:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
725 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
726 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
727 | :info:build scp.c:897:14: note: place parentheses around the assignment to silence this warning |
---|
728 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
729 | :info:build ^ |
---|
730 | :info:build ( ) |
---|
731 | :info:build scp.c:897:14: note: use '==' to turn this assignment into an equality comparison |
---|
732 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
733 | :info:build ^ |
---|
734 | :info:build == |
---|
735 | :info:build scp.c:1077:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
736 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
737 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
738 | :info:build scp.c:1077:10: note: place parentheses around the assignment to silence this warning |
---|
739 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
740 | :info:build ^ |
---|
741 | :info:build ( ) |
---|
742 | :info:build scp.c:1077:10: note: use '==' to turn this assignment into an equality comparison |
---|
743 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
744 | :info:build ^ |
---|
745 | :info:build == |
---|
746 | :info:build scp.c:1082:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
747 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
748 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
749 | :info:build scp.c:1082:15: note: place parentheses around the assignment to silence this warning |
---|
750 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
751 | :info:build ^ |
---|
752 | :info:build ( ) |
---|
753 | :info:build scp.c:1082:15: note: use '==' to turn this assignment into an equality comparison |
---|
754 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
755 | :info:build ^ |
---|
756 | :info:build == |
---|
757 | :info:build scp.c:1088:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
758 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
759 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
760 | :info:build scp.c:1088:16: note: place parentheses around the assignment to silence this warning |
---|
761 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
762 | :info:build ^ |
---|
763 | :info:build ( ) |
---|
764 | :info:build scp.c:1088:16: note: use '==' to turn this assignment into an equality comparison |
---|
765 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
766 | :info:build ^ |
---|
767 | :info:build == |
---|
768 | :info:build scp.c:1096:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
769 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
770 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
771 | :info:build scp.c:1096:15: note: place parentheses around the assignment to silence this warning |
---|
772 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
773 | :info:build ^ |
---|
774 | :info:build ( ) |
---|
775 | :info:build scp.c:1096:15: note: use '==' to turn this assignment into an equality comparison |
---|
776 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
777 | :info:build ^ |
---|
778 | :info:build == |
---|
779 | :info:build scp.c:1109:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
780 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
781 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
782 | :info:build scp.c:1109:35: note: place parentheses around the assignment to silence this warning |
---|
783 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
784 | :info:build ^ |
---|
785 | :info:build ( ) |
---|
786 | :info:build scp.c:1109:35: note: use '==' to turn this assignment into an equality comparison |
---|
787 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
788 | :info:build ^ |
---|
789 | :info:build == |
---|
790 | :info:build scp.c:1142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
791 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
792 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
793 | :info:build scp.c:1142:18: note: place parentheses around the assignment to silence this warning |
---|
794 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
795 | :info:build ^ |
---|
796 | :info:build ( ) |
---|
797 | :info:build scp.c:1142:18: note: use '==' to turn this assignment into an equality comparison |
---|
798 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
799 | :info:build ^ |
---|
800 | :info:build == |
---|
801 | :info:build scp.c:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
802 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
803 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
804 | :info:build scp.c:1333:11: note: place parentheses around the assignment to silence this warning |
---|
805 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
806 | :info:build ^ |
---|
807 | :info:build ( ) |
---|
808 | :info:build scp.c:1333:11: note: use '==' to turn this assignment into an equality comparison |
---|
809 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
810 | :info:build ^ |
---|
811 | :info:build == |
---|
812 | :info:build scp.c:1336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
813 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
814 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
815 | :info:build scp.c:1336:10: note: place parentheses around the assignment to silence this warning |
---|
816 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
817 | :info:build ^ |
---|
818 | :info:build ( ) |
---|
819 | :info:build scp.c:1336:10: note: use '==' to turn this assignment into an equality comparison |
---|
820 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
821 | :info:build ^ |
---|
822 | :info:build == |
---|
823 | :info:build scp.c:1341:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
824 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
825 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
826 | :info:build scp.c:1341:15: note: place parentheses around the assignment to silence this warning |
---|
827 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
828 | :info:build ^ |
---|
829 | :info:build ( ) |
---|
830 | :info:build scp.c:1341:15: note: use '==' to turn this assignment into an equality comparison |
---|
831 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
832 | :info:build ^ |
---|
833 | :info:build == |
---|
834 | :info:build scp.c:1361:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
835 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
836 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
837 | :info:build scp.c:1361:15: note: place parentheses around the assignment to silence this warning |
---|
838 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
839 | :info:build ^ |
---|
840 | :info:build ( ) |
---|
841 | :info:build scp.c:1361:15: note: use '==' to turn this assignment into an equality comparison |
---|
842 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
843 | :info:build ^ |
---|
844 | :info:build == |
---|
845 | :info:build scp.c:1380:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
846 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
847 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
848 | :info:build scp.c:1380:19: note: place parentheses around the assignment to silence this warning |
---|
849 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
850 | :info:build ^ |
---|
851 | :info:build ( ) |
---|
852 | :info:build scp.c:1380:19: note: use '==' to turn this assignment into an equality comparison |
---|
853 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
854 | :info:build ^ |
---|
855 | :info:build == |
---|
856 | :info:build scp.c:1731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
857 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
858 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
859 | :info:build scp.c:1731:10: note: place parentheses around the assignment to silence this warning |
---|
860 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
861 | :info:build ^ |
---|
862 | :info:build ( ) |
---|
863 | :info:build scp.c:1731:10: note: use '==' to turn this assignment into an equality comparison |
---|
864 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
865 | :info:build ^ |
---|
866 | :info:build == |
---|
867 | :info:build scp.c:3567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
868 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
869 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
870 | :info:build scp.c:3567:11: note: place parentheses around the assignment to silence this warning |
---|
871 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
872 | :info:build ^ |
---|
873 | :info:build ( ) |
---|
874 | :info:build scp.c:3567:11: note: use '==' to turn this assignment into an equality comparison |
---|
875 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
876 | :info:build ^ |
---|
877 | :info:build == |
---|
878 | :info:build scp.c:3650:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
879 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
880 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
881 | :info:build scp.c:3650:10: note: place parentheses around the assignment to silence this warning |
---|
882 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
883 | :info:build ^ |
---|
884 | :info:build ( ) |
---|
885 | :info:build scp.c:3650:10: note: use '==' to turn this assignment into an equality comparison |
---|
886 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
887 | :info:build ^ |
---|
888 | :info:build == |
---|
889 | :info:build scp.c:3730:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
890 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
891 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
892 | :info:build scp.c:3730:14: note: place parentheses around the assignment to silence this warning |
---|
893 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
894 | :info:build ^ |
---|
895 | :info:build ( ) |
---|
896 | :info:build scp.c:3730:14: note: use '==' to turn this assignment into an equality comparison |
---|
897 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
898 | :info:build ^ |
---|
899 | :info:build == |
---|
900 | :info:build scp.c:3948:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
901 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
902 | :info:build ~~^~~~~~~~~ |
---|
903 | :info:build scp.c:3948:28: note: place parentheses around the assignment to silence this warning |
---|
904 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
905 | :info:build ^ |
---|
906 | :info:build ( ) |
---|
907 | :info:build scp.c:3948:28: note: use '==' to turn this assignment into an equality comparison |
---|
908 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
909 | :info:build ^ |
---|
910 | :info:build == |
---|
911 | :info:build scp.c:3949:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
912 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
913 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
914 | :info:build scp.c:3949:14: note: place parentheses around the assignment to silence this warning |
---|
915 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
916 | :info:build ^ |
---|
917 | :info:build ( ) |
---|
918 | :info:build scp.c:3949:14: note: use '==' to turn this assignment into an equality comparison |
---|
919 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
920 | :info:build ^ |
---|
921 | :info:build == |
---|
922 | :info:build scp.c:3956:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
923 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
924 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
925 | :info:build scp.c:3956:19: note: place parentheses around the assignment to silence this warning |
---|
926 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
927 | :info:build ^ |
---|
928 | :info:build ( ) |
---|
929 | :info:build scp.c:3956:19: note: use '==' to turn this assignment into an equality comparison |
---|
930 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
931 | :info:build ^ |
---|
932 | :info:build == |
---|
933 | :info:build scp.c:4621:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
934 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
935 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
936 | :info:build scp.c:4621:8: note: place parentheses around the assignment to silence this warning |
---|
937 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
938 | :info:build ^ |
---|
939 | :info:build ( ) |
---|
940 | :info:build scp.c:4621:8: note: use '==' to turn this assignment into an equality comparison |
---|
941 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
942 | :info:build ^ |
---|
943 | :info:build == |
---|
944 | :info:build 34 warnings generated. |
---|
945 | :info:build sim_console.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
946 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
947 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
948 | :info:build sim_console.c:164:15: note: place parentheses around the assignment to silence this warning |
---|
949 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
950 | :info:build ^ |
---|
951 | :info:build ( ) |
---|
952 | :info:build sim_console.c:164:15: note: use '==' to turn this assignment into an equality comparison |
---|
953 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
954 | :info:build ^ |
---|
955 | :info:build == |
---|
956 | :info:build sim_console.c:167:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
957 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
958 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
959 | :info:build sim_console.c:167:15: note: place parentheses around the assignment to silence this warning |
---|
960 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
961 | :info:build ^ |
---|
962 | :info:build ( ) |
---|
963 | :info:build sim_console.c:167:15: note: use '==' to turn this assignment into an equality comparison |
---|
964 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
965 | :info:build ^ |
---|
966 | :info:build == |
---|
967 | :info:build sim_console.c:192:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
968 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
969 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
970 | :info:build sim_console.c:192:15: note: place parentheses around the assignment to silence this warning |
---|
971 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
972 | :info:build ^ |
---|
973 | :info:build ( ) |
---|
974 | :info:build sim_console.c:192:15: note: use '==' to turn this assignment into an equality comparison |
---|
975 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
976 | :info:build ^ |
---|
977 | :info:build == |
---|
978 | :info:build sim_console.c:461:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
979 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
980 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
981 | :info:build sim_console.c:461:7: note: place parentheses around the assignment to silence this warning |
---|
982 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
983 | :info:build ^ |
---|
984 | :info:build ( ) |
---|
985 | :info:build sim_console.c:461:7: note: use '==' to turn this assignment into an equality comparison |
---|
986 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
987 | :info:build ^ |
---|
988 | :info:build == |
---|
989 | :info:build 4 warnings generated. |
---|
990 | :info:build sim_tape.c:407:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
991 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
992 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
993 | :info:build sim_tape.c:407:8: note: place parentheses around the assignment to silence this warning |
---|
994 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
995 | :info:build ^ |
---|
996 | :info:build ( ) |
---|
997 | :info:build sim_tape.c:407:8: note: use '==' to turn this assignment into an equality comparison |
---|
998 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
999 | :info:build ^ |
---|
1000 | :info:build == |
---|
1001 | :info:build sim_tape.c:456:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1002 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
1003 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1004 | :info:build sim_tape.c:456:8: note: place parentheses around the assignment to silence this warning |
---|
1005 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
1006 | :info:build ^ |
---|
1007 | :info:build ( ) |
---|
1008 | :info:build sim_tape.c:456:8: note: use '==' to turn this assignment into an equality comparison |
---|
1009 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
1010 | :info:build ^ |
---|
1011 | :info:build == |
---|
1012 | :info:build 2 warnings generated. |
---|
1013 | :info:build gcc -std=c99 -U__STRICT_ANSI__ -g -D_GNU_SOURCE -I . 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 |
---|
1014 | :info:build PDP18B/pdp18b_cpu.c:607:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1015 | :info:build if (reason = sim_process_event ()) |
---|
1016 | :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ |
---|
1017 | :info:build PDP18B/pdp18b_cpu.c:607:20: note: place parentheses around the assignment to silence this warning |
---|
1018 | :info:build if (reason = sim_process_event ()) |
---|
1019 | :info:build ^ |
---|
1020 | :info:build ( ) |
---|
1021 | :info:build PDP18B/pdp18b_cpu.c:607:20: note: use '==' to turn this assignment into an equality comparison |
---|
1022 | :info:build if (reason = sim_process_event ()) |
---|
1023 | :info:build ^ |
---|
1024 | :info:build == |
---|
1025 | :info:build 1 warning generated. |
---|
1026 | :info:build PDP18B/pdp18b_mt.c:356:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1027 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
1028 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1029 | :info:build PDP18B/pdp18b_mt.c:356:16: note: place parentheses around the assignment to silence this warning |
---|
1030 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
1031 | :info:build ^ |
---|
1032 | :info:build ( ) |
---|
1033 | :info:build PDP18B/pdp18b_mt.c:356:16: note: use '==' to turn this assignment into an equality comparison |
---|
1034 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
1035 | :info:build ^ |
---|
1036 | :info:build == |
---|
1037 | :info:build PDP18B/pdp18b_mt.c:366:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1038 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
1039 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
1040 | :info:build PDP18B/pdp18b_mt.c:366:16: note: place parentheses around the assignment to silence this warning |
---|
1041 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
1042 | :info:build ^ |
---|
1043 | :info:build ( ) |
---|
1044 | :info:build PDP18B/pdp18b_mt.c:366:16: note: use '==' to turn this assignment into an equality comparison |
---|
1045 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
1046 | :info:build ^ |
---|
1047 | :info:build == |
---|
1048 | :info:build PDP18B/pdp18b_mt.c:375:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1049 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
1050 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1051 | :info:build PDP18B/pdp18b_mt.c:375:20: note: place parentheses around the assignment to silence this warning |
---|
1052 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
1053 | :info:build ^ |
---|
1054 | :info:build ( ) |
---|
1055 | :info:build PDP18B/pdp18b_mt.c:375:20: note: use '==' to turn this assignment into an equality comparison |
---|
1056 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
1057 | :info:build ^ |
---|
1058 | :info:build == |
---|
1059 | :info:build PDP18B/pdp18b_mt.c:385:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1060 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
1061 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1062 | :info:build PDP18B/pdp18b_mt.c:385:20: note: place parentheses around the assignment to silence this warning |
---|
1063 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
1064 | :info:build ^ |
---|
1065 | :info:build ( ) |
---|
1066 | :info:build PDP18B/pdp18b_mt.c:385:20: note: use '==' to turn this assignment into an equality comparison |
---|
1067 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
1068 | :info:build ^ |
---|
1069 | :info:build == |
---|
1070 | :info:build 4 warnings generated. |
---|
1071 | :info:build PDP18B/pdp18b_stddev.c:585:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1072 | :info:build while (temp = temp & (temp - 1)) |
---|
1073 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~ |
---|
1074 | :info:build PDP18B/pdp18b_stddev.c:585:21: note: place parentheses around the assignment to silence this warning |
---|
1075 | :info:build while (temp = temp & (temp - 1)) |
---|
1076 | :info:build ^ |
---|
1077 | :info:build ( ) |
---|
1078 | :info:build PDP18B/pdp18b_stddev.c:585:21: note: use '==' to turn this assignment into an equality comparison |
---|
1079 | :info:build while (temp = temp & (temp - 1)) |
---|
1080 | :info:build ^ |
---|
1081 | :info:build == |
---|
1082 | :info:build PDP18B/pdp18b_stddev.c:985:30: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
1083 | :info:build dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ |
---|
1084 | :info:build ~ ~~~~~~~~~~~~~^~~~~~~~~~ |
---|
1085 | :info:build PDP18B/pdp18b_stddev.c:985:30: note: place parentheses around the '&' expression to silence this warning |
---|
1086 | :info:build dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ |
---|
1087 | :info:build ~~~~~~~~~~~~~^~~~~~~~~~ |
---|
1088 | :info:build 2 warnings generated. |
---|
1089 | :info:build PDP18B/pdp18b_sys.c:1013:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1090 | :info:build if (sp = (inst & 03730)) |
---|
1091 | :info:build ~~~^~~~~~~~~~~~~~~~ |
---|
1092 | :info:build PDP18B/pdp18b_sys.c:1013:20: note: place parentheses around the assignment to silence this warning |
---|
1093 | :info:build if (sp = (inst & 03730)) |
---|
1094 | :info:build ^ |
---|
1095 | :info:build ( ) |
---|
1096 | :info:build PDP18B/pdp18b_sys.c:1013:20: note: use '==' to turn this assignment into an equality comparison |
---|
1097 | :info:build if (sp = (inst & 03730)) |
---|
1098 | :info:build ^ |
---|
1099 | :info:build == |
---|
1100 | :info:build 1 warning generated. |
---|
1101 | :info:build PDP18B/pdp18b_tt1.c:224:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1102 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
1103 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1104 | :info:build PDP18B/pdp18b_tt1.c:224:18: note: place parentheses around the assignment to silence this warning |
---|
1105 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
1106 | :info:build ^ |
---|
1107 | :info:build ( ) |
---|
1108 | :info:build PDP18B/pdp18b_tt1.c:224:18: note: use '==' to turn this assignment into an equality comparison |
---|
1109 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
1110 | :info:build ^ |
---|
1111 | :info:build == |
---|
1112 | :info:build 1 warning generated. |
---|
1113 | :info:build PDP18B/pdp18b_fpp.c:251:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1114 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1115 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1116 | :info:build PDP18B/pdp18b_fpp.c:251:17: note: place parentheses around the assignment to silence this warning |
---|
1117 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1118 | :info:build ^ |
---|
1119 | :info:build ( ) |
---|
1120 | :info:build PDP18B/pdp18b_fpp.c:251:17: note: use '==' to turn this assignment into an equality comparison |
---|
1121 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1122 | :info:build ^ |
---|
1123 | :info:build == |
---|
1124 | :info:build PDP18B/pdp18b_fpp.c:260:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1125 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1126 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1127 | :info:build PDP18B/pdp18b_fpp.c:260:17: note: place parentheses around the assignment to silence this warning |
---|
1128 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1129 | :info:build ^ |
---|
1130 | :info:build ( ) |
---|
1131 | :info:build PDP18B/pdp18b_fpp.c:260:17: note: use '==' to turn this assignment into an equality comparison |
---|
1132 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1133 | :info:build ^ |
---|
1134 | :info:build == |
---|
1135 | :info:build PDP18B/pdp18b_fpp.c:268:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1136 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1137 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1138 | :info:build PDP18B/pdp18b_fpp.c:268:17: note: place parentheses around the assignment to silence this warning |
---|
1139 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1140 | :info:build ^ |
---|
1141 | :info:build ( ) |
---|
1142 | :info:build PDP18B/pdp18b_fpp.c:268:17: note: use '==' to turn this assignment into an equality comparison |
---|
1143 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1144 | :info:build ^ |
---|
1145 | :info:build == |
---|
1146 | :info:build PDP18B/pdp18b_fpp.c:276:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1147 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1148 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1149 | :info:build PDP18B/pdp18b_fpp.c:276:17: note: place parentheses around the assignment to silence this warning |
---|
1150 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1151 | :info:build ^ |
---|
1152 | :info:build ( ) |
---|
1153 | :info:build PDP18B/pdp18b_fpp.c:276:17: note: use '==' to turn this assignment into an equality comparison |
---|
1154 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1155 | :info:build ^ |
---|
1156 | :info:build == |
---|
1157 | :info:build PDP18B/pdp18b_fpp.c:278:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1158 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
1159 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1160 | :info:build PDP18B/pdp18b_fpp.c:278:17: note: place parentheses around the assignment to silence this warning |
---|
1161 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
1162 | :info:build ^ |
---|
1163 | :info:build ( ) |
---|
1164 | :info:build PDP18B/pdp18b_fpp.c:278:17: note: use '==' to turn this assignment into an equality comparison |
---|
1165 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
1166 | :info:build ^ |
---|
1167 | :info:build == |
---|
1168 | :info:build PDP18B/pdp18b_fpp.c:286:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1169 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1170 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1171 | :info:build PDP18B/pdp18b_fpp.c:286:17: note: place parentheses around the assignment to silence this warning |
---|
1172 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1173 | :info:build ^ |
---|
1174 | :info:build ( ) |
---|
1175 | :info:build PDP18B/pdp18b_fpp.c:286:17: note: use '==' to turn this assignment into an equality comparison |
---|
1176 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1177 | :info:build ^ |
---|
1178 | :info:build == |
---|
1179 | :info:build PDP18B/pdp18b_fpp.c:294:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1180 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1181 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1182 | :info:build PDP18B/pdp18b_fpp.c:294:17: note: place parentheses around the assignment to silence this warning |
---|
1183 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1184 | :info:build ^ |
---|
1185 | :info:build ( ) |
---|
1186 | :info:build PDP18B/pdp18b_fpp.c:294:17: note: use '==' to turn this assignment into an equality comparison |
---|
1187 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1188 | :info:build ^ |
---|
1189 | :info:build == |
---|
1190 | :info:build PDP18B/pdp18b_fpp.c:307:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1191 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1192 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1193 | :info:build PDP18B/pdp18b_fpp.c:307:17: note: place parentheses around the assignment to silence this warning |
---|
1194 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1195 | :info:build ^ |
---|
1196 | :info:build ( ) |
---|
1197 | :info:build PDP18B/pdp18b_fpp.c:307:17: note: use '==' to turn this assignment into an equality comparison |
---|
1198 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1199 | :info:build ^ |
---|
1200 | :info:build == |
---|
1201 | :info:build PDP18B/pdp18b_fpp.c:315:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1202 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1203 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1204 | :info:build PDP18B/pdp18b_fpp.c:315:17: note: place parentheses around the assignment to silence this warning |
---|
1205 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1206 | :info:build ^ |
---|
1207 | :info:build ( ) |
---|
1208 | :info:build PDP18B/pdp18b_fpp.c:315:17: note: use '==' to turn this assignment into an equality comparison |
---|
1209 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1210 | :info:build ^ |
---|
1211 | :info:build == |
---|
1212 | :info:build PDP18B/pdp18b_fpp.c:321:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1213 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1214 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1215 | :info:build PDP18B/pdp18b_fpp.c:321:17: note: place parentheses around the assignment to silence this warning |
---|
1216 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1217 | :info:build ^ |
---|
1218 | :info:build ( ) |
---|
1219 | :info:build PDP18B/pdp18b_fpp.c:321:17: note: use '==' to turn this assignment into an equality comparison |
---|
1220 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1221 | :info:build ^ |
---|
1222 | :info:build == |
---|
1223 | :info:build PDP18B/pdp18b_fpp.c:335:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1224 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
1225 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~ |
---|
1226 | :info:build PDP18B/pdp18b_fpp.c:335:21: note: place parentheses around the assignment to silence this warning |
---|
1227 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
1228 | :info:build ^ |
---|
1229 | :info:build ( ) |
---|
1230 | :info:build PDP18B/pdp18b_fpp.c:335:21: note: use '==' to turn this assignment into an equality comparison |
---|
1231 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
1232 | :info:build ^ |
---|
1233 | :info:build == |
---|
1234 | :info:build PDP18B/pdp18b_fpp.c:343:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1235 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1236 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1237 | :info:build PDP18B/pdp18b_fpp.c:343:17: note: place parentheses around the assignment to silence this warning |
---|
1238 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1239 | :info:build ^ |
---|
1240 | :info:build ( ) |
---|
1241 | :info:build PDP18B/pdp18b_fpp.c:343:17: note: use '==' to turn this assignment into an equality comparison |
---|
1242 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1243 | :info:build ^ |
---|
1244 | :info:build == |
---|
1245 | :info:build PDP18B/pdp18b_fpp.c:427:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1246 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
1247 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1248 | :info:build PDP18B/pdp18b_fpp.c:427:13: note: place parentheses around the assignment to silence this warning |
---|
1249 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
1250 | :info:build ^ |
---|
1251 | :info:build ( ) |
---|
1252 | :info:build PDP18B/pdp18b_fpp.c:427:13: note: use '==' to turn this assignment into an equality comparison |
---|
1253 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
1254 | :info:build ^ |
---|
1255 | :info:build == |
---|
1256 | :info:build 13 warnings generated. |
---|
1257 | :info:build In file included from scp.c:182: |
---|
1258 | :info:build ./sim_rev.h:389:1: warning: '/*' within block comment [-Wcomment] |
---|
1259 | :info:build /* V3.7 revision history |
---|
1260 | :info:build ^ |
---|
1261 | :info:build ./sim_rev.h:661:1: warning: '/*' within block comment [-Wcomment] |
---|
1262 | :info:build /* V3.6 revision history |
---|
1263 | :info:build ^ |
---|
1264 | :info:build ./sim_rev.h:835:1: warning: '/*' within block comment [-Wcomment] |
---|
1265 | :info:build /* V3.5 revision history |
---|
1266 | :info:build ^ |
---|
1267 | :info:build ./sim_rev.h:971:1: warning: '/*' within block comment [-Wcomment] |
---|
1268 | :info:build /* V3.4 revision history |
---|
1269 | :info:build ^ |
---|
1270 | :info:build ./sim_rev.h:1009:1: warning: '/*' within block comment [-Wcomment] |
---|
1271 | :info:build /* V3.3 revision history |
---|
1272 | :info:build ^ |
---|
1273 | :info:build ./sim_rev.h:1261:1: warning: '/*' within block comment [-Wcomment] |
---|
1274 | :info:build /* V3.2 revision history |
---|
1275 | :info:build ^ |
---|
1276 | :info:build ./sim_rev.h:1460:1: warning: '/*' within block comment [-Wcomment] |
---|
1277 | :info:build /* V3.1 revision history |
---|
1278 | :info:build ^ |
---|
1279 | :info:build ./sim_rev.h:1573:1: warning: '/*' within block comment [-Wcomment] |
---|
1280 | :info:build /* V3.0 revision history |
---|
1281 | :info:build ^ |
---|
1282 | :info:build ./sim_rev.h:1739:1: warning: '/*' within block comment [-Wcomment] |
---|
1283 | :info:build /* V2.10 revision history |
---|
1284 | :info:build ^ |
---|
1285 | :info:build ./sim_rev.h:2037:1: warning: '/*' within block comment [-Wcomment] |
---|
1286 | :info:build /* V2.9 revision history |
---|
1287 | :info:build ^ |
---|
1288 | :info:build scp.c:665:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1289 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
1290 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1291 | :info:build scp.c:665:12: note: place parentheses around the assignment to silence this warning |
---|
1292 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
1293 | :info:build ^ |
---|
1294 | :info:build ( ) |
---|
1295 | :info:build scp.c:665:12: note: use '==' to turn this assignment into an equality comparison |
---|
1296 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
1297 | :info:build ^ |
---|
1298 | :info:build == |
---|
1299 | :info:build scp.c:673:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1300 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
1301 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1302 | :info:build scp.c:673:14: note: place parentheses around the assignment to silence this warning |
---|
1303 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
1304 | :info:build ^ |
---|
1305 | :info:build ( ) |
---|
1306 | :info:build scp.c:673:14: note: use '==' to turn this assignment into an equality comparison |
---|
1307 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
1308 | :info:build ^ |
---|
1309 | :info:build == |
---|
1310 | :info:build scp.c:686:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1311 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
1312 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1313 | :info:build scp.c:686:14: note: place parentheses around the assignment to silence this warning |
---|
1314 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
1315 | :info:build ^ |
---|
1316 | :info:build ( ) |
---|
1317 | :info:build scp.c:686:14: note: use '==' to turn this assignment into an equality comparison |
---|
1318 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
1319 | :info:build ^ |
---|
1320 | :info:build == |
---|
1321 | :info:build scp.c:753:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1322 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
1323 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1324 | :info:build scp.c:753:14: note: place parentheses around the assignment to silence this warning |
---|
1325 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
1326 | :info:build ^ |
---|
1327 | :info:build ( ) |
---|
1328 | :info:build scp.c:753:14: note: use '==' to turn this assignment into an equality comparison |
---|
1329 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
1330 | :info:build ^ |
---|
1331 | :info:build == |
---|
1332 | :info:build scp.c:897:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1333 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
1334 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1335 | :info:build scp.c:897:14: note: place parentheses around the assignment to silence this warning |
---|
1336 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
1337 | :info:build ^ |
---|
1338 | :info:build ( ) |
---|
1339 | :info:build scp.c:897:14: note: use '==' to turn this assignment into an equality comparison |
---|
1340 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
1341 | :info:build ^ |
---|
1342 | :info:build == |
---|
1343 | :info:build scp.c:1077:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1344 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1345 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1346 | :info:build scp.c:1077:10: note: place parentheses around the assignment to silence this warning |
---|
1347 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1348 | :info:build ^ |
---|
1349 | :info:build ( ) |
---|
1350 | :info:build scp.c:1077:10: note: use '==' to turn this assignment into an equality comparison |
---|
1351 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1352 | :info:build ^ |
---|
1353 | :info:build == |
---|
1354 | :info:build scp.c:1082:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1355 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1356 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1357 | :info:build scp.c:1082:15: note: place parentheses around the assignment to silence this warning |
---|
1358 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1359 | :info:build ^ |
---|
1360 | :info:build ( ) |
---|
1361 | :info:build scp.c:1082:15: note: use '==' to turn this assignment into an equality comparison |
---|
1362 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1363 | :info:build ^ |
---|
1364 | :info:build == |
---|
1365 | :info:build scp.c:1088:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1366 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
1367 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1368 | :info:build scp.c:1088:16: note: place parentheses around the assignment to silence this warning |
---|
1369 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
1370 | :info:build ^ |
---|
1371 | :info:build ( ) |
---|
1372 | :info:build scp.c:1088:16: note: use '==' to turn this assignment into an equality comparison |
---|
1373 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
1374 | :info:build ^ |
---|
1375 | :info:build == |
---|
1376 | :info:build scp.c:1096:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1377 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1378 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1379 | :info:build scp.c:1096:15: note: place parentheses around the assignment to silence this warning |
---|
1380 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1381 | :info:build ^ |
---|
1382 | :info:build ( ) |
---|
1383 | :info:build scp.c:1096:15: note: use '==' to turn this assignment into an equality comparison |
---|
1384 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1385 | :info:build ^ |
---|
1386 | :info:build == |
---|
1387 | :info:build scp.c:1109:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1388 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
1389 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1390 | :info:build scp.c:1109:35: note: place parentheses around the assignment to silence this warning |
---|
1391 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
1392 | :info:build ^ |
---|
1393 | :info:build ( ) |
---|
1394 | :info:build scp.c:1109:35: note: use '==' to turn this assignment into an equality comparison |
---|
1395 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
1396 | :info:build ^ |
---|
1397 | :info:build == |
---|
1398 | :info:build scp.c:1142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1399 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
1400 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1401 | :info:build scp.c:1142:18: note: place parentheses around the assignment to silence this warning |
---|
1402 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
1403 | :info:build ^ |
---|
1404 | :info:build ( ) |
---|
1405 | :info:build scp.c:1142:18: note: use '==' to turn this assignment into an equality comparison |
---|
1406 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
1407 | :info:build ^ |
---|
1408 | :info:build == |
---|
1409 | :info:build scp.c:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1410 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
1411 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1412 | :info:build scp.c:1333:11: note: place parentheses around the assignment to silence this warning |
---|
1413 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
1414 | :info:build ^ |
---|
1415 | :info:build ( ) |
---|
1416 | :info:build scp.c:1333:11: note: use '==' to turn this assignment into an equality comparison |
---|
1417 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
1418 | :info:build ^ |
---|
1419 | :info:build == |
---|
1420 | :info:build scp.c:1336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1421 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1422 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1423 | :info:build scp.c:1336:10: note: place parentheses around the assignment to silence this warning |
---|
1424 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1425 | :info:build ^ |
---|
1426 | :info:build ( ) |
---|
1427 | :info:build scp.c:1336:10: note: use '==' to turn this assignment into an equality comparison |
---|
1428 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1429 | :info:build ^ |
---|
1430 | :info:build == |
---|
1431 | :info:build scp.c:1341:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1432 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1433 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1434 | :info:build scp.c:1341:15: note: place parentheses around the assignment to silence this warning |
---|
1435 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1436 | :info:build ^ |
---|
1437 | :info:build ( ) |
---|
1438 | :info:build scp.c:1341:15: note: use '==' to turn this assignment into an equality comparison |
---|
1439 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1440 | :info:build ^ |
---|
1441 | :info:build == |
---|
1442 | :info:build scp.c:1361:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1443 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1444 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1445 | :info:build scp.c:1361:15: note: place parentheses around the assignment to silence this warning |
---|
1446 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1447 | :info:build ^ |
---|
1448 | :info:build ( ) |
---|
1449 | :info:build scp.c:1361:15: note: use '==' to turn this assignment into an equality comparison |
---|
1450 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1451 | :info:build ^ |
---|
1452 | :info:build == |
---|
1453 | :info:build scp.c:1380:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1454 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
1455 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1456 | :info:build scp.c:1380:19: note: place parentheses around the assignment to silence this warning |
---|
1457 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
1458 | :info:build ^ |
---|
1459 | :info:build ( ) |
---|
1460 | :info:build scp.c:1380:19: note: use '==' to turn this assignment into an equality comparison |
---|
1461 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
1462 | :info:build ^ |
---|
1463 | :info:build == |
---|
1464 | :info:build scp.c:1731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1465 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
1466 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1467 | :info:build scp.c:1731:10: note: place parentheses around the assignment to silence this warning |
---|
1468 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
1469 | :info:build ^ |
---|
1470 | :info:build ( ) |
---|
1471 | :info:build scp.c:1731:10: note: use '==' to turn this assignment into an equality comparison |
---|
1472 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
1473 | :info:build ^ |
---|
1474 | :info:build == |
---|
1475 | :info:build scp.c:3567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1476 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
1477 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1478 | :info:build scp.c:3567:11: note: place parentheses around the assignment to silence this warning |
---|
1479 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
1480 | :info:build ^ |
---|
1481 | :info:build ( ) |
---|
1482 | :info:build scp.c:3567:11: note: use '==' to turn this assignment into an equality comparison |
---|
1483 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
1484 | :info:build ^ |
---|
1485 | :info:build == |
---|
1486 | :info:build scp.c:3650:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1487 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
1488 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1489 | :info:build scp.c:3650:10: note: place parentheses around the assignment to silence this warning |
---|
1490 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
1491 | :info:build ^ |
---|
1492 | :info:build ( ) |
---|
1493 | :info:build scp.c:3650:10: note: use '==' to turn this assignment into an equality comparison |
---|
1494 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
1495 | :info:build ^ |
---|
1496 | :info:build == |
---|
1497 | :info:build scp.c:3730:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1498 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
1499 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1500 | :info:build scp.c:3730:14: note: place parentheses around the assignment to silence this warning |
---|
1501 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
1502 | :info:build ^ |
---|
1503 | :info:build ( ) |
---|
1504 | :info:build scp.c:3730:14: note: use '==' to turn this assignment into an equality comparison |
---|
1505 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
1506 | :info:build ^ |
---|
1507 | :info:build == |
---|
1508 | :info:build scp.c:3948:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1509 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
1510 | :info:build ~~^~~~~~~~~ |
---|
1511 | :info:build scp.c:3948:28: note: place parentheses around the assignment to silence this warning |
---|
1512 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
1513 | :info:build ^ |
---|
1514 | :info:build ( ) |
---|
1515 | :info:build scp.c:3948:28: note: use '==' to turn this assignment into an equality comparison |
---|
1516 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
1517 | :info:build ^ |
---|
1518 | :info:build == |
---|
1519 | :info:build scp.c:3949:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1520 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
1521 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1522 | :info:build scp.c:3949:14: note: place parentheses around the assignment to silence this warning |
---|
1523 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
1524 | :info:build ^ |
---|
1525 | :info:build ( ) |
---|
1526 | :info:build scp.c:3949:14: note: use '==' to turn this assignment into an equality comparison |
---|
1527 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
1528 | :info:build ^ |
---|
1529 | :info:build == |
---|
1530 | :info:build scp.c:3956:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1531 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
1532 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1533 | :info:build scp.c:3956:19: note: place parentheses around the assignment to silence this warning |
---|
1534 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
1535 | :info:build ^ |
---|
1536 | :info:build ( ) |
---|
1537 | :info:build scp.c:3956:19: note: use '==' to turn this assignment into an equality comparison |
---|
1538 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
1539 | :info:build ^ |
---|
1540 | :info:build == |
---|
1541 | :info:build scp.c:4621:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1542 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
1543 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1544 | :info:build scp.c:4621:8: note: place parentheses around the assignment to silence this warning |
---|
1545 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
1546 | :info:build ^ |
---|
1547 | :info:build ( ) |
---|
1548 | :info:build scp.c:4621:8: note: use '==' to turn this assignment into an equality comparison |
---|
1549 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
1550 | :info:build ^ |
---|
1551 | :info:build == |
---|
1552 | :info:build 34 warnings generated. |
---|
1553 | :info:build sim_console.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1554 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1555 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1556 | :info:build sim_console.c:164:15: note: place parentheses around the assignment to silence this warning |
---|
1557 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1558 | :info:build ^ |
---|
1559 | :info:build ( ) |
---|
1560 | :info:build sim_console.c:164:15: note: use '==' to turn this assignment into an equality comparison |
---|
1561 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1562 | :info:build ^ |
---|
1563 | :info:build == |
---|
1564 | :info:build sim_console.c:167:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1565 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
1566 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1567 | :info:build sim_console.c:167:15: note: place parentheses around the assignment to silence this warning |
---|
1568 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
1569 | :info:build ^ |
---|
1570 | :info:build ( ) |
---|
1571 | :info:build sim_console.c:167:15: note: use '==' to turn this assignment into an equality comparison |
---|
1572 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
1573 | :info:build ^ |
---|
1574 | :info:build == |
---|
1575 | :info:build sim_console.c:192:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1576 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
1577 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1578 | :info:build sim_console.c:192:15: note: place parentheses around the assignment to silence this warning |
---|
1579 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
1580 | :info:build ^ |
---|
1581 | :info:build ( ) |
---|
1582 | :info:build sim_console.c:192:15: note: use '==' to turn this assignment into an equality comparison |
---|
1583 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
1584 | :info:build ^ |
---|
1585 | :info:build == |
---|
1586 | :info:build sim_console.c:461:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1587 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
1588 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1589 | :info:build sim_console.c:461:7: note: place parentheses around the assignment to silence this warning |
---|
1590 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
1591 | :info:build ^ |
---|
1592 | :info:build ( ) |
---|
1593 | :info:build sim_console.c:461:7: note: use '==' to turn this assignment into an equality comparison |
---|
1594 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
1595 | :info:build ^ |
---|
1596 | :info:build == |
---|
1597 | :info:build 4 warnings generated. |
---|
1598 | :info:build sim_tape.c:407:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1599 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
1600 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1601 | :info:build sim_tape.c:407:8: note: place parentheses around the assignment to silence this warning |
---|
1602 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
1603 | :info:build ^ |
---|
1604 | :info:build ( ) |
---|
1605 | :info:build sim_tape.c:407:8: note: use '==' to turn this assignment into an equality comparison |
---|
1606 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
1607 | :info:build ^ |
---|
1608 | :info:build == |
---|
1609 | :info:build sim_tape.c:456:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1610 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
1611 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1612 | :info:build sim_tape.c:456:8: note: place parentheses around the assignment to silence this warning |
---|
1613 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
1614 | :info:build ^ |
---|
1615 | :info:build ( ) |
---|
1616 | :info:build sim_tape.c:456:8: note: use '==' to turn this assignment into an equality comparison |
---|
1617 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
1618 | :info:build ^ |
---|
1619 | :info:build == |
---|
1620 | :info:build 2 warnings generated. |
---|
1621 | :info:build gcc -std=c99 -U__STRICT_ANSI__ -g -D_GNU_SOURCE -I . 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 |
---|
1622 | :info:build PDP18B/pdp18b_cpu.c:607:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1623 | :info:build if (reason = sim_process_event ()) |
---|
1624 | :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ |
---|
1625 | :info:build PDP18B/pdp18b_cpu.c:607:20: note: place parentheses around the assignment to silence this warning |
---|
1626 | :info:build if (reason = sim_process_event ()) |
---|
1627 | :info:build ^ |
---|
1628 | :info:build ( ) |
---|
1629 | :info:build PDP18B/pdp18b_cpu.c:607:20: note: use '==' to turn this assignment into an equality comparison |
---|
1630 | :info:build if (reason = sim_process_event ()) |
---|
1631 | :info:build ^ |
---|
1632 | :info:build == |
---|
1633 | :info:build 1 warning generated. |
---|
1634 | :info:build PDP18B/pdp18b_mt.c:356:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1635 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
1636 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1637 | :info:build PDP18B/pdp18b_mt.c:356:16: note: place parentheses around the assignment to silence this warning |
---|
1638 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
1639 | :info:build ^ |
---|
1640 | :info:build ( ) |
---|
1641 | :info:build PDP18B/pdp18b_mt.c:356:16: note: use '==' to turn this assignment into an equality comparison |
---|
1642 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
1643 | :info:build ^ |
---|
1644 | :info:build == |
---|
1645 | :info:build PDP18B/pdp18b_mt.c:366:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1646 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
1647 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
1648 | :info:build PDP18B/pdp18b_mt.c:366:16: note: place parentheses around the assignment to silence this warning |
---|
1649 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
1650 | :info:build ^ |
---|
1651 | :info:build ( ) |
---|
1652 | :info:build PDP18B/pdp18b_mt.c:366:16: note: use '==' to turn this assignment into an equality comparison |
---|
1653 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
1654 | :info:build ^ |
---|
1655 | :info:build == |
---|
1656 | :info:build PDP18B/pdp18b_mt.c:375:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1657 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
1658 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1659 | :info:build PDP18B/pdp18b_mt.c:375:20: note: place parentheses around the assignment to silence this warning |
---|
1660 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
1661 | :info:build ^ |
---|
1662 | :info:build ( ) |
---|
1663 | :info:build PDP18B/pdp18b_mt.c:375:20: note: use '==' to turn this assignment into an equality comparison |
---|
1664 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
1665 | :info:build ^ |
---|
1666 | :info:build == |
---|
1667 | :info:build PDP18B/pdp18b_mt.c:385:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1668 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
1669 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1670 | :info:build PDP18B/pdp18b_mt.c:385:20: note: place parentheses around the assignment to silence this warning |
---|
1671 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
1672 | :info:build ^ |
---|
1673 | :info:build ( ) |
---|
1674 | :info:build PDP18B/pdp18b_mt.c:385:20: note: use '==' to turn this assignment into an equality comparison |
---|
1675 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
1676 | :info:build ^ |
---|
1677 | :info:build == |
---|
1678 | :info:build 4 warnings generated. |
---|
1679 | :info:build PDP18B/pdp18b_stddev.c:585:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1680 | :info:build while (temp = temp & (temp - 1)) |
---|
1681 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~ |
---|
1682 | :info:build PDP18B/pdp18b_stddev.c:585:21: note: place parentheses around the assignment to silence this warning |
---|
1683 | :info:build while (temp = temp & (temp - 1)) |
---|
1684 | :info:build ^ |
---|
1685 | :info:build ( ) |
---|
1686 | :info:build PDP18B/pdp18b_stddev.c:585:21: note: use '==' to turn this assignment into an equality comparison |
---|
1687 | :info:build while (temp = temp & (temp - 1)) |
---|
1688 | :info:build ^ |
---|
1689 | :info:build == |
---|
1690 | :info:build PDP18B/pdp18b_stddev.c:985:30: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
1691 | :info:build dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ |
---|
1692 | :info:build ~ ~~~~~~~~~~~~~^~~~~~~~~~ |
---|
1693 | :info:build PDP18B/pdp18b_stddev.c:985:30: note: place parentheses around the '&' expression to silence this warning |
---|
1694 | :info:build dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ |
---|
1695 | :info:build ~~~~~~~~~~~~~^~~~~~~~~~ |
---|
1696 | :info:build 2 warnings generated. |
---|
1697 | :info:build PDP18B/pdp18b_sys.c:1013:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1698 | :info:build if (sp = (inst & 03730)) |
---|
1699 | :info:build ~~~^~~~~~~~~~~~~~~~ |
---|
1700 | :info:build PDP18B/pdp18b_sys.c:1013:20: note: place parentheses around the assignment to silence this warning |
---|
1701 | :info:build if (sp = (inst & 03730)) |
---|
1702 | :info:build ^ |
---|
1703 | :info:build ( ) |
---|
1704 | :info:build PDP18B/pdp18b_sys.c:1013:20: note: use '==' to turn this assignment into an equality comparison |
---|
1705 | :info:build if (sp = (inst & 03730)) |
---|
1706 | :info:build ^ |
---|
1707 | :info:build == |
---|
1708 | :info:build 1 warning generated. |
---|
1709 | :info:build PDP18B/pdp18b_tt1.c:224:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1710 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
1711 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1712 | :info:build PDP18B/pdp18b_tt1.c:224:18: note: place parentheses around the assignment to silence this warning |
---|
1713 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
1714 | :info:build ^ |
---|
1715 | :info:build ( ) |
---|
1716 | :info:build PDP18B/pdp18b_tt1.c:224:18: note: use '==' to turn this assignment into an equality comparison |
---|
1717 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
1718 | :info:build ^ |
---|
1719 | :info:build == |
---|
1720 | :info:build 1 warning generated. |
---|
1721 | :info:build PDP18B/pdp18b_fpp.c:251:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1722 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1723 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1724 | :info:build PDP18B/pdp18b_fpp.c:251:17: note: place parentheses around the assignment to silence this warning |
---|
1725 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1726 | :info:build ^ |
---|
1727 | :info:build ( ) |
---|
1728 | :info:build PDP18B/pdp18b_fpp.c:251:17: note: use '==' to turn this assignment into an equality comparison |
---|
1729 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1730 | :info:build ^ |
---|
1731 | :info:build == |
---|
1732 | :info:build PDP18B/pdp18b_fpp.c:260:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1733 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1734 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1735 | :info:build PDP18B/pdp18b_fpp.c:260:17: note: place parentheses around the assignment to silence this warning |
---|
1736 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1737 | :info:build ^ |
---|
1738 | :info:build ( ) |
---|
1739 | :info:build PDP18B/pdp18b_fpp.c:260:17: note: use '==' to turn this assignment into an equality comparison |
---|
1740 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1741 | :info:build ^ |
---|
1742 | :info:build == |
---|
1743 | :info:build PDP18B/pdp18b_fpp.c:268:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1744 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1745 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1746 | :info:build PDP18B/pdp18b_fpp.c:268:17: note: place parentheses around the assignment to silence this warning |
---|
1747 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1748 | :info:build ^ |
---|
1749 | :info:build ( ) |
---|
1750 | :info:build PDP18B/pdp18b_fpp.c:268:17: note: use '==' to turn this assignment into an equality comparison |
---|
1751 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1752 | :info:build ^ |
---|
1753 | :info:build == |
---|
1754 | :info:build PDP18B/pdp18b_fpp.c:276:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1755 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1756 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1757 | :info:build PDP18B/pdp18b_fpp.c:276:17: note: place parentheses around the assignment to silence this warning |
---|
1758 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1759 | :info:build ^ |
---|
1760 | :info:build ( ) |
---|
1761 | :info:build PDP18B/pdp18b_fpp.c:276:17: note: use '==' to turn this assignment into an equality comparison |
---|
1762 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1763 | :info:build ^ |
---|
1764 | :info:build == |
---|
1765 | :info:build PDP18B/pdp18b_fpp.c:278:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1766 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
1767 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1768 | :info:build PDP18B/pdp18b_fpp.c:278:17: note: place parentheses around the assignment to silence this warning |
---|
1769 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
1770 | :info:build ^ |
---|
1771 | :info:build ( ) |
---|
1772 | :info:build PDP18B/pdp18b_fpp.c:278:17: note: use '==' to turn this assignment into an equality comparison |
---|
1773 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
1774 | :info:build ^ |
---|
1775 | :info:build == |
---|
1776 | :info:build PDP18B/pdp18b_fpp.c:286:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1777 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1778 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1779 | :info:build PDP18B/pdp18b_fpp.c:286:17: note: place parentheses around the assignment to silence this warning |
---|
1780 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1781 | :info:build ^ |
---|
1782 | :info:build ( ) |
---|
1783 | :info:build PDP18B/pdp18b_fpp.c:286:17: note: use '==' to turn this assignment into an equality comparison |
---|
1784 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1785 | :info:build ^ |
---|
1786 | :info:build == |
---|
1787 | :info:build PDP18B/pdp18b_fpp.c:294:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1788 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1789 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1790 | :info:build PDP18B/pdp18b_fpp.c:294:17: note: place parentheses around the assignment to silence this warning |
---|
1791 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1792 | :info:build ^ |
---|
1793 | :info:build ( ) |
---|
1794 | :info:build PDP18B/pdp18b_fpp.c:294:17: note: use '==' to turn this assignment into an equality comparison |
---|
1795 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1796 | :info:build ^ |
---|
1797 | :info:build == |
---|
1798 | :info:build PDP18B/pdp18b_fpp.c:307:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1799 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1800 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1801 | :info:build PDP18B/pdp18b_fpp.c:307:17: note: place parentheses around the assignment to silence this warning |
---|
1802 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1803 | :info:build ^ |
---|
1804 | :info:build ( ) |
---|
1805 | :info:build PDP18B/pdp18b_fpp.c:307:17: note: use '==' to turn this assignment into an equality comparison |
---|
1806 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1807 | :info:build ^ |
---|
1808 | :info:build == |
---|
1809 | :info:build PDP18B/pdp18b_fpp.c:315:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1810 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1811 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1812 | :info:build PDP18B/pdp18b_fpp.c:315:17: note: place parentheses around the assignment to silence this warning |
---|
1813 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1814 | :info:build ^ |
---|
1815 | :info:build ( ) |
---|
1816 | :info:build PDP18B/pdp18b_fpp.c:315:17: note: use '==' to turn this assignment into an equality comparison |
---|
1817 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1818 | :info:build ^ |
---|
1819 | :info:build == |
---|
1820 | :info:build PDP18B/pdp18b_fpp.c:321:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1821 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1822 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1823 | :info:build PDP18B/pdp18b_fpp.c:321:17: note: place parentheses around the assignment to silence this warning |
---|
1824 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1825 | :info:build ^ |
---|
1826 | :info:build ( ) |
---|
1827 | :info:build PDP18B/pdp18b_fpp.c:321:17: note: use '==' to turn this assignment into an equality comparison |
---|
1828 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
1829 | :info:build ^ |
---|
1830 | :info:build == |
---|
1831 | :info:build PDP18B/pdp18b_fpp.c:335:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1832 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
1833 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~ |
---|
1834 | :info:build PDP18B/pdp18b_fpp.c:335:21: note: place parentheses around the assignment to silence this warning |
---|
1835 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
1836 | :info:build ^ |
---|
1837 | :info:build ( ) |
---|
1838 | :info:build PDP18B/pdp18b_fpp.c:335:21: note: use '==' to turn this assignment into an equality comparison |
---|
1839 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
1840 | :info:build ^ |
---|
1841 | :info:build == |
---|
1842 | :info:build PDP18B/pdp18b_fpp.c:343:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1843 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1844 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1845 | :info:build PDP18B/pdp18b_fpp.c:343:17: note: place parentheses around the assignment to silence this warning |
---|
1846 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1847 | :info:build ^ |
---|
1848 | :info:build ( ) |
---|
1849 | :info:build PDP18B/pdp18b_fpp.c:343:17: note: use '==' to turn this assignment into an equality comparison |
---|
1850 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
1851 | :info:build ^ |
---|
1852 | :info:build == |
---|
1853 | :info:build PDP18B/pdp18b_fpp.c:427:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1854 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
1855 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1856 | :info:build PDP18B/pdp18b_fpp.c:427:13: note: place parentheses around the assignment to silence this warning |
---|
1857 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
1858 | :info:build ^ |
---|
1859 | :info:build ( ) |
---|
1860 | :info:build PDP18B/pdp18b_fpp.c:427:13: note: use '==' to turn this assignment into an equality comparison |
---|
1861 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
1862 | :info:build ^ |
---|
1863 | :info:build == |
---|
1864 | :info:build 13 warnings generated. |
---|
1865 | :info:build In file included from scp.c:182: |
---|
1866 | :info:build ./sim_rev.h:389:1: warning: '/*' within block comment [-Wcomment] |
---|
1867 | :info:build /* V3.7 revision history |
---|
1868 | :info:build ^ |
---|
1869 | :info:build ./sim_rev.h:661:1: warning: '/*' within block comment [-Wcomment] |
---|
1870 | :info:build /* V3.6 revision history |
---|
1871 | :info:build ^ |
---|
1872 | :info:build ./sim_rev.h:835:1: warning: '/*' within block comment [-Wcomment] |
---|
1873 | :info:build /* V3.5 revision history |
---|
1874 | :info:build ^ |
---|
1875 | :info:build ./sim_rev.h:971:1: warning: '/*' within block comment [-Wcomment] |
---|
1876 | :info:build /* V3.4 revision history |
---|
1877 | :info:build ^ |
---|
1878 | :info:build ./sim_rev.h:1009:1: warning: '/*' within block comment [-Wcomment] |
---|
1879 | :info:build /* V3.3 revision history |
---|
1880 | :info:build ^ |
---|
1881 | :info:build ./sim_rev.h:1261:1: warning: '/*' within block comment [-Wcomment] |
---|
1882 | :info:build /* V3.2 revision history |
---|
1883 | :info:build ^ |
---|
1884 | :info:build ./sim_rev.h:1460:1: warning: '/*' within block comment [-Wcomment] |
---|
1885 | :info:build /* V3.1 revision history |
---|
1886 | :info:build ^ |
---|
1887 | :info:build ./sim_rev.h:1573:1: warning: '/*' within block comment [-Wcomment] |
---|
1888 | :info:build /* V3.0 revision history |
---|
1889 | :info:build ^ |
---|
1890 | :info:build ./sim_rev.h:1739:1: warning: '/*' within block comment [-Wcomment] |
---|
1891 | :info:build /* V2.10 revision history |
---|
1892 | :info:build ^ |
---|
1893 | :info:build ./sim_rev.h:2037:1: warning: '/*' within block comment [-Wcomment] |
---|
1894 | :info:build /* V2.9 revision history |
---|
1895 | :info:build ^ |
---|
1896 | :info:build scp.c:665:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1897 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
1898 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1899 | :info:build scp.c:665:12: note: place parentheses around the assignment to silence this warning |
---|
1900 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
1901 | :info:build ^ |
---|
1902 | :info:build ( ) |
---|
1903 | :info:build scp.c:665:12: note: use '==' to turn this assignment into an equality comparison |
---|
1904 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
1905 | :info:build ^ |
---|
1906 | :info:build == |
---|
1907 | :info:build scp.c:673:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1908 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
1909 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1910 | :info:build scp.c:673:14: note: place parentheses around the assignment to silence this warning |
---|
1911 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
1912 | :info:build ^ |
---|
1913 | :info:build ( ) |
---|
1914 | :info:build scp.c:673:14: note: use '==' to turn this assignment into an equality comparison |
---|
1915 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
1916 | :info:build ^ |
---|
1917 | :info:build == |
---|
1918 | :info:build scp.c:686:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1919 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
1920 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1921 | :info:build scp.c:686:14: note: place parentheses around the assignment to silence this warning |
---|
1922 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
1923 | :info:build ^ |
---|
1924 | :info:build ( ) |
---|
1925 | :info:build scp.c:686:14: note: use '==' to turn this assignment into an equality comparison |
---|
1926 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
1927 | :info:build ^ |
---|
1928 | :info:build == |
---|
1929 | :info:build scp.c:753:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1930 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
1931 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1932 | :info:build scp.c:753:14: note: place parentheses around the assignment to silence this warning |
---|
1933 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
1934 | :info:build ^ |
---|
1935 | :info:build ( ) |
---|
1936 | :info:build scp.c:753:14: note: use '==' to turn this assignment into an equality comparison |
---|
1937 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
1938 | :info:build ^ |
---|
1939 | :info:build == |
---|
1940 | :info:build scp.c:897:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1941 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
1942 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1943 | :info:build scp.c:897:14: note: place parentheses around the assignment to silence this warning |
---|
1944 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
1945 | :info:build ^ |
---|
1946 | :info:build ( ) |
---|
1947 | :info:build scp.c:897:14: note: use '==' to turn this assignment into an equality comparison |
---|
1948 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
1949 | :info:build ^ |
---|
1950 | :info:build == |
---|
1951 | :info:build scp.c:1077:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1952 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1953 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
1954 | :info:build scp.c:1077:10: note: place parentheses around the assignment to silence this warning |
---|
1955 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1956 | :info:build ^ |
---|
1957 | :info:build ( ) |
---|
1958 | :info:build scp.c:1077:10: note: use '==' to turn this assignment into an equality comparison |
---|
1959 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
1960 | :info:build ^ |
---|
1961 | :info:build == |
---|
1962 | :info:build scp.c:1082:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1963 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1964 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1965 | :info:build scp.c:1082:15: note: place parentheses around the assignment to silence this warning |
---|
1966 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1967 | :info:build ^ |
---|
1968 | :info:build ( ) |
---|
1969 | :info:build scp.c:1082:15: note: use '==' to turn this assignment into an equality comparison |
---|
1970 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
1971 | :info:build ^ |
---|
1972 | :info:build == |
---|
1973 | :info:build scp.c:1088:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1974 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
1975 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
1976 | :info:build scp.c:1088:16: note: place parentheses around the assignment to silence this warning |
---|
1977 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
1978 | :info:build ^ |
---|
1979 | :info:build ( ) |
---|
1980 | :info:build scp.c:1088:16: note: use '==' to turn this assignment into an equality comparison |
---|
1981 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
1982 | :info:build ^ |
---|
1983 | :info:build == |
---|
1984 | :info:build scp.c:1096:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1985 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1986 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1987 | :info:build scp.c:1096:15: note: place parentheses around the assignment to silence this warning |
---|
1988 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1989 | :info:build ^ |
---|
1990 | :info:build ( ) |
---|
1991 | :info:build scp.c:1096:15: note: use '==' to turn this assignment into an equality comparison |
---|
1992 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
1993 | :info:build ^ |
---|
1994 | :info:build == |
---|
1995 | :info:build scp.c:1109:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
1996 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
1997 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
1998 | :info:build scp.c:1109:35: note: place parentheses around the assignment to silence this warning |
---|
1999 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
2000 | :info:build ^ |
---|
2001 | :info:build ( ) |
---|
2002 | :info:build scp.c:1109:35: note: use '==' to turn this assignment into an equality comparison |
---|
2003 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
2004 | :info:build ^ |
---|
2005 | :info:build == |
---|
2006 | :info:build scp.c:1142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2007 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
2008 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2009 | :info:build scp.c:1142:18: note: place parentheses around the assignment to silence this warning |
---|
2010 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
2011 | :info:build ^ |
---|
2012 | :info:build ( ) |
---|
2013 | :info:build scp.c:1142:18: note: use '==' to turn this assignment into an equality comparison |
---|
2014 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
2015 | :info:build ^ |
---|
2016 | :info:build == |
---|
2017 | :info:build scp.c:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2018 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
2019 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2020 | :info:build scp.c:1333:11: note: place parentheses around the assignment to silence this warning |
---|
2021 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
2022 | :info:build ^ |
---|
2023 | :info:build ( ) |
---|
2024 | :info:build scp.c:1333:11: note: use '==' to turn this assignment into an equality comparison |
---|
2025 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
2026 | :info:build ^ |
---|
2027 | :info:build == |
---|
2028 | :info:build scp.c:1336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2029 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2030 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
2031 | :info:build scp.c:1336:10: note: place parentheses around the assignment to silence this warning |
---|
2032 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2033 | :info:build ^ |
---|
2034 | :info:build ( ) |
---|
2035 | :info:build scp.c:1336:10: note: use '==' to turn this assignment into an equality comparison |
---|
2036 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2037 | :info:build ^ |
---|
2038 | :info:build == |
---|
2039 | :info:build scp.c:1341:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2040 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2041 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2042 | :info:build scp.c:1341:15: note: place parentheses around the assignment to silence this warning |
---|
2043 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2044 | :info:build ^ |
---|
2045 | :info:build ( ) |
---|
2046 | :info:build scp.c:1341:15: note: use '==' to turn this assignment into an equality comparison |
---|
2047 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2048 | :info:build ^ |
---|
2049 | :info:build == |
---|
2050 | :info:build scp.c:1361:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2051 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2052 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2053 | :info:build scp.c:1361:15: note: place parentheses around the assignment to silence this warning |
---|
2054 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2055 | :info:build ^ |
---|
2056 | :info:build ( ) |
---|
2057 | :info:build scp.c:1361:15: note: use '==' to turn this assignment into an equality comparison |
---|
2058 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2059 | :info:build ^ |
---|
2060 | :info:build == |
---|
2061 | :info:build scp.c:1380:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2062 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
2063 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2064 | :info:build scp.c:1380:19: note: place parentheses around the assignment to silence this warning |
---|
2065 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
2066 | :info:build ^ |
---|
2067 | :info:build ( ) |
---|
2068 | :info:build scp.c:1380:19: note: use '==' to turn this assignment into an equality comparison |
---|
2069 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
2070 | :info:build ^ |
---|
2071 | :info:build == |
---|
2072 | :info:build scp.c:1731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2073 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
2074 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2075 | :info:build scp.c:1731:10: note: place parentheses around the assignment to silence this warning |
---|
2076 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
2077 | :info:build ^ |
---|
2078 | :info:build ( ) |
---|
2079 | :info:build scp.c:1731:10: note: use '==' to turn this assignment into an equality comparison |
---|
2080 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
2081 | :info:build ^ |
---|
2082 | :info:build == |
---|
2083 | :info:build scp.c:3567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2084 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
2085 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2086 | :info:build scp.c:3567:11: note: place parentheses around the assignment to silence this warning |
---|
2087 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
2088 | :info:build ^ |
---|
2089 | :info:build ( ) |
---|
2090 | :info:build scp.c:3567:11: note: use '==' to turn this assignment into an equality comparison |
---|
2091 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
2092 | :info:build ^ |
---|
2093 | :info:build == |
---|
2094 | :info:build scp.c:3650:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2095 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
2096 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
2097 | :info:build scp.c:3650:10: note: place parentheses around the assignment to silence this warning |
---|
2098 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
2099 | :info:build ^ |
---|
2100 | :info:build ( ) |
---|
2101 | :info:build scp.c:3650:10: note: use '==' to turn this assignment into an equality comparison |
---|
2102 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
2103 | :info:build ^ |
---|
2104 | :info:build == |
---|
2105 | :info:build scp.c:3730:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2106 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
2107 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2108 | :info:build scp.c:3730:14: note: place parentheses around the assignment to silence this warning |
---|
2109 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
2110 | :info:build ^ |
---|
2111 | :info:build ( ) |
---|
2112 | :info:build scp.c:3730:14: note: use '==' to turn this assignment into an equality comparison |
---|
2113 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
2114 | :info:build ^ |
---|
2115 | :info:build == |
---|
2116 | :info:build scp.c:3948:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2117 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
2118 | :info:build ~~^~~~~~~~~ |
---|
2119 | :info:build scp.c:3948:28: note: place parentheses around the assignment to silence this warning |
---|
2120 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
2121 | :info:build ^ |
---|
2122 | :info:build ( ) |
---|
2123 | :info:build scp.c:3948:28: note: use '==' to turn this assignment into an equality comparison |
---|
2124 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
2125 | :info:build ^ |
---|
2126 | :info:build == |
---|
2127 | :info:build scp.c:3949:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2128 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
2129 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2130 | :info:build scp.c:3949:14: note: place parentheses around the assignment to silence this warning |
---|
2131 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
2132 | :info:build ^ |
---|
2133 | :info:build ( ) |
---|
2134 | :info:build scp.c:3949:14: note: use '==' to turn this assignment into an equality comparison |
---|
2135 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
2136 | :info:build ^ |
---|
2137 | :info:build == |
---|
2138 | :info:build scp.c:3956:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2139 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
2140 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2141 | :info:build scp.c:3956:19: note: place parentheses around the assignment to silence this warning |
---|
2142 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
2143 | :info:build ^ |
---|
2144 | :info:build ( ) |
---|
2145 | :info:build scp.c:3956:19: note: use '==' to turn this assignment into an equality comparison |
---|
2146 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
2147 | :info:build ^ |
---|
2148 | :info:build == |
---|
2149 | :info:build scp.c:4621:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2150 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
2151 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2152 | :info:build scp.c:4621:8: note: place parentheses around the assignment to silence this warning |
---|
2153 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
2154 | :info:build ^ |
---|
2155 | :info:build ( ) |
---|
2156 | :info:build scp.c:4621:8: note: use '==' to turn this assignment into an equality comparison |
---|
2157 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
2158 | :info:build ^ |
---|
2159 | :info:build == |
---|
2160 | :info:build 34 warnings generated. |
---|
2161 | :info:build sim_console.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2162 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2163 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2164 | :info:build sim_console.c:164:15: note: place parentheses around the assignment to silence this warning |
---|
2165 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2166 | :info:build ^ |
---|
2167 | :info:build ( ) |
---|
2168 | :info:build sim_console.c:164:15: note: use '==' to turn this assignment into an equality comparison |
---|
2169 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2170 | :info:build ^ |
---|
2171 | :info:build == |
---|
2172 | :info:build sim_console.c:167:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2173 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
2174 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2175 | :info:build sim_console.c:167:15: note: place parentheses around the assignment to silence this warning |
---|
2176 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
2177 | :info:build ^ |
---|
2178 | :info:build ( ) |
---|
2179 | :info:build sim_console.c:167:15: note: use '==' to turn this assignment into an equality comparison |
---|
2180 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
2181 | :info:build ^ |
---|
2182 | :info:build == |
---|
2183 | :info:build sim_console.c:192:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2184 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
2185 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2186 | :info:build sim_console.c:192:15: note: place parentheses around the assignment to silence this warning |
---|
2187 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
2188 | :info:build ^ |
---|
2189 | :info:build ( ) |
---|
2190 | :info:build sim_console.c:192:15: note: use '==' to turn this assignment into an equality comparison |
---|
2191 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
2192 | :info:build ^ |
---|
2193 | :info:build == |
---|
2194 | :info:build sim_console.c:461:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2195 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
2196 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2197 | :info:build sim_console.c:461:7: note: place parentheses around the assignment to silence this warning |
---|
2198 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
2199 | :info:build ^ |
---|
2200 | :info:build ( ) |
---|
2201 | :info:build sim_console.c:461:7: note: use '==' to turn this assignment into an equality comparison |
---|
2202 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
2203 | :info:build ^ |
---|
2204 | :info:build == |
---|
2205 | :info:build 4 warnings generated. |
---|
2206 | :info:build sim_tape.c:407:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2207 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
2208 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2209 | :info:build sim_tape.c:407:8: note: place parentheses around the assignment to silence this warning |
---|
2210 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
2211 | :info:build ^ |
---|
2212 | :info:build ( ) |
---|
2213 | :info:build sim_tape.c:407:8: note: use '==' to turn this assignment into an equality comparison |
---|
2214 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
2215 | :info:build ^ |
---|
2216 | :info:build == |
---|
2217 | :info:build sim_tape.c:456:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2218 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
2219 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2220 | :info:build sim_tape.c:456:8: note: place parentheses around the assignment to silence this warning |
---|
2221 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
2222 | :info:build ^ |
---|
2223 | :info:build ( ) |
---|
2224 | :info:build sim_tape.c:456:8: note: use '==' to turn this assignment into an equality comparison |
---|
2225 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
2226 | :info:build ^ |
---|
2227 | :info:build == |
---|
2228 | :info:build 2 warnings generated. |
---|
2229 | :info:build gcc -std=c99 -U__STRICT_ANSI__ -g -D_GNU_SOURCE -I . 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 |
---|
2230 | :info:build PDP8/pdp8_cpu.c:347:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2231 | :info:build if (reason = sim_process_event ()) |
---|
2232 | :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ |
---|
2233 | :info:build PDP8/pdp8_cpu.c:347:20: note: place parentheses around the assignment to silence this warning |
---|
2234 | :info:build if (reason = sim_process_event ()) |
---|
2235 | :info:build ^ |
---|
2236 | :info:build ( ) |
---|
2237 | :info:build PDP8/pdp8_cpu.c:347:20: note: use '==' to turn this assignment into an equality comparison |
---|
2238 | :info:build if (reason = sim_process_event ()) |
---|
2239 | :info:build ^ |
---|
2240 | :info:build == |
---|
2241 | :info:build 1 warning generated. |
---|
2242 | :info:build PDP8/pdp8_dt.c:967:57: warning: '/*' within block comment [-Wcomment] |
---|
2243 | :info:build /* /* ignore hdr */ |
---|
2244 | :info:build ^ |
---|
2245 | :info:build 1 warning generated. |
---|
2246 | :info:build PDP8/pdp8_mt.c:123:57: warning: '/*' within block comment [-Wcomment] |
---|
2247 | :info:build /* #define STA_BAD 00020 /* bad tape?? */ |
---|
2248 | :info:build ^ |
---|
2249 | :info:build PDP8/pdp8_mt.c:456:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2250 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) { /* write rec, err? */ |
---|
2251 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2252 | :info:build PDP8/pdp8_mt.c:456:16: note: place parentheses around the assignment to silence this warning |
---|
2253 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) { /* write rec, err? */ |
---|
2254 | :info:build ^ |
---|
2255 | :info:build ( ) |
---|
2256 | :info:build PDP8/pdp8_mt.c:456:16: note: use '==' to turn this assignment into an equality comparison |
---|
2257 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) { /* write rec, err? */ |
---|
2258 | :info:build ^ |
---|
2259 | :info:build == |
---|
2260 | :info:build PDP8/pdp8_mt.c:464:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2261 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2262 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
2263 | :info:build PDP8/pdp8_mt.c:464:16: note: place parentheses around the assignment to silence this warning |
---|
2264 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2265 | :info:build ^ |
---|
2266 | :info:build ( ) |
---|
2267 | :info:build PDP8/pdp8_mt.c:464:16: note: use '==' to turn this assignment into an equality comparison |
---|
2268 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2269 | :info:build ^ |
---|
2270 | :info:build == |
---|
2271 | :info:build PDP8/pdp8_mt.c:471:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2272 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
2273 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2274 | :info:build PDP8/pdp8_mt.c:471:20: note: place parentheses around the assignment to silence this warning |
---|
2275 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
2276 | :info:build ^ |
---|
2277 | :info:build ( ) |
---|
2278 | :info:build PDP8/pdp8_mt.c:471:20: note: use '==' to turn this assignment into an equality comparison |
---|
2279 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
2280 | :info:build ^ |
---|
2281 | :info:build == |
---|
2282 | :info:build PDP8/pdp8_mt.c:481:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2283 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
2284 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2285 | :info:build PDP8/pdp8_mt.c:481:20: note: place parentheses around the assignment to silence this warning |
---|
2286 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
2287 | :info:build ^ |
---|
2288 | :info:build ( ) |
---|
2289 | :info:build PDP8/pdp8_mt.c:481:20: note: use '==' to turn this assignment into an equality comparison |
---|
2290 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
2291 | :info:build ^ |
---|
2292 | :info:build == |
---|
2293 | :info:build 5 warnings generated. |
---|
2294 | :info:build PDP8/pdp8_ttx.c:235:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2295 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
2296 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2297 | :info:build PDP8/pdp8_ttx.c:235:18: note: place parentheses around the assignment to silence this warning |
---|
2298 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
2299 | :info:build ^ |
---|
2300 | :info:build ( ) |
---|
2301 | :info:build PDP8/pdp8_ttx.c:235:18: note: use '==' to turn this assignment into an equality comparison |
---|
2302 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
2303 | :info:build ^ |
---|
2304 | :info:build == |
---|
2305 | :info:build 1 warning generated. |
---|
2306 | :info:build PDP8/pdp8_ct.c:273:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2307 | :info:build if (uptr = ct_busy ()) /* op in progress? */ |
---|
2308 | :info:build ~~~~~^~~~~~~~~~~~ |
---|
2309 | :info:build PDP8/pdp8_ct.c:273:18: note: place parentheses around the assignment to silence this warning |
---|
2310 | :info:build if (uptr = ct_busy ()) /* op in progress? */ |
---|
2311 | :info:build ^ |
---|
2312 | :info:build ( ) |
---|
2313 | :info:build PDP8/pdp8_ct.c:273:18: note: use '==' to turn this assignment into an equality comparison |
---|
2314 | :info:build if (uptr = ct_busy ()) /* op in progress? */ |
---|
2315 | :info:build ^ |
---|
2316 | :info:build == |
---|
2317 | :info:build PDP8/pdp8_ct.c:436:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2318 | :info:build if (st = sim_tape_wrrecf (uptr, ct_xb, ct_bptr)) /* write, err? */ |
---|
2319 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2320 | :info:build PDP8/pdp8_ct.c:436:19: note: place parentheses around the assignment to silence this warning |
---|
2321 | :info:build if (st = sim_tape_wrrecf (uptr, ct_xb, ct_bptr)) /* write, err? */ |
---|
2322 | :info:build ^ |
---|
2323 | :info:build ( ) |
---|
2324 | :info:build PDP8/pdp8_ct.c:436:19: note: use '==' to turn this assignment into an equality comparison |
---|
2325 | :info:build if (st = sim_tape_wrrecf (uptr, ct_xb, ct_bptr)) /* write, err? */ |
---|
2326 | :info:build ^ |
---|
2327 | :info:build == |
---|
2328 | :info:build PDP8/pdp8_ct.c:455:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2329 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2330 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
2331 | :info:build PDP8/pdp8_ct.c:455:16: note: place parentheses around the assignment to silence this warning |
---|
2332 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2333 | :info:build ^ |
---|
2334 | :info:build ( ) |
---|
2335 | :info:build PDP8/pdp8_ct.c:455:16: note: use '==' to turn this assignment into an equality comparison |
---|
2336 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2337 | :info:build ^ |
---|
2338 | :info:build == |
---|
2339 | :info:build PDP8/pdp8_ct.c:465:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2340 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ |
---|
2341 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2342 | :info:build PDP8/pdp8_ct.c:465:16: note: place parentheses around the assignment to silence this warning |
---|
2343 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ |
---|
2344 | :info:build ^ |
---|
2345 | :info:build ( ) |
---|
2346 | :info:build PDP8/pdp8_ct.c:465:16: note: use '==' to turn this assignment into an equality comparison |
---|
2347 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ |
---|
2348 | :info:build ^ |
---|
2349 | :info:build == |
---|
2350 | :info:build 4 warnings generated. |
---|
2351 | :info:build PDP8/pdp8_fpp.c:1097:23: warning: if statement has empty body [-Wempty-body] |
---|
2352 | :info:build if (b[0] & FPN_FRSIGN); /* |b| */ |
---|
2353 | :info:build ^ |
---|
2354 | :info:build PDP8/pdp8_fpp.c:1097:23: note: put the semicolon on a separate line to silence this warning |
---|
2355 | :info:build 1 warning generated. |
---|
2356 | :info:build In file included from scp.c:182: |
---|
2357 | :info:build ./sim_rev.h:389:1: warning: '/*' within block comment [-Wcomment] |
---|
2358 | :info:build /* V3.7 revision history |
---|
2359 | :info:build ^ |
---|
2360 | :info:build ./sim_rev.h:661:1: warning: '/*' within block comment [-Wcomment] |
---|
2361 | :info:build /* V3.6 revision history |
---|
2362 | :info:build ^ |
---|
2363 | :info:build ./sim_rev.h:835:1: warning: '/*' within block comment [-Wcomment] |
---|
2364 | :info:build /* V3.5 revision history |
---|
2365 | :info:build ^ |
---|
2366 | :info:build ./sim_rev.h:971:1: warning: '/*' within block comment [-Wcomment] |
---|
2367 | :info:build /* V3.4 revision history |
---|
2368 | :info:build ^ |
---|
2369 | :info:build ./sim_rev.h:1009:1: warning: '/*' within block comment [-Wcomment] |
---|
2370 | :info:build /* V3.3 revision history |
---|
2371 | :info:build ^ |
---|
2372 | :info:build ./sim_rev.h:1261:1: warning: '/*' within block comment [-Wcomment] |
---|
2373 | :info:build /* V3.2 revision history |
---|
2374 | :info:build ^ |
---|
2375 | :info:build ./sim_rev.h:1460:1: warning: '/*' within block comment [-Wcomment] |
---|
2376 | :info:build /* V3.1 revision history |
---|
2377 | :info:build ^ |
---|
2378 | :info:build ./sim_rev.h:1573:1: warning: '/*' within block comment [-Wcomment] |
---|
2379 | :info:build /* V3.0 revision history |
---|
2380 | :info:build ^ |
---|
2381 | :info:build ./sim_rev.h:1739:1: warning: '/*' within block comment [-Wcomment] |
---|
2382 | :info:build /* V2.10 revision history |
---|
2383 | :info:build ^ |
---|
2384 | :info:build ./sim_rev.h:2037:1: warning: '/*' within block comment [-Wcomment] |
---|
2385 | :info:build /* V2.9 revision history |
---|
2386 | :info:build ^ |
---|
2387 | :info:build scp.c:665:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2388 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
2389 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2390 | :info:build scp.c:665:12: note: place parentheses around the assignment to silence this warning |
---|
2391 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
2392 | :info:build ^ |
---|
2393 | :info:build ( ) |
---|
2394 | :info:build scp.c:665:12: note: use '==' to turn this assignment into an equality comparison |
---|
2395 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
2396 | :info:build ^ |
---|
2397 | :info:build == |
---|
2398 | :info:build scp.c:673:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2399 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
2400 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2401 | :info:build scp.c:673:14: note: place parentheses around the assignment to silence this warning |
---|
2402 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
2403 | :info:build ^ |
---|
2404 | :info:build ( ) |
---|
2405 | :info:build scp.c:673:14: note: use '==' to turn this assignment into an equality comparison |
---|
2406 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
2407 | :info:build ^ |
---|
2408 | :info:build == |
---|
2409 | :info:build scp.c:686:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2410 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
2411 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
2412 | :info:build scp.c:686:14: note: place parentheses around the assignment to silence this warning |
---|
2413 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
2414 | :info:build ^ |
---|
2415 | :info:build ( ) |
---|
2416 | :info:build scp.c:686:14: note: use '==' to turn this assignment into an equality comparison |
---|
2417 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
2418 | :info:build ^ |
---|
2419 | :info:build == |
---|
2420 | :info:build scp.c:753:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2421 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
2422 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
2423 | :info:build scp.c:753:14: note: place parentheses around the assignment to silence this warning |
---|
2424 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
2425 | :info:build ^ |
---|
2426 | :info:build ( ) |
---|
2427 | :info:build scp.c:753:14: note: use '==' to turn this assignment into an equality comparison |
---|
2428 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
2429 | :info:build ^ |
---|
2430 | :info:build == |
---|
2431 | :info:build scp.c:897:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2432 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
2433 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
2434 | :info:build scp.c:897:14: note: place parentheses around the assignment to silence this warning |
---|
2435 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
2436 | :info:build ^ |
---|
2437 | :info:build ( ) |
---|
2438 | :info:build scp.c:897:14: note: use '==' to turn this assignment into an equality comparison |
---|
2439 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
2440 | :info:build ^ |
---|
2441 | :info:build == |
---|
2442 | :info:build scp.c:1077:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2443 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2444 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
2445 | :info:build scp.c:1077:10: note: place parentheses around the assignment to silence this warning |
---|
2446 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2447 | :info:build ^ |
---|
2448 | :info:build ( ) |
---|
2449 | :info:build scp.c:1077:10: note: use '==' to turn this assignment into an equality comparison |
---|
2450 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2451 | :info:build ^ |
---|
2452 | :info:build == |
---|
2453 | :info:build scp.c:1082:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2454 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2455 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2456 | :info:build scp.c:1082:15: note: place parentheses around the assignment to silence this warning |
---|
2457 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2458 | :info:build ^ |
---|
2459 | :info:build ( ) |
---|
2460 | :info:build scp.c:1082:15: note: use '==' to turn this assignment into an equality comparison |
---|
2461 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2462 | :info:build ^ |
---|
2463 | :info:build == |
---|
2464 | :info:build scp.c:1088:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2465 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
2466 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2467 | :info:build scp.c:1088:16: note: place parentheses around the assignment to silence this warning |
---|
2468 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
2469 | :info:build ^ |
---|
2470 | :info:build ( ) |
---|
2471 | :info:build scp.c:1088:16: note: use '==' to turn this assignment into an equality comparison |
---|
2472 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
2473 | :info:build ^ |
---|
2474 | :info:build == |
---|
2475 | :info:build scp.c:1096:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2476 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2477 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2478 | :info:build scp.c:1096:15: note: place parentheses around the assignment to silence this warning |
---|
2479 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2480 | :info:build ^ |
---|
2481 | :info:build ( ) |
---|
2482 | :info:build scp.c:1096:15: note: use '==' to turn this assignment into an equality comparison |
---|
2483 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2484 | :info:build ^ |
---|
2485 | :info:build == |
---|
2486 | :info:build scp.c:1109:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2487 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
2488 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2489 | :info:build scp.c:1109:35: note: place parentheses around the assignment to silence this warning |
---|
2490 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
2491 | :info:build ^ |
---|
2492 | :info:build ( ) |
---|
2493 | :info:build scp.c:1109:35: note: use '==' to turn this assignment into an equality comparison |
---|
2494 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
2495 | :info:build ^ |
---|
2496 | :info:build == |
---|
2497 | :info:build scp.c:1142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2498 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
2499 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2500 | :info:build scp.c:1142:18: note: place parentheses around the assignment to silence this warning |
---|
2501 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
2502 | :info:build ^ |
---|
2503 | :info:build ( ) |
---|
2504 | :info:build scp.c:1142:18: note: use '==' to turn this assignment into an equality comparison |
---|
2505 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
2506 | :info:build ^ |
---|
2507 | :info:build == |
---|
2508 | :info:build scp.c:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2509 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
2510 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2511 | :info:build scp.c:1333:11: note: place parentheses around the assignment to silence this warning |
---|
2512 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
2513 | :info:build ^ |
---|
2514 | :info:build ( ) |
---|
2515 | :info:build scp.c:1333:11: note: use '==' to turn this assignment into an equality comparison |
---|
2516 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
2517 | :info:build ^ |
---|
2518 | :info:build == |
---|
2519 | :info:build scp.c:1336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2520 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2521 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
2522 | :info:build scp.c:1336:10: note: place parentheses around the assignment to silence this warning |
---|
2523 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2524 | :info:build ^ |
---|
2525 | :info:build ( ) |
---|
2526 | :info:build scp.c:1336:10: note: use '==' to turn this assignment into an equality comparison |
---|
2527 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
2528 | :info:build ^ |
---|
2529 | :info:build == |
---|
2530 | :info:build scp.c:1341:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2531 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2532 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2533 | :info:build scp.c:1341:15: note: place parentheses around the assignment to silence this warning |
---|
2534 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2535 | :info:build ^ |
---|
2536 | :info:build ( ) |
---|
2537 | :info:build scp.c:1341:15: note: use '==' to turn this assignment into an equality comparison |
---|
2538 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
2539 | :info:build ^ |
---|
2540 | :info:build == |
---|
2541 | :info:build scp.c:1361:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2542 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2543 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2544 | :info:build scp.c:1361:15: note: place parentheses around the assignment to silence this warning |
---|
2545 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2546 | :info:build ^ |
---|
2547 | :info:build ( ) |
---|
2548 | :info:build scp.c:1361:15: note: use '==' to turn this assignment into an equality comparison |
---|
2549 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2550 | :info:build ^ |
---|
2551 | :info:build == |
---|
2552 | :info:build scp.c:1380:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2553 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
2554 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2555 | :info:build scp.c:1380:19: note: place parentheses around the assignment to silence this warning |
---|
2556 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
2557 | :info:build ^ |
---|
2558 | :info:build ( ) |
---|
2559 | :info:build scp.c:1380:19: note: use '==' to turn this assignment into an equality comparison |
---|
2560 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
2561 | :info:build ^ |
---|
2562 | :info:build == |
---|
2563 | :info:build scp.c:1731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2564 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
2565 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2566 | :info:build scp.c:1731:10: note: place parentheses around the assignment to silence this warning |
---|
2567 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
2568 | :info:build ^ |
---|
2569 | :info:build ( ) |
---|
2570 | :info:build scp.c:1731:10: note: use '==' to turn this assignment into an equality comparison |
---|
2571 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
2572 | :info:build ^ |
---|
2573 | :info:build == |
---|
2574 | :info:build scp.c:3567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2575 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
2576 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2577 | :info:build scp.c:3567:11: note: place parentheses around the assignment to silence this warning |
---|
2578 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
2579 | :info:build ^ |
---|
2580 | :info:build ( ) |
---|
2581 | :info:build scp.c:3567:11: note: use '==' to turn this assignment into an equality comparison |
---|
2582 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
2583 | :info:build ^ |
---|
2584 | :info:build == |
---|
2585 | :info:build scp.c:3650:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2586 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
2587 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
2588 | :info:build scp.c:3650:10: note: place parentheses around the assignment to silence this warning |
---|
2589 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
2590 | :info:build ^ |
---|
2591 | :info:build ( ) |
---|
2592 | :info:build scp.c:3650:10: note: use '==' to turn this assignment into an equality comparison |
---|
2593 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
2594 | :info:build ^ |
---|
2595 | :info:build == |
---|
2596 | :info:build scp.c:3730:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2597 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
2598 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2599 | :info:build scp.c:3730:14: note: place parentheses around the assignment to silence this warning |
---|
2600 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
2601 | :info:build ^ |
---|
2602 | :info:build ( ) |
---|
2603 | :info:build scp.c:3730:14: note: use '==' to turn this assignment into an equality comparison |
---|
2604 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
2605 | :info:build ^ |
---|
2606 | :info:build == |
---|
2607 | :info:build scp.c:3948:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2608 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
2609 | :info:build ~~^~~~~~~~~ |
---|
2610 | :info:build scp.c:3948:28: note: place parentheses around the assignment to silence this warning |
---|
2611 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
2612 | :info:build ^ |
---|
2613 | :info:build ( ) |
---|
2614 | :info:build scp.c:3948:28: note: use '==' to turn this assignment into an equality comparison |
---|
2615 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
2616 | :info:build ^ |
---|
2617 | :info:build == |
---|
2618 | :info:build scp.c:3949:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2619 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
2620 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2621 | :info:build scp.c:3949:14: note: place parentheses around the assignment to silence this warning |
---|
2622 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
2623 | :info:build ^ |
---|
2624 | :info:build ( ) |
---|
2625 | :info:build scp.c:3949:14: note: use '==' to turn this assignment into an equality comparison |
---|
2626 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
2627 | :info:build ^ |
---|
2628 | :info:build == |
---|
2629 | :info:build scp.c:3956:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2630 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
2631 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2632 | :info:build scp.c:3956:19: note: place parentheses around the assignment to silence this warning |
---|
2633 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
2634 | :info:build ^ |
---|
2635 | :info:build ( ) |
---|
2636 | :info:build scp.c:3956:19: note: use '==' to turn this assignment into an equality comparison |
---|
2637 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
2638 | :info:build ^ |
---|
2639 | :info:build == |
---|
2640 | :info:build scp.c:4621:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2641 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
2642 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2643 | :info:build scp.c:4621:8: note: place parentheses around the assignment to silence this warning |
---|
2644 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
2645 | :info:build ^ |
---|
2646 | :info:build ( ) |
---|
2647 | :info:build scp.c:4621:8: note: use '==' to turn this assignment into an equality comparison |
---|
2648 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
2649 | :info:build ^ |
---|
2650 | :info:build == |
---|
2651 | :info:build 34 warnings generated. |
---|
2652 | :info:build sim_console.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2653 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2654 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
2655 | :info:build sim_console.c:164:15: note: place parentheses around the assignment to silence this warning |
---|
2656 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2657 | :info:build ^ |
---|
2658 | :info:build ( ) |
---|
2659 | :info:build sim_console.c:164:15: note: use '==' to turn this assignment into an equality comparison |
---|
2660 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
2661 | :info:build ^ |
---|
2662 | :info:build == |
---|
2663 | :info:build sim_console.c:167:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2664 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
2665 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2666 | :info:build sim_console.c:167:15: note: place parentheses around the assignment to silence this warning |
---|
2667 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
2668 | :info:build ^ |
---|
2669 | :info:build ( ) |
---|
2670 | :info:build sim_console.c:167:15: note: use '==' to turn this assignment into an equality comparison |
---|
2671 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
2672 | :info:build ^ |
---|
2673 | :info:build == |
---|
2674 | :info:build sim_console.c:192:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2675 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
2676 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2677 | :info:build sim_console.c:192:15: note: place parentheses around the assignment to silence this warning |
---|
2678 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
2679 | :info:build ^ |
---|
2680 | :info:build ( ) |
---|
2681 | :info:build sim_console.c:192:15: note: use '==' to turn this assignment into an equality comparison |
---|
2682 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
2683 | :info:build ^ |
---|
2684 | :info:build == |
---|
2685 | :info:build sim_console.c:461:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2686 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
2687 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2688 | :info:build sim_console.c:461:7: note: place parentheses around the assignment to silence this warning |
---|
2689 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
2690 | :info:build ^ |
---|
2691 | :info:build ( ) |
---|
2692 | :info:build sim_console.c:461:7: note: use '==' to turn this assignment into an equality comparison |
---|
2693 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
2694 | :info:build ^ |
---|
2695 | :info:build == |
---|
2696 | :info:build 4 warnings generated. |
---|
2697 | :info:build sim_tape.c:407:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2698 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
2699 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2700 | :info:build sim_tape.c:407:8: note: place parentheses around the assignment to silence this warning |
---|
2701 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
2702 | :info:build ^ |
---|
2703 | :info:build ( ) |
---|
2704 | :info:build sim_tape.c:407:8: note: use '==' to turn this assignment into an equality comparison |
---|
2705 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
2706 | :info:build ^ |
---|
2707 | :info:build == |
---|
2708 | :info:build sim_tape.c:456:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2709 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
2710 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2711 | :info:build sim_tape.c:456:8: note: place parentheses around the assignment to silence this warning |
---|
2712 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
2713 | :info:build ^ |
---|
2714 | :info:build ( ) |
---|
2715 | :info:build sim_tape.c:456:8: note: use '==' to turn this assignment into an equality comparison |
---|
2716 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
2717 | :info:build ^ |
---|
2718 | :info:build == |
---|
2719 | :info:build 2 warnings generated. |
---|
2720 | :info:build gcc -std=c99 -U__STRICT_ANSI__ -g -D_GNU_SOURCE -I . 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 |
---|
2721 | :info:build PDP18B/pdp18b_dt.c:1150:57: warning: '/*' within block comment [-Wcomment] |
---|
2722 | :info:build /* /* ignore hdr */ |
---|
2723 | :info:build ^ |
---|
2724 | :info:build 1 warning generated. |
---|
2725 | :info:build PDP18B/pdp18b_cpu.c:607:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2726 | :info:build if (reason = sim_process_event ()) |
---|
2727 | :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ |
---|
2728 | :info:build PDP18B/pdp18b_cpu.c:607:20: note: place parentheses around the assignment to silence this warning |
---|
2729 | :info:build if (reason = sim_process_event ()) |
---|
2730 | :info:build ^ |
---|
2731 | :info:build ( ) |
---|
2732 | :info:build PDP18B/pdp18b_cpu.c:607:20: note: use '==' to turn this assignment into an equality comparison |
---|
2733 | :info:build if (reason = sim_process_event ()) |
---|
2734 | :info:build ^ |
---|
2735 | :info:build == |
---|
2736 | :info:build 1 warning generated. |
---|
2737 | :info:build PDP18B/pdp18b_mt.c:356:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2738 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
2739 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2740 | :info:build PDP18B/pdp18b_mt.c:356:16: note: place parentheses around the assignment to silence this warning |
---|
2741 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
2742 | :info:build ^ |
---|
2743 | :info:build ( ) |
---|
2744 | :info:build PDP18B/pdp18b_mt.c:356:16: note: use '==' to turn this assignment into an equality comparison |
---|
2745 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
2746 | :info:build ^ |
---|
2747 | :info:build == |
---|
2748 | :info:build PDP18B/pdp18b_mt.c:366:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2749 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2750 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
2751 | :info:build PDP18B/pdp18b_mt.c:366:16: note: place parentheses around the assignment to silence this warning |
---|
2752 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2753 | :info:build ^ |
---|
2754 | :info:build ( ) |
---|
2755 | :info:build PDP18B/pdp18b_mt.c:366:16: note: use '==' to turn this assignment into an equality comparison |
---|
2756 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
2757 | :info:build ^ |
---|
2758 | :info:build == |
---|
2759 | :info:build PDP18B/pdp18b_mt.c:375:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2760 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
2761 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2762 | :info:build PDP18B/pdp18b_mt.c:375:20: note: place parentheses around the assignment to silence this warning |
---|
2763 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
2764 | :info:build ^ |
---|
2765 | :info:build ( ) |
---|
2766 | :info:build PDP18B/pdp18b_mt.c:375:20: note: use '==' to turn this assignment into an equality comparison |
---|
2767 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
2768 | :info:build ^ |
---|
2769 | :info:build == |
---|
2770 | :info:build PDP18B/pdp18b_mt.c:385:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2771 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
2772 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2773 | :info:build PDP18B/pdp18b_mt.c:385:20: note: place parentheses around the assignment to silence this warning |
---|
2774 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
2775 | :info:build ^ |
---|
2776 | :info:build ( ) |
---|
2777 | :info:build PDP18B/pdp18b_mt.c:385:20: note: use '==' to turn this assignment into an equality comparison |
---|
2778 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
2779 | :info:build ^ |
---|
2780 | :info:build == |
---|
2781 | :info:build 4 warnings generated. |
---|
2782 | :info:build PDP18B/pdp18b_stddev.c:585:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2783 | :info:build while (temp = temp & (temp - 1)) |
---|
2784 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~ |
---|
2785 | :info:build PDP18B/pdp18b_stddev.c:585:21: note: place parentheses around the assignment to silence this warning |
---|
2786 | :info:build while (temp = temp & (temp - 1)) |
---|
2787 | :info:build ^ |
---|
2788 | :info:build ( ) |
---|
2789 | :info:build PDP18B/pdp18b_stddev.c:585:21: note: use '==' to turn this assignment into an equality comparison |
---|
2790 | :info:build while (temp = temp & (temp - 1)) |
---|
2791 | :info:build ^ |
---|
2792 | :info:build == |
---|
2793 | :info:build PDP18B/pdp18b_stddev.c:985:30: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
2794 | :info:build dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ |
---|
2795 | :info:build ~ ~~~~~~~~~~~~~^~~~~~~~~~ |
---|
2796 | :info:build PDP18B/pdp18b_stddev.c:985:30: note: place parentheses around the '&' expression to silence this warning |
---|
2797 | :info:build dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ |
---|
2798 | :info:build ~~~~~~~~~~~~~^~~~~~~~~~ |
---|
2799 | :info:build 2 warnings generated. |
---|
2800 | :info:build PDP18B/pdp18b_sys.c:1013:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2801 | :info:build if (sp = (inst & 03730)) |
---|
2802 | :info:build ~~~^~~~~~~~~~~~~~~~ |
---|
2803 | :info:build PDP18B/pdp18b_sys.c:1013:20: note: place parentheses around the assignment to silence this warning |
---|
2804 | :info:build if (sp = (inst & 03730)) |
---|
2805 | :info:build ^ |
---|
2806 | :info:build ( ) |
---|
2807 | :info:build PDP18B/pdp18b_sys.c:1013:20: note: use '==' to turn this assignment into an equality comparison |
---|
2808 | :info:build if (sp = (inst & 03730)) |
---|
2809 | :info:build ^ |
---|
2810 | :info:build == |
---|
2811 | :info:build 1 warning generated. |
---|
2812 | :info:build PDP18B/pdp18b_tt1.c:224:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2813 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
2814 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2815 | :info:build PDP18B/pdp18b_tt1.c:224:18: note: place parentheses around the assignment to silence this warning |
---|
2816 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
2817 | :info:build ^ |
---|
2818 | :info:build ( ) |
---|
2819 | :info:build PDP18B/pdp18b_tt1.c:224:18: note: use '==' to turn this assignment into an equality comparison |
---|
2820 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
2821 | :info:build ^ |
---|
2822 | :info:build == |
---|
2823 | :info:build 1 warning generated. |
---|
2824 | :info:build PDP18B/pdp18b_fpp.c:251:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2825 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2826 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2827 | :info:build PDP18B/pdp18b_fpp.c:251:17: note: place parentheses around the assignment to silence this warning |
---|
2828 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2829 | :info:build ^ |
---|
2830 | :info:build ( ) |
---|
2831 | :info:build PDP18B/pdp18b_fpp.c:251:17: note: use '==' to turn this assignment into an equality comparison |
---|
2832 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2833 | :info:build ^ |
---|
2834 | :info:build == |
---|
2835 | :info:build PDP18B/pdp18b_fpp.c:260:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2836 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2837 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2838 | :info:build PDP18B/pdp18b_fpp.c:260:17: note: place parentheses around the assignment to silence this warning |
---|
2839 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2840 | :info:build ^ |
---|
2841 | :info:build ( ) |
---|
2842 | :info:build PDP18B/pdp18b_fpp.c:260:17: note: use '==' to turn this assignment into an equality comparison |
---|
2843 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2844 | :info:build ^ |
---|
2845 | :info:build == |
---|
2846 | :info:build PDP18B/pdp18b_fpp.c:268:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2847 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2848 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2849 | :info:build PDP18B/pdp18b_fpp.c:268:17: note: place parentheses around the assignment to silence this warning |
---|
2850 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2851 | :info:build ^ |
---|
2852 | :info:build ( ) |
---|
2853 | :info:build PDP18B/pdp18b_fpp.c:268:17: note: use '==' to turn this assignment into an equality comparison |
---|
2854 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2855 | :info:build ^ |
---|
2856 | :info:build == |
---|
2857 | :info:build PDP18B/pdp18b_fpp.c:276:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2858 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2859 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2860 | :info:build PDP18B/pdp18b_fpp.c:276:17: note: place parentheses around the assignment to silence this warning |
---|
2861 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2862 | :info:build ^ |
---|
2863 | :info:build ( ) |
---|
2864 | :info:build PDP18B/pdp18b_fpp.c:276:17: note: use '==' to turn this assignment into an equality comparison |
---|
2865 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2866 | :info:build ^ |
---|
2867 | :info:build == |
---|
2868 | :info:build PDP18B/pdp18b_fpp.c:278:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2869 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
2870 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2871 | :info:build PDP18B/pdp18b_fpp.c:278:17: note: place parentheses around the assignment to silence this warning |
---|
2872 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
2873 | :info:build ^ |
---|
2874 | :info:build ( ) |
---|
2875 | :info:build PDP18B/pdp18b_fpp.c:278:17: note: use '==' to turn this assignment into an equality comparison |
---|
2876 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
2877 | :info:build ^ |
---|
2878 | :info:build == |
---|
2879 | :info:build PDP18B/pdp18b_fpp.c:286:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2880 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2881 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2882 | :info:build PDP18B/pdp18b_fpp.c:286:17: note: place parentheses around the assignment to silence this warning |
---|
2883 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2884 | :info:build ^ |
---|
2885 | :info:build ( ) |
---|
2886 | :info:build PDP18B/pdp18b_fpp.c:286:17: note: use '==' to turn this assignment into an equality comparison |
---|
2887 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2888 | :info:build ^ |
---|
2889 | :info:build == |
---|
2890 | :info:build PDP18B/pdp18b_fpp.c:294:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2891 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2892 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2893 | :info:build PDP18B/pdp18b_fpp.c:294:17: note: place parentheses around the assignment to silence this warning |
---|
2894 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2895 | :info:build ^ |
---|
2896 | :info:build ( ) |
---|
2897 | :info:build PDP18B/pdp18b_fpp.c:294:17: note: use '==' to turn this assignment into an equality comparison |
---|
2898 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2899 | :info:build ^ |
---|
2900 | :info:build == |
---|
2901 | :info:build PDP18B/pdp18b_fpp.c:307:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2902 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2903 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2904 | :info:build PDP18B/pdp18b_fpp.c:307:17: note: place parentheses around the assignment to silence this warning |
---|
2905 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2906 | :info:build ^ |
---|
2907 | :info:build ( ) |
---|
2908 | :info:build PDP18B/pdp18b_fpp.c:307:17: note: use '==' to turn this assignment into an equality comparison |
---|
2909 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2910 | :info:build ^ |
---|
2911 | :info:build == |
---|
2912 | :info:build PDP18B/pdp18b_fpp.c:315:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2913 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2914 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2915 | :info:build PDP18B/pdp18b_fpp.c:315:17: note: place parentheses around the assignment to silence this warning |
---|
2916 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2917 | :info:build ^ |
---|
2918 | :info:build ( ) |
---|
2919 | :info:build PDP18B/pdp18b_fpp.c:315:17: note: use '==' to turn this assignment into an equality comparison |
---|
2920 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2921 | :info:build ^ |
---|
2922 | :info:build == |
---|
2923 | :info:build PDP18B/pdp18b_fpp.c:321:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2924 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2925 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2926 | :info:build PDP18B/pdp18b_fpp.c:321:17: note: place parentheses around the assignment to silence this warning |
---|
2927 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2928 | :info:build ^ |
---|
2929 | :info:build ( ) |
---|
2930 | :info:build PDP18B/pdp18b_fpp.c:321:17: note: use '==' to turn this assignment into an equality comparison |
---|
2931 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
2932 | :info:build ^ |
---|
2933 | :info:build == |
---|
2934 | :info:build PDP18B/pdp18b_fpp.c:335:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2935 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
2936 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~ |
---|
2937 | :info:build PDP18B/pdp18b_fpp.c:335:21: note: place parentheses around the assignment to silence this warning |
---|
2938 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
2939 | :info:build ^ |
---|
2940 | :info:build ( ) |
---|
2941 | :info:build PDP18B/pdp18b_fpp.c:335:21: note: use '==' to turn this assignment into an equality comparison |
---|
2942 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
2943 | :info:build ^ |
---|
2944 | :info:build == |
---|
2945 | :info:build PDP18B/pdp18b_fpp.c:343:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2946 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2947 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2948 | :info:build PDP18B/pdp18b_fpp.c:343:17: note: place parentheses around the assignment to silence this warning |
---|
2949 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2950 | :info:build ^ |
---|
2951 | :info:build ( ) |
---|
2952 | :info:build PDP18B/pdp18b_fpp.c:343:17: note: use '==' to turn this assignment into an equality comparison |
---|
2953 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
2954 | :info:build ^ |
---|
2955 | :info:build == |
---|
2956 | :info:build PDP18B/pdp18b_fpp.c:427:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
2957 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
2958 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
2959 | :info:build PDP18B/pdp18b_fpp.c:427:13: note: place parentheses around the assignment to silence this warning |
---|
2960 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
2961 | :info:build ^ |
---|
2962 | :info:build ( ) |
---|
2963 | :info:build PDP18B/pdp18b_fpp.c:427:13: note: use '==' to turn this assignment into an equality comparison |
---|
2964 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
2965 | :info:build ^ |
---|
2966 | :info:build == |
---|
2967 | :info:build 13 warnings generated. |
---|
2968 | :info:build In file included from scp.c:182: |
---|
2969 | :info:build ./sim_rev.h:389:1: warning: '/*' within block comment [-Wcomment] |
---|
2970 | :info:build /* V3.7 revision history |
---|
2971 | :info:build ^ |
---|
2972 | :info:build ./sim_rev.h:661:1: warning: '/*' within block comment [-Wcomment] |
---|
2973 | :info:build /* V3.6 revision history |
---|
2974 | :info:build ^ |
---|
2975 | :info:build ./sim_rev.h:835:1: warning: '/*' within block comment [-Wcomment] |
---|
2976 | :info:build /* V3.5 revision history |
---|
2977 | :info:build ^ |
---|
2978 | :info:build ./sim_rev.h:971:1: warning: '/*' within block comment [-Wcomment] |
---|
2979 | :info:build /* V3.4 revision history |
---|
2980 | :info:build ^ |
---|
2981 | :info:build ./sim_rev.h:1009:1: warning: '/*' within block comment [-Wcomment] |
---|
2982 | :info:build /* V3.3 revision history |
---|
2983 | :info:build ^ |
---|
2984 | :info:build ./sim_rev.h:1261:1: warning: '/*' within block comment [-Wcomment] |
---|
2985 | :info:build /* V3.2 revision history |
---|
2986 | :info:build ^ |
---|
2987 | :info:build ./sim_rev.h:1460:1: warning: '/*' within block comment [-Wcomment] |
---|
2988 | :info:build /* V3.1 revision history |
---|
2989 | :info:build ^ |
---|
2990 | :info:build ./sim_rev.h:1573:1: warning: '/*' within block comment [-Wcomment] |
---|
2991 | :info:build /* V3.0 revision history |
---|
2992 | :info:build ^ |
---|
2993 | :info:build ./sim_rev.h:1739:1: warning: '/*' within block comment [-Wcomment] |
---|
2994 | :info:build /* V2.10 revision history |
---|
2995 | :info:build ^ |
---|
2996 | :info:build ./sim_rev.h:2037:1: warning: '/*' within block comment [-Wcomment] |
---|
2997 | :info:build /* V2.9 revision history |
---|
2998 | :info:build ^ |
---|
2999 | :info:build scp.c:665:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3000 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
3001 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3002 | :info:build scp.c:665:12: note: place parentheses around the assignment to silence this warning |
---|
3003 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
3004 | :info:build ^ |
---|
3005 | :info:build ( ) |
---|
3006 | :info:build scp.c:665:12: note: use '==' to turn this assignment into an equality comparison |
---|
3007 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
3008 | :info:build ^ |
---|
3009 | :info:build == |
---|
3010 | :info:build scp.c:673:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3011 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
3012 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3013 | :info:build scp.c:673:14: note: place parentheses around the assignment to silence this warning |
---|
3014 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
3015 | :info:build ^ |
---|
3016 | :info:build ( ) |
---|
3017 | :info:build scp.c:673:14: note: use '==' to turn this assignment into an equality comparison |
---|
3018 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
3019 | :info:build ^ |
---|
3020 | :info:build == |
---|
3021 | :info:build scp.c:686:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3022 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
3023 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3024 | :info:build scp.c:686:14: note: place parentheses around the assignment to silence this warning |
---|
3025 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
3026 | :info:build ^ |
---|
3027 | :info:build ( ) |
---|
3028 | :info:build scp.c:686:14: note: use '==' to turn this assignment into an equality comparison |
---|
3029 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
3030 | :info:build ^ |
---|
3031 | :info:build == |
---|
3032 | :info:build scp.c:753:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3033 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
3034 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3035 | :info:build scp.c:753:14: note: place parentheses around the assignment to silence this warning |
---|
3036 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
3037 | :info:build ^ |
---|
3038 | :info:build ( ) |
---|
3039 | :info:build scp.c:753:14: note: use '==' to turn this assignment into an equality comparison |
---|
3040 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
3041 | :info:build ^ |
---|
3042 | :info:build == |
---|
3043 | :info:build scp.c:897:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3044 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
3045 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3046 | :info:build scp.c:897:14: note: place parentheses around the assignment to silence this warning |
---|
3047 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
3048 | :info:build ^ |
---|
3049 | :info:build ( ) |
---|
3050 | :info:build scp.c:897:14: note: use '==' to turn this assignment into an equality comparison |
---|
3051 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
3052 | :info:build ^ |
---|
3053 | :info:build == |
---|
3054 | :info:build scp.c:1077:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3055 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3056 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3057 | :info:build scp.c:1077:10: note: place parentheses around the assignment to silence this warning |
---|
3058 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3059 | :info:build ^ |
---|
3060 | :info:build ( ) |
---|
3061 | :info:build scp.c:1077:10: note: use '==' to turn this assignment into an equality comparison |
---|
3062 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3063 | :info:build ^ |
---|
3064 | :info:build == |
---|
3065 | :info:build scp.c:1082:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3066 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3067 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3068 | :info:build scp.c:1082:15: note: place parentheses around the assignment to silence this warning |
---|
3069 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3070 | :info:build ^ |
---|
3071 | :info:build ( ) |
---|
3072 | :info:build scp.c:1082:15: note: use '==' to turn this assignment into an equality comparison |
---|
3073 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3074 | :info:build ^ |
---|
3075 | :info:build == |
---|
3076 | :info:build scp.c:1088:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3077 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
3078 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3079 | :info:build scp.c:1088:16: note: place parentheses around the assignment to silence this warning |
---|
3080 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
3081 | :info:build ^ |
---|
3082 | :info:build ( ) |
---|
3083 | :info:build scp.c:1088:16: note: use '==' to turn this assignment into an equality comparison |
---|
3084 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
3085 | :info:build ^ |
---|
3086 | :info:build == |
---|
3087 | :info:build scp.c:1096:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3088 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3089 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3090 | :info:build scp.c:1096:15: note: place parentheses around the assignment to silence this warning |
---|
3091 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3092 | :info:build ^ |
---|
3093 | :info:build ( ) |
---|
3094 | :info:build scp.c:1096:15: note: use '==' to turn this assignment into an equality comparison |
---|
3095 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3096 | :info:build ^ |
---|
3097 | :info:build == |
---|
3098 | :info:build scp.c:1109:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3099 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
3100 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3101 | :info:build scp.c:1109:35: note: place parentheses around the assignment to silence this warning |
---|
3102 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
3103 | :info:build ^ |
---|
3104 | :info:build ( ) |
---|
3105 | :info:build scp.c:1109:35: note: use '==' to turn this assignment into an equality comparison |
---|
3106 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
3107 | :info:build ^ |
---|
3108 | :info:build == |
---|
3109 | :info:build scp.c:1142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3110 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
3111 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3112 | :info:build scp.c:1142:18: note: place parentheses around the assignment to silence this warning |
---|
3113 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
3114 | :info:build ^ |
---|
3115 | :info:build ( ) |
---|
3116 | :info:build scp.c:1142:18: note: use '==' to turn this assignment into an equality comparison |
---|
3117 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
3118 | :info:build ^ |
---|
3119 | :info:build == |
---|
3120 | :info:build scp.c:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3121 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
3122 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3123 | :info:build scp.c:1333:11: note: place parentheses around the assignment to silence this warning |
---|
3124 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
3125 | :info:build ^ |
---|
3126 | :info:build ( ) |
---|
3127 | :info:build scp.c:1333:11: note: use '==' to turn this assignment into an equality comparison |
---|
3128 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
3129 | :info:build ^ |
---|
3130 | :info:build == |
---|
3131 | :info:build scp.c:1336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3132 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3133 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3134 | :info:build scp.c:1336:10: note: place parentheses around the assignment to silence this warning |
---|
3135 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3136 | :info:build ^ |
---|
3137 | :info:build ( ) |
---|
3138 | :info:build scp.c:1336:10: note: use '==' to turn this assignment into an equality comparison |
---|
3139 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3140 | :info:build ^ |
---|
3141 | :info:build == |
---|
3142 | :info:build scp.c:1341:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3143 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3144 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3145 | :info:build scp.c:1341:15: note: place parentheses around the assignment to silence this warning |
---|
3146 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3147 | :info:build ^ |
---|
3148 | :info:build ( ) |
---|
3149 | :info:build scp.c:1341:15: note: use '==' to turn this assignment into an equality comparison |
---|
3150 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3151 | :info:build ^ |
---|
3152 | :info:build == |
---|
3153 | :info:build scp.c:1361:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3154 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3155 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3156 | :info:build scp.c:1361:15: note: place parentheses around the assignment to silence this warning |
---|
3157 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3158 | :info:build ^ |
---|
3159 | :info:build ( ) |
---|
3160 | :info:build scp.c:1361:15: note: use '==' to turn this assignment into an equality comparison |
---|
3161 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3162 | :info:build ^ |
---|
3163 | :info:build == |
---|
3164 | :info:build scp.c:1380:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3165 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
3166 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3167 | :info:build scp.c:1380:19: note: place parentheses around the assignment to silence this warning |
---|
3168 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
3169 | :info:build ^ |
---|
3170 | :info:build ( ) |
---|
3171 | :info:build scp.c:1380:19: note: use '==' to turn this assignment into an equality comparison |
---|
3172 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
3173 | :info:build ^ |
---|
3174 | :info:build == |
---|
3175 | :info:build scp.c:1731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3176 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
3177 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3178 | :info:build scp.c:1731:10: note: place parentheses around the assignment to silence this warning |
---|
3179 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
3180 | :info:build ^ |
---|
3181 | :info:build ( ) |
---|
3182 | :info:build scp.c:1731:10: note: use '==' to turn this assignment into an equality comparison |
---|
3183 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
3184 | :info:build ^ |
---|
3185 | :info:build == |
---|
3186 | :info:build scp.c:3567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3187 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
3188 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3189 | :info:build scp.c:3567:11: note: place parentheses around the assignment to silence this warning |
---|
3190 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
3191 | :info:build ^ |
---|
3192 | :info:build ( ) |
---|
3193 | :info:build scp.c:3567:11: note: use '==' to turn this assignment into an equality comparison |
---|
3194 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
3195 | :info:build ^ |
---|
3196 | :info:build == |
---|
3197 | :info:build scp.c:3650:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3198 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
3199 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3200 | :info:build scp.c:3650:10: note: place parentheses around the assignment to silence this warning |
---|
3201 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
3202 | :info:build ^ |
---|
3203 | :info:build ( ) |
---|
3204 | :info:build scp.c:3650:10: note: use '==' to turn this assignment into an equality comparison |
---|
3205 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
3206 | :info:build ^ |
---|
3207 | :info:build == |
---|
3208 | :info:build scp.c:3730:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3209 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
3210 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3211 | :info:build scp.c:3730:14: note: place parentheses around the assignment to silence this warning |
---|
3212 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
3213 | :info:build ^ |
---|
3214 | :info:build ( ) |
---|
3215 | :info:build scp.c:3730:14: note: use '==' to turn this assignment into an equality comparison |
---|
3216 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
3217 | :info:build ^ |
---|
3218 | :info:build == |
---|
3219 | :info:build scp.c:3948:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3220 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
3221 | :info:build ~~^~~~~~~~~ |
---|
3222 | :info:build scp.c:3948:28: note: place parentheses around the assignment to silence this warning |
---|
3223 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
3224 | :info:build ^ |
---|
3225 | :info:build ( ) |
---|
3226 | :info:build scp.c:3948:28: note: use '==' to turn this assignment into an equality comparison |
---|
3227 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
3228 | :info:build ^ |
---|
3229 | :info:build == |
---|
3230 | :info:build scp.c:3949:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3231 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
3232 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3233 | :info:build scp.c:3949:14: note: place parentheses around the assignment to silence this warning |
---|
3234 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
3235 | :info:build ^ |
---|
3236 | :info:build ( ) |
---|
3237 | :info:build scp.c:3949:14: note: use '==' to turn this assignment into an equality comparison |
---|
3238 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
3239 | :info:build ^ |
---|
3240 | :info:build == |
---|
3241 | :info:build scp.c:3956:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3242 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
3243 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3244 | :info:build scp.c:3956:19: note: place parentheses around the assignment to silence this warning |
---|
3245 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
3246 | :info:build ^ |
---|
3247 | :info:build ( ) |
---|
3248 | :info:build scp.c:3956:19: note: use '==' to turn this assignment into an equality comparison |
---|
3249 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
3250 | :info:build ^ |
---|
3251 | :info:build == |
---|
3252 | :info:build scp.c:4621:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3253 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
3254 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3255 | :info:build scp.c:4621:8: note: place parentheses around the assignment to silence this warning |
---|
3256 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
3257 | :info:build ^ |
---|
3258 | :info:build ( ) |
---|
3259 | :info:build scp.c:4621:8: note: use '==' to turn this assignment into an equality comparison |
---|
3260 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
3261 | :info:build ^ |
---|
3262 | :info:build == |
---|
3263 | :info:build 34 warnings generated. |
---|
3264 | :info:build sim_console.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3265 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3266 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3267 | :info:build sim_console.c:164:15: note: place parentheses around the assignment to silence this warning |
---|
3268 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3269 | :info:build ^ |
---|
3270 | :info:build ( ) |
---|
3271 | :info:build sim_console.c:164:15: note: use '==' to turn this assignment into an equality comparison |
---|
3272 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3273 | :info:build ^ |
---|
3274 | :info:build == |
---|
3275 | :info:build sim_console.c:167:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3276 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
3277 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3278 | :info:build sim_console.c:167:15: note: place parentheses around the assignment to silence this warning |
---|
3279 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
3280 | :info:build ^ |
---|
3281 | :info:build ( ) |
---|
3282 | :info:build sim_console.c:167:15: note: use '==' to turn this assignment into an equality comparison |
---|
3283 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
3284 | :info:build ^ |
---|
3285 | :info:build == |
---|
3286 | :info:build sim_console.c:192:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3287 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
3288 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3289 | :info:build sim_console.c:192:15: note: place parentheses around the assignment to silence this warning |
---|
3290 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
3291 | :info:build ^ |
---|
3292 | :info:build ( ) |
---|
3293 | :info:build sim_console.c:192:15: note: use '==' to turn this assignment into an equality comparison |
---|
3294 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
3295 | :info:build ^ |
---|
3296 | :info:build == |
---|
3297 | :info:build sim_console.c:461:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3298 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
3299 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3300 | :info:build sim_console.c:461:7: note: place parentheses around the assignment to silence this warning |
---|
3301 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
3302 | :info:build ^ |
---|
3303 | :info:build ( ) |
---|
3304 | :info:build sim_console.c:461:7: note: use '==' to turn this assignment into an equality comparison |
---|
3305 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
3306 | :info:build ^ |
---|
3307 | :info:build == |
---|
3308 | :info:build 4 warnings generated. |
---|
3309 | :info:build sim_tape.c:407:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3310 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
3311 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3312 | :info:build sim_tape.c:407:8: note: place parentheses around the assignment to silence this warning |
---|
3313 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
3314 | :info:build ^ |
---|
3315 | :info:build ( ) |
---|
3316 | :info:build sim_tape.c:407:8: note: use '==' to turn this assignment into an equality comparison |
---|
3317 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
3318 | :info:build ^ |
---|
3319 | :info:build == |
---|
3320 | :info:build sim_tape.c:456:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3321 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
3322 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3323 | :info:build sim_tape.c:456:8: note: place parentheses around the assignment to silence this warning |
---|
3324 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
3325 | :info:build ^ |
---|
3326 | :info:build ( ) |
---|
3327 | :info:build sim_tape.c:456:8: note: use '==' to turn this assignment into an equality comparison |
---|
3328 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
3329 | :info:build ^ |
---|
3330 | :info:build == |
---|
3331 | :info:build 2 warnings generated. |
---|
3332 | :info:build gcc -std=c99 -U__STRICT_ANSI__ -g -D_GNU_SOURCE -I . 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 |
---|
3333 | :info:build PDP18B/pdp18b_dt.c:1150:57: warning: '/*' within block comment [-Wcomment] |
---|
3334 | :info:build /* /* ignore hdr */ |
---|
3335 | :info:build ^ |
---|
3336 | :info:build 1 warning generated. |
---|
3337 | :info:build PDP18B/pdp18b_cpu.c:607:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3338 | :info:build if (reason = sim_process_event ()) |
---|
3339 | :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ |
---|
3340 | :info:build PDP18B/pdp18b_cpu.c:607:20: note: place parentheses around the assignment to silence this warning |
---|
3341 | :info:build if (reason = sim_process_event ()) |
---|
3342 | :info:build ^ |
---|
3343 | :info:build ( ) |
---|
3344 | :info:build PDP18B/pdp18b_cpu.c:607:20: note: use '==' to turn this assignment into an equality comparison |
---|
3345 | :info:build if (reason = sim_process_event ()) |
---|
3346 | :info:build ^ |
---|
3347 | :info:build == |
---|
3348 | :info:build 1 warning generated. |
---|
3349 | :info:build PDP18B/pdp18b_mt.c:356:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3350 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
3351 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3352 | :info:build PDP18B/pdp18b_mt.c:356:16: note: place parentheses around the assignment to silence this warning |
---|
3353 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
3354 | :info:build ^ |
---|
3355 | :info:build ( ) |
---|
3356 | :info:build PDP18B/pdp18b_mt.c:356:16: note: use '==' to turn this assignment into an equality comparison |
---|
3357 | :info:build if (st = sim_tape_wrrecf (uptr, mtxb, tbc)) /* write rec, err? */ |
---|
3358 | :info:build ^ |
---|
3359 | :info:build == |
---|
3360 | :info:build PDP18B/pdp18b_mt.c:366:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3361 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
3362 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
3363 | :info:build PDP18B/pdp18b_mt.c:366:16: note: place parentheses around the assignment to silence this warning |
---|
3364 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
3365 | :info:build ^ |
---|
3366 | :info:build ( ) |
---|
3367 | :info:build PDP18B/pdp18b_mt.c:366:16: note: use '==' to turn this assignment into an equality comparison |
---|
3368 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
3369 | :info:build ^ |
---|
3370 | :info:build == |
---|
3371 | :info:build PDP18B/pdp18b_mt.c:375:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3372 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
3373 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3374 | :info:build PDP18B/pdp18b_mt.c:375:20: note: place parentheses around the assignment to silence this warning |
---|
3375 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
3376 | :info:build ^ |
---|
3377 | :info:build ( ) |
---|
3378 | :info:build PDP18B/pdp18b_mt.c:375:20: note: use '==' to turn this assignment into an equality comparison |
---|
3379 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
3380 | :info:build ^ |
---|
3381 | :info:build == |
---|
3382 | :info:build PDP18B/pdp18b_mt.c:385:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3383 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
3384 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3385 | :info:build PDP18B/pdp18b_mt.c:385:20: note: place parentheses around the assignment to silence this warning |
---|
3386 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
3387 | :info:build ^ |
---|
3388 | :info:build ( ) |
---|
3389 | :info:build PDP18B/pdp18b_mt.c:385:20: note: use '==' to turn this assignment into an equality comparison |
---|
3390 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
3391 | :info:build ^ |
---|
3392 | :info:build == |
---|
3393 | :info:build 4 warnings generated. |
---|
3394 | :info:build PDP18B/pdp18b_stddev.c:585:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3395 | :info:build while (temp = temp & (temp - 1)) |
---|
3396 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~ |
---|
3397 | :info:build PDP18B/pdp18b_stddev.c:585:21: note: place parentheses around the assignment to silence this warning |
---|
3398 | :info:build while (temp = temp & (temp - 1)) |
---|
3399 | :info:build ^ |
---|
3400 | :info:build ( ) |
---|
3401 | :info:build PDP18B/pdp18b_stddev.c:585:21: note: use '==' to turn this assignment into an equality comparison |
---|
3402 | :info:build while (temp = temp & (temp - 1)) |
---|
3403 | :info:build ^ |
---|
3404 | :info:build == |
---|
3405 | :info:build PDP18B/pdp18b_stddev.c:985:30: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
3406 | :info:build dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ |
---|
3407 | :info:build ~ ~~~~~~~~~~~~~^~~~~~~~~~ |
---|
3408 | :info:build PDP18B/pdp18b_stddev.c:985:30: note: place parentheses around the '&' expression to silence this warning |
---|
3409 | :info:build dat = dat | tti_unit.buf & TTI_MASK; /* return buffer */ |
---|
3410 | :info:build ~~~~~~~~~~~~~^~~~~~~~~~ |
---|
3411 | :info:build 2 warnings generated. |
---|
3412 | :info:build PDP18B/pdp18b_sys.c:1013:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3413 | :info:build if (sp = (inst & 03730)) |
---|
3414 | :info:build ~~~^~~~~~~~~~~~~~~~ |
---|
3415 | :info:build PDP18B/pdp18b_sys.c:1013:20: note: place parentheses around the assignment to silence this warning |
---|
3416 | :info:build if (sp = (inst & 03730)) |
---|
3417 | :info:build ^ |
---|
3418 | :info:build ( ) |
---|
3419 | :info:build PDP18B/pdp18b_sys.c:1013:20: note: use '==' to turn this assignment into an equality comparison |
---|
3420 | :info:build if (sp = (inst & 03730)) |
---|
3421 | :info:build ^ |
---|
3422 | :info:build == |
---|
3423 | :info:build 1 warning generated. |
---|
3424 | :info:build PDP18B/pdp18b_tt1.c:224:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3425 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
3426 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3427 | :info:build PDP18B/pdp18b_tt1.c:224:18: note: place parentheses around the assignment to silence this warning |
---|
3428 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
3429 | :info:build ^ |
---|
3430 | :info:build ( ) |
---|
3431 | :info:build PDP18B/pdp18b_tt1.c:224:18: note: use '==' to turn this assignment into an equality comparison |
---|
3432 | :info:build if (temp = tmxr_getc_ln (&ttx_ldsc[ln])) { /* get char */ |
---|
3433 | :info:build ^ |
---|
3434 | :info:build == |
---|
3435 | :info:build 1 warning generated. |
---|
3436 | :info:build PDP18B/pdp18b_fpp.c:251:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3437 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3438 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3439 | :info:build PDP18B/pdp18b_fpp.c:251:17: note: place parentheses around the assignment to silence this warning |
---|
3440 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3441 | :info:build ^ |
---|
3442 | :info:build ( ) |
---|
3443 | :info:build PDP18B/pdp18b_fpp.c:251:17: note: use '==' to turn this assignment into an equality comparison |
---|
3444 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3445 | :info:build ^ |
---|
3446 | :info:build == |
---|
3447 | :info:build PDP18B/pdp18b_fpp.c:260:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3448 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3449 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3450 | :info:build PDP18B/pdp18b_fpp.c:260:17: note: place parentheses around the assignment to silence this warning |
---|
3451 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3452 | :info:build ^ |
---|
3453 | :info:build ( ) |
---|
3454 | :info:build PDP18B/pdp18b_fpp.c:260:17: note: use '==' to turn this assignment into an equality comparison |
---|
3455 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3456 | :info:build ^ |
---|
3457 | :info:build == |
---|
3458 | :info:build PDP18B/pdp18b_fpp.c:268:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3459 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3460 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3461 | :info:build PDP18B/pdp18b_fpp.c:268:17: note: place parentheses around the assignment to silence this warning |
---|
3462 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3463 | :info:build ^ |
---|
3464 | :info:build ( ) |
---|
3465 | :info:build PDP18B/pdp18b_fpp.c:268:17: note: use '==' to turn this assignment into an equality comparison |
---|
3466 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3467 | :info:build ^ |
---|
3468 | :info:build == |
---|
3469 | :info:build PDP18B/pdp18b_fpp.c:276:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3470 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3471 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3472 | :info:build PDP18B/pdp18b_fpp.c:276:17: note: place parentheses around the assignment to silence this warning |
---|
3473 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3474 | :info:build ^ |
---|
3475 | :info:build ( ) |
---|
3476 | :info:build PDP18B/pdp18b_fpp.c:276:17: note: use '==' to turn this assignment into an equality comparison |
---|
3477 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3478 | :info:build ^ |
---|
3479 | :info:build == |
---|
3480 | :info:build PDP18B/pdp18b_fpp.c:278:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3481 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
3482 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3483 | :info:build PDP18B/pdp18b_fpp.c:278:17: note: place parentheses around the assignment to silence this warning |
---|
3484 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
3485 | :info:build ^ |
---|
3486 | :info:build ( ) |
---|
3487 | :info:build PDP18B/pdp18b_fpp.c:278:17: note: use '==' to turn this assignment into an equality comparison |
---|
3488 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) break; /* fetch op to FMB */ |
---|
3489 | :info:build ^ |
---|
3490 | :info:build == |
---|
3491 | :info:build PDP18B/pdp18b_fpp.c:286:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3492 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3493 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3494 | :info:build PDP18B/pdp18b_fpp.c:286:17: note: place parentheses around the assignment to silence this warning |
---|
3495 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3496 | :info:build ^ |
---|
3497 | :info:build ( ) |
---|
3498 | :info:build PDP18B/pdp18b_fpp.c:286:17: note: use '==' to turn this assignment into an equality comparison |
---|
3499 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3500 | :info:build ^ |
---|
3501 | :info:build == |
---|
3502 | :info:build PDP18B/pdp18b_fpp.c:294:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3503 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3504 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3505 | :info:build PDP18B/pdp18b_fpp.c:294:17: note: place parentheses around the assignment to silence this warning |
---|
3506 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3507 | :info:build ^ |
---|
3508 | :info:build ( ) |
---|
3509 | :info:build PDP18B/pdp18b_fpp.c:294:17: note: use '==' to turn this assignment into an equality comparison |
---|
3510 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3511 | :info:build ^ |
---|
3512 | :info:build == |
---|
3513 | :info:build PDP18B/pdp18b_fpp.c:307:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3514 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3515 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3516 | :info:build PDP18B/pdp18b_fpp.c:307:17: note: place parentheses around the assignment to silence this warning |
---|
3517 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3518 | :info:build ^ |
---|
3519 | :info:build ( ) |
---|
3520 | :info:build PDP18B/pdp18b_fpp.c:307:17: note: use '==' to turn this assignment into an equality comparison |
---|
3521 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3522 | :info:build ^ |
---|
3523 | :info:build == |
---|
3524 | :info:build PDP18B/pdp18b_fpp.c:315:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3525 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3526 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3527 | :info:build PDP18B/pdp18b_fpp.c:315:17: note: place parentheses around the assignment to silence this warning |
---|
3528 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3529 | :info:build ^ |
---|
3530 | :info:build ( ) |
---|
3531 | :info:build PDP18B/pdp18b_fpp.c:315:17: note: use '==' to turn this assignment into an equality comparison |
---|
3532 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3533 | :info:build ^ |
---|
3534 | :info:build == |
---|
3535 | :info:build PDP18B/pdp18b_fpp.c:321:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3536 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3537 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3538 | :info:build PDP18B/pdp18b_fpp.c:321:17: note: place parentheses around the assignment to silence this warning |
---|
3539 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3540 | :info:build ^ |
---|
3541 | :info:build ( ) |
---|
3542 | :info:build PDP18B/pdp18b_fpp.c:321:17: note: use '==' to turn this assignment into an equality comparison |
---|
3543 | :info:build if (sta = fp15_opnd (fir, ar, &fma)) /* fetch op to FMA */ |
---|
3544 | :info:build ^ |
---|
3545 | :info:build == |
---|
3546 | :info:build PDP18B/pdp18b_fpp.c:335:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3547 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
3548 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~ |
---|
3549 | :info:build PDP18B/pdp18b_fpp.c:335:21: note: place parentheses around the assignment to silence this warning |
---|
3550 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
3551 | :info:build ^ |
---|
3552 | :info:build ( ) |
---|
3553 | :info:build PDP18B/pdp18b_fpp.c:335:21: note: use '==' to turn this assignment into an equality comparison |
---|
3554 | :info:build if (sta = Read (ar, &dat, RD)) |
---|
3555 | :info:build ^ |
---|
3556 | :info:build == |
---|
3557 | :info:build PDP18B/pdp18b_fpp.c:343:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3558 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3559 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3560 | :info:build PDP18B/pdp18b_fpp.c:343:17: note: place parentheses around the assignment to silence this warning |
---|
3561 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3562 | :info:build ^ |
---|
3563 | :info:build ( ) |
---|
3564 | :info:build PDP18B/pdp18b_fpp.c:343:17: note: use '==' to turn this assignment into an equality comparison |
---|
3565 | :info:build if (sta = fp15_opnd (fir, ar, &fmb)) /* fetch op to FMB */ |
---|
3566 | :info:build ^ |
---|
3567 | :info:build == |
---|
3568 | :info:build PDP18B/pdp18b_fpp.c:427:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3569 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
3570 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3571 | :info:build PDP18B/pdp18b_fpp.c:427:13: note: place parentheses around the assignment to silence this warning |
---|
3572 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
3573 | :info:build ^ |
---|
3574 | :info:build ( ) |
---|
3575 | :info:build PDP18B/pdp18b_fpp.c:427:13: note: use '==' to turn this assignment into an equality comparison |
---|
3576 | :info:build if (sta = fp15_norm (ir, a, NULL, 0)) /* normalize */ |
---|
3577 | :info:build ^ |
---|
3578 | :info:build == |
---|
3579 | :info:build 13 warnings generated. |
---|
3580 | :info:build In file included from scp.c:182: |
---|
3581 | :info:build ./sim_rev.h:389:1: warning: '/*' within block comment [-Wcomment] |
---|
3582 | :info:build /* V3.7 revision history |
---|
3583 | :info:build ^ |
---|
3584 | :info:build ./sim_rev.h:661:1: warning: '/*' within block comment [-Wcomment] |
---|
3585 | :info:build /* V3.6 revision history |
---|
3586 | :info:build ^ |
---|
3587 | :info:build ./sim_rev.h:835:1: warning: '/*' within block comment [-Wcomment] |
---|
3588 | :info:build /* V3.5 revision history |
---|
3589 | :info:build ^ |
---|
3590 | :info:build ./sim_rev.h:971:1: warning: '/*' within block comment [-Wcomment] |
---|
3591 | :info:build /* V3.4 revision history |
---|
3592 | :info:build ^ |
---|
3593 | :info:build ./sim_rev.h:1009:1: warning: '/*' within block comment [-Wcomment] |
---|
3594 | :info:build /* V3.3 revision history |
---|
3595 | :info:build ^ |
---|
3596 | :info:build ./sim_rev.h:1261:1: warning: '/*' within block comment [-Wcomment] |
---|
3597 | :info:build /* V3.2 revision history |
---|
3598 | :info:build ^ |
---|
3599 | :info:build ./sim_rev.h:1460:1: warning: '/*' within block comment [-Wcomment] |
---|
3600 | :info:build /* V3.1 revision history |
---|
3601 | :info:build ^ |
---|
3602 | :info:build ./sim_rev.h:1573:1: warning: '/*' within block comment [-Wcomment] |
---|
3603 | :info:build /* V3.0 revision history |
---|
3604 | :info:build ^ |
---|
3605 | :info:build ./sim_rev.h:1739:1: warning: '/*' within block comment [-Wcomment] |
---|
3606 | :info:build /* V2.10 revision history |
---|
3607 | :info:build ^ |
---|
3608 | :info:build ./sim_rev.h:2037:1: warning: '/*' within block comment [-Wcomment] |
---|
3609 | :info:build /* V2.9 revision history |
---|
3610 | :info:build ^ |
---|
3611 | :info:build scp.c:665:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3612 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
3613 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3614 | :info:build scp.c:665:12: note: place parentheses around the assignment to silence this warning |
---|
3615 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
3616 | :info:build ^ |
---|
3617 | :info:build ( ) |
---|
3618 | :info:build scp.c:665:12: note: use '==' to turn this assignment into an equality comparison |
---|
3619 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
3620 | :info:build ^ |
---|
3621 | :info:build == |
---|
3622 | :info:build scp.c:673:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3623 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
3624 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3625 | :info:build scp.c:673:14: note: place parentheses around the assignment to silence this warning |
---|
3626 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
3627 | :info:build ^ |
---|
3628 | :info:build ( ) |
---|
3629 | :info:build scp.c:673:14: note: use '==' to turn this assignment into an equality comparison |
---|
3630 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
3631 | :info:build ^ |
---|
3632 | :info:build == |
---|
3633 | :info:build scp.c:686:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3634 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
3635 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3636 | :info:build scp.c:686:14: note: place parentheses around the assignment to silence this warning |
---|
3637 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
3638 | :info:build ^ |
---|
3639 | :info:build ( ) |
---|
3640 | :info:build scp.c:686:14: note: use '==' to turn this assignment into an equality comparison |
---|
3641 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
3642 | :info:build ^ |
---|
3643 | :info:build == |
---|
3644 | :info:build scp.c:753:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3645 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
3646 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3647 | :info:build scp.c:753:14: note: place parentheses around the assignment to silence this warning |
---|
3648 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
3649 | :info:build ^ |
---|
3650 | :info:build ( ) |
---|
3651 | :info:build scp.c:753:14: note: use '==' to turn this assignment into an equality comparison |
---|
3652 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
3653 | :info:build ^ |
---|
3654 | :info:build == |
---|
3655 | :info:build scp.c:897:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3656 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
3657 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3658 | :info:build scp.c:897:14: note: place parentheses around the assignment to silence this warning |
---|
3659 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
3660 | :info:build ^ |
---|
3661 | :info:build ( ) |
---|
3662 | :info:build scp.c:897:14: note: use '==' to turn this assignment into an equality comparison |
---|
3663 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
3664 | :info:build ^ |
---|
3665 | :info:build == |
---|
3666 | :info:build scp.c:1077:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3667 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3668 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3669 | :info:build scp.c:1077:10: note: place parentheses around the assignment to silence this warning |
---|
3670 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3671 | :info:build ^ |
---|
3672 | :info:build ( ) |
---|
3673 | :info:build scp.c:1077:10: note: use '==' to turn this assignment into an equality comparison |
---|
3674 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3675 | :info:build ^ |
---|
3676 | :info:build == |
---|
3677 | :info:build scp.c:1082:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3678 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3679 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3680 | :info:build scp.c:1082:15: note: place parentheses around the assignment to silence this warning |
---|
3681 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3682 | :info:build ^ |
---|
3683 | :info:build ( ) |
---|
3684 | :info:build scp.c:1082:15: note: use '==' to turn this assignment into an equality comparison |
---|
3685 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3686 | :info:build ^ |
---|
3687 | :info:build == |
---|
3688 | :info:build scp.c:1088:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3689 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
3690 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3691 | :info:build scp.c:1088:16: note: place parentheses around the assignment to silence this warning |
---|
3692 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
3693 | :info:build ^ |
---|
3694 | :info:build ( ) |
---|
3695 | :info:build scp.c:1088:16: note: use '==' to turn this assignment into an equality comparison |
---|
3696 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
3697 | :info:build ^ |
---|
3698 | :info:build == |
---|
3699 | :info:build scp.c:1096:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3700 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3701 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3702 | :info:build scp.c:1096:15: note: place parentheses around the assignment to silence this warning |
---|
3703 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3704 | :info:build ^ |
---|
3705 | :info:build ( ) |
---|
3706 | :info:build scp.c:1096:15: note: use '==' to turn this assignment into an equality comparison |
---|
3707 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3708 | :info:build ^ |
---|
3709 | :info:build == |
---|
3710 | :info:build scp.c:1109:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3711 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
3712 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3713 | :info:build scp.c:1109:35: note: place parentheses around the assignment to silence this warning |
---|
3714 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
3715 | :info:build ^ |
---|
3716 | :info:build ( ) |
---|
3717 | :info:build scp.c:1109:35: note: use '==' to turn this assignment into an equality comparison |
---|
3718 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
3719 | :info:build ^ |
---|
3720 | :info:build == |
---|
3721 | :info:build scp.c:1142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3722 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
3723 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3724 | :info:build scp.c:1142:18: note: place parentheses around the assignment to silence this warning |
---|
3725 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
3726 | :info:build ^ |
---|
3727 | :info:build ( ) |
---|
3728 | :info:build scp.c:1142:18: note: use '==' to turn this assignment into an equality comparison |
---|
3729 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
3730 | :info:build ^ |
---|
3731 | :info:build == |
---|
3732 | :info:build scp.c:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3733 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
3734 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3735 | :info:build scp.c:1333:11: note: place parentheses around the assignment to silence this warning |
---|
3736 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
3737 | :info:build ^ |
---|
3738 | :info:build ( ) |
---|
3739 | :info:build scp.c:1333:11: note: use '==' to turn this assignment into an equality comparison |
---|
3740 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
3741 | :info:build ^ |
---|
3742 | :info:build == |
---|
3743 | :info:build scp.c:1336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3744 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3745 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3746 | :info:build scp.c:1336:10: note: place parentheses around the assignment to silence this warning |
---|
3747 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3748 | :info:build ^ |
---|
3749 | :info:build ( ) |
---|
3750 | :info:build scp.c:1336:10: note: use '==' to turn this assignment into an equality comparison |
---|
3751 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
3752 | :info:build ^ |
---|
3753 | :info:build == |
---|
3754 | :info:build scp.c:1341:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3755 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3756 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3757 | :info:build scp.c:1341:15: note: place parentheses around the assignment to silence this warning |
---|
3758 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3759 | :info:build ^ |
---|
3760 | :info:build ( ) |
---|
3761 | :info:build scp.c:1341:15: note: use '==' to turn this assignment into an equality comparison |
---|
3762 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
3763 | :info:build ^ |
---|
3764 | :info:build == |
---|
3765 | :info:build scp.c:1361:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3766 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3767 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3768 | :info:build scp.c:1361:15: note: place parentheses around the assignment to silence this warning |
---|
3769 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3770 | :info:build ^ |
---|
3771 | :info:build ( ) |
---|
3772 | :info:build scp.c:1361:15: note: use '==' to turn this assignment into an equality comparison |
---|
3773 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3774 | :info:build ^ |
---|
3775 | :info:build == |
---|
3776 | :info:build scp.c:1380:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3777 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
3778 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3779 | :info:build scp.c:1380:19: note: place parentheses around the assignment to silence this warning |
---|
3780 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
3781 | :info:build ^ |
---|
3782 | :info:build ( ) |
---|
3783 | :info:build scp.c:1380:19: note: use '==' to turn this assignment into an equality comparison |
---|
3784 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
3785 | :info:build ^ |
---|
3786 | :info:build == |
---|
3787 | :info:build scp.c:1731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3788 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
3789 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3790 | :info:build scp.c:1731:10: note: place parentheses around the assignment to silence this warning |
---|
3791 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
3792 | :info:build ^ |
---|
3793 | :info:build ( ) |
---|
3794 | :info:build scp.c:1731:10: note: use '==' to turn this assignment into an equality comparison |
---|
3795 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
3796 | :info:build ^ |
---|
3797 | :info:build == |
---|
3798 | :info:build scp.c:3567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3799 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
3800 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3801 | :info:build scp.c:3567:11: note: place parentheses around the assignment to silence this warning |
---|
3802 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
3803 | :info:build ^ |
---|
3804 | :info:build ( ) |
---|
3805 | :info:build scp.c:3567:11: note: use '==' to turn this assignment into an equality comparison |
---|
3806 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
3807 | :info:build ^ |
---|
3808 | :info:build == |
---|
3809 | :info:build scp.c:3650:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3810 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
3811 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
3812 | :info:build scp.c:3650:10: note: place parentheses around the assignment to silence this warning |
---|
3813 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
3814 | :info:build ^ |
---|
3815 | :info:build ( ) |
---|
3816 | :info:build scp.c:3650:10: note: use '==' to turn this assignment into an equality comparison |
---|
3817 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
3818 | :info:build ^ |
---|
3819 | :info:build == |
---|
3820 | :info:build scp.c:3730:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3821 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
3822 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3823 | :info:build scp.c:3730:14: note: place parentheses around the assignment to silence this warning |
---|
3824 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
3825 | :info:build ^ |
---|
3826 | :info:build ( ) |
---|
3827 | :info:build scp.c:3730:14: note: use '==' to turn this assignment into an equality comparison |
---|
3828 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
3829 | :info:build ^ |
---|
3830 | :info:build == |
---|
3831 | :info:build scp.c:3948:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3832 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
3833 | :info:build ~~^~~~~~~~~ |
---|
3834 | :info:build scp.c:3948:28: note: place parentheses around the assignment to silence this warning |
---|
3835 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
3836 | :info:build ^ |
---|
3837 | :info:build ( ) |
---|
3838 | :info:build scp.c:3948:28: note: use '==' to turn this assignment into an equality comparison |
---|
3839 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
3840 | :info:build ^ |
---|
3841 | :info:build == |
---|
3842 | :info:build scp.c:3949:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3843 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
3844 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3845 | :info:build scp.c:3949:14: note: place parentheses around the assignment to silence this warning |
---|
3846 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
3847 | :info:build ^ |
---|
3848 | :info:build ( ) |
---|
3849 | :info:build scp.c:3949:14: note: use '==' to turn this assignment into an equality comparison |
---|
3850 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
3851 | :info:build ^ |
---|
3852 | :info:build == |
---|
3853 | :info:build scp.c:3956:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3854 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
3855 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3856 | :info:build scp.c:3956:19: note: place parentheses around the assignment to silence this warning |
---|
3857 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
3858 | :info:build ^ |
---|
3859 | :info:build ( ) |
---|
3860 | :info:build scp.c:3956:19: note: use '==' to turn this assignment into an equality comparison |
---|
3861 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
3862 | :info:build ^ |
---|
3863 | :info:build == |
---|
3864 | :info:build scp.c:4621:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3865 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
3866 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3867 | :info:build scp.c:4621:8: note: place parentheses around the assignment to silence this warning |
---|
3868 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
3869 | :info:build ^ |
---|
3870 | :info:build ( ) |
---|
3871 | :info:build scp.c:4621:8: note: use '==' to turn this assignment into an equality comparison |
---|
3872 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
3873 | :info:build ^ |
---|
3874 | :info:build == |
---|
3875 | :info:build 34 warnings generated. |
---|
3876 | :info:build sim_console.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3877 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3878 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3879 | :info:build sim_console.c:164:15: note: place parentheses around the assignment to silence this warning |
---|
3880 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3881 | :info:build ^ |
---|
3882 | :info:build ( ) |
---|
3883 | :info:build sim_console.c:164:15: note: use '==' to turn this assignment into an equality comparison |
---|
3884 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
3885 | :info:build ^ |
---|
3886 | :info:build == |
---|
3887 | :info:build sim_console.c:167:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3888 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
3889 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3890 | :info:build sim_console.c:167:15: note: place parentheses around the assignment to silence this warning |
---|
3891 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
3892 | :info:build ^ |
---|
3893 | :info:build ( ) |
---|
3894 | :info:build sim_console.c:167:15: note: use '==' to turn this assignment into an equality comparison |
---|
3895 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
3896 | :info:build ^ |
---|
3897 | :info:build == |
---|
3898 | :info:build sim_console.c:192:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3899 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
3900 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3901 | :info:build sim_console.c:192:15: note: place parentheses around the assignment to silence this warning |
---|
3902 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
3903 | :info:build ^ |
---|
3904 | :info:build ( ) |
---|
3905 | :info:build sim_console.c:192:15: note: use '==' to turn this assignment into an equality comparison |
---|
3906 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
3907 | :info:build ^ |
---|
3908 | :info:build == |
---|
3909 | :info:build sim_console.c:461:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3910 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
3911 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3912 | :info:build sim_console.c:461:7: note: place parentheses around the assignment to silence this warning |
---|
3913 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
3914 | :info:build ^ |
---|
3915 | :info:build ( ) |
---|
3916 | :info:build sim_console.c:461:7: note: use '==' to turn this assignment into an equality comparison |
---|
3917 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
3918 | :info:build ^ |
---|
3919 | :info:build == |
---|
3920 | :info:build 4 warnings generated. |
---|
3921 | :info:build sim_tape.c:407:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3922 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
3923 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3924 | :info:build sim_tape.c:407:8: note: place parentheses around the assignment to silence this warning |
---|
3925 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
3926 | :info:build ^ |
---|
3927 | :info:build ( ) |
---|
3928 | :info:build sim_tape.c:407:8: note: use '==' to turn this assignment into an equality comparison |
---|
3929 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
3930 | :info:build ^ |
---|
3931 | :info:build == |
---|
3932 | :info:build sim_tape.c:456:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3933 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
3934 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
3935 | :info:build sim_tape.c:456:8: note: place parentheses around the assignment to silence this warning |
---|
3936 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
3937 | :info:build ^ |
---|
3938 | :info:build ( ) |
---|
3939 | :info:build sim_tape.c:456:8: note: use '==' to turn this assignment into an equality comparison |
---|
3940 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
3941 | :info:build ^ |
---|
3942 | :info:build == |
---|
3943 | :info:build 2 warnings generated. |
---|
3944 | :info:build gcc -std=c99 -U__STRICT_ANSI__ -g -D_GNU_SOURCE -I . 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 -isystem /opt/local/include /opt/local/lib/libpcap.a -o BIN/pdp11 |
---|
3945 | :info:build PDP11/pdp11_fp.c:441:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3946 | :info:build if (sign = GET_SIGN_L (fac.l)) |
---|
3947 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3948 | :info:build PDP11/pdp11_fp.c:441:22: note: place parentheses around the assignment to silence this warning |
---|
3949 | :info:build if (sign = GET_SIGN_L (fac.l)) |
---|
3950 | :info:build ^ |
---|
3951 | :info:build ( ) |
---|
3952 | :info:build PDP11/pdp11_fp.c:441:22: note: use '==' to turn this assignment into an equality comparison |
---|
3953 | :info:build if (sign = GET_SIGN_L (fac.l)) |
---|
3954 | :info:build ^ |
---|
3955 | :info:build == |
---|
3956 | :info:build 1 warning generated. |
---|
3957 | :info:build PDP11/pdp11_cpu.c:733:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3958 | :info:build if (t = trap_req & TRAP_ALL) { /* if a trap */ |
---|
3959 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~ |
---|
3960 | :info:build PDP11/pdp11_cpu.c:733:15: note: place parentheses around the assignment to silence this warning |
---|
3961 | :info:build if (t = trap_req & TRAP_ALL) { /* if a trap */ |
---|
3962 | :info:build ^ |
---|
3963 | :info:build ( ) |
---|
3964 | :info:build PDP11/pdp11_cpu.c:733:15: note: use '==' to turn this assignment into an equality comparison |
---|
3965 | :info:build if (t = trap_req & TRAP_ALL) { /* if a trap */ |
---|
3966 | :info:build ^ |
---|
3967 | :info:build == |
---|
3968 | :info:build PDP11/pdp11_cpu.c:1294:32: warning: '&&' within '||' [-Wlogical-op-parentheses] |
---|
3969 | :info:build if (CPUT (HAS_CSM) && (MMR3 & MMR3_CSM) || (cm != MD_KER)) { |
---|
3970 | :info:build ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ |
---|
3971 | :info:build PDP11/pdp11_cpu.c:1294:32: note: place parentheses around the '&&' expression to silence this warning |
---|
3972 | :info:build if (CPUT (HAS_CSM) && (MMR3 & MMR3_CSM) || (cm != MD_KER)) { |
---|
3973 | :info:build ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
3974 | :info:build 2 warnings generated. |
---|
3975 | :info:build PDP11/pdp11_cis.c:1137:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3976 | :info:build if (dst.sign = GET_SIGN_L (result)) |
---|
3977 | :info:build ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ |
---|
3978 | :info:build PDP11/pdp11_cis.c:1137:22: note: place parentheses around the assignment to silence this warning |
---|
3979 | :info:build if (dst.sign = GET_SIGN_L (result)) |
---|
3980 | :info:build ^ |
---|
3981 | :info:build ( ) |
---|
3982 | :info:build PDP11/pdp11_cis.c:1137:22: note: use '==' to turn this assignment into an equality comparison |
---|
3983 | :info:build if (dst.sign = GET_SIGN_L (result)) |
---|
3984 | :info:build ^ |
---|
3985 | :info:build == |
---|
3986 | :info:build PDP11/pdp11_cis.c:1270:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3987 | :info:build if (dst->val[i] = dst->val[i] & ~mask) /* test nz */ |
---|
3988 | :info:build ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ |
---|
3989 | :info:build PDP11/pdp11_cis.c:1270:21: note: place parentheses around the assignment to silence this warning |
---|
3990 | :info:build if (dst->val[i] = dst->val[i] & ~mask) /* test nz */ |
---|
3991 | :info:build ^ |
---|
3992 | :info:build ( ) |
---|
3993 | :info:build PDP11/pdp11_cis.c:1270:21: note: use '==' to turn this assignment into an equality comparison |
---|
3994 | :info:build if (dst->val[i] = dst->val[i] & ~mask) /* test nz */ |
---|
3995 | :info:build ^ |
---|
3996 | :info:build == |
---|
3997 | :info:build PDP11/pdp11_cis.c:1526:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
3998 | :info:build if (s = sc * 4) { |
---|
3999 | :info:build ~~^~~~~~~~ |
---|
4000 | :info:build PDP11/pdp11_cis.c:1526:7: note: place parentheses around the assignment to silence this warning |
---|
4001 | :info:build if (s = sc * 4) { |
---|
4002 | :info:build ^ |
---|
4003 | :info:build ( ) |
---|
4004 | :info:build PDP11/pdp11_cis.c:1526:7: note: use '==' to turn this assignment into an equality comparison |
---|
4005 | :info:build if (s = sc * 4) { |
---|
4006 | :info:build ^ |
---|
4007 | :info:build == |
---|
4008 | :info:build PDP11/pdp11_cis.c:1551:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4009 | :info:build if (s = sc * 4) { |
---|
4010 | :info:build ~~^~~~~~~~ |
---|
4011 | :info:build PDP11/pdp11_cis.c:1551:7: note: place parentheses around the assignment to silence this warning |
---|
4012 | :info:build if (s = sc * 4) { |
---|
4013 | :info:build ^ |
---|
4014 | :info:build ( ) |
---|
4015 | :info:build PDP11/pdp11_cis.c:1551:7: note: use '==' to turn this assignment into an equality comparison |
---|
4016 | :info:build if (s = sc * 4) { |
---|
4017 | :info:build ^ |
---|
4018 | :info:build == |
---|
4019 | :info:build 4 warnings generated. |
---|
4020 | :info:build PDP11/pdp11_rk.c:547:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4021 | :info:build if (t = Map_WriteW (ma, 2, &rkxb[wc - 1])) { /* store last */ |
---|
4022 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4023 | :info:build PDP11/pdp11_rk.c:547:19: note: place parentheses around the assignment to silence this warning |
---|
4024 | :info:build if (t = Map_WriteW (ma, 2, &rkxb[wc - 1])) { /* store last */ |
---|
4025 | :info:build ^ |
---|
4026 | :info:build ( ) |
---|
4027 | :info:build PDP11/pdp11_rk.c:547:19: note: use '==' to turn this assignment into an equality comparison |
---|
4028 | :info:build if (t = Map_WriteW (ma, 2, &rkxb[wc - 1])) { /* store last */ |
---|
4029 | :info:build ^ |
---|
4030 | :info:build == |
---|
4031 | :info:build PDP11/pdp11_rk.c:553:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4032 | :info:build if (t = Map_WriteW (ma, wc << 1, rkxb)) { /* store buf */ |
---|
4033 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4034 | :info:build PDP11/pdp11_rk.c:553:19: note: place parentheses around the assignment to silence this warning |
---|
4035 | :info:build if (t = Map_WriteW (ma, wc << 1, rkxb)) { /* store buf */ |
---|
4036 | :info:build ^ |
---|
4037 | :info:build ( ) |
---|
4038 | :info:build PDP11/pdp11_rk.c:553:19: note: use '==' to turn this assignment into an equality comparison |
---|
4039 | :info:build if (t = Map_WriteW (ma, wc << 1, rkxb)) { /* store buf */ |
---|
4040 | :info:build ^ |
---|
4041 | :info:build == |
---|
4042 | :info:build PDP11/pdp11_rk.c:562:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4043 | :info:build if (t = Map_ReadW (ma, 2, &comp)) { /* get 1st word */ |
---|
4044 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4045 | :info:build PDP11/pdp11_rk.c:562:19: note: place parentheses around the assignment to silence this warning |
---|
4046 | :info:build if (t = Map_ReadW (ma, 2, &comp)) { /* get 1st word */ |
---|
4047 | :info:build ^ |
---|
4048 | :info:build ( ) |
---|
4049 | :info:build PDP11/pdp11_rk.c:562:19: note: use '==' to turn this assignment into an equality comparison |
---|
4050 | :info:build if (t = Map_ReadW (ma, 2, &comp)) { /* get 1st word */ |
---|
4051 | :info:build ^ |
---|
4052 | :info:build == |
---|
4053 | :info:build PDP11/pdp11_rk.c:570:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4054 | :info:build if (t = Map_ReadW (ma, wc << 1, rkxb)) { /* get buf */ |
---|
4055 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4056 | :info:build PDP11/pdp11_rk.c:570:19: note: place parentheses around the assignment to silence this warning |
---|
4057 | :info:build if (t = Map_ReadW (ma, wc << 1, rkxb)) { /* get buf */ |
---|
4058 | :info:build ^ |
---|
4059 | :info:build ( ) |
---|
4060 | :info:build PDP11/pdp11_rk.c:570:19: note: use '==' to turn this assignment into an equality comparison |
---|
4061 | :info:build if (t = Map_ReadW (ma, wc << 1, rkxb)) { /* get buf */ |
---|
4062 | :info:build ^ |
---|
4063 | :info:build == |
---|
4064 | :info:build PDP11/pdp11_rk.c:586:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4065 | :info:build if (err = ferror (uptr->fileref)) { /* read error? */ |
---|
4066 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4067 | :info:build PDP11/pdp11_rk.c:586:17: note: place parentheses around the assignment to silence this warning |
---|
4068 | :info:build if (err = ferror (uptr->fileref)) { /* read error? */ |
---|
4069 | :info:build ^ |
---|
4070 | :info:build ( ) |
---|
4071 | :info:build PDP11/pdp11_rk.c:586:17: note: use '==' to turn this assignment into an equality comparison |
---|
4072 | :info:build if (err = ferror (uptr->fileref)) { /* read error? */ |
---|
4073 | :info:build ^ |
---|
4074 | :info:build == |
---|
4075 | :info:build 5 warnings generated. |
---|
4076 | :info:build PDP11/pdp11_rl.c:505:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4077 | :info:build if (t = Map_WriteW (ma, wc << 1, rlxb)) { /* store buffer */ |
---|
4078 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4079 | :info:build PDP11/pdp11_rl.c:505:11: note: place parentheses around the assignment to silence this warning |
---|
4080 | :info:build if (t = Map_WriteW (ma, wc << 1, rlxb)) { /* store buffer */ |
---|
4081 | :info:build ^ |
---|
4082 | :info:build ( ) |
---|
4083 | :info:build PDP11/pdp11_rl.c:505:11: note: use '==' to turn this assignment into an equality comparison |
---|
4084 | :info:build if (t = Map_WriteW (ma, wc << 1, rlxb)) { /* store buffer */ |
---|
4085 | :info:build ^ |
---|
4086 | :info:build == |
---|
4087 | :info:build PDP11/pdp11_rl.c:512:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4088 | :info:build if (t = Map_ReadW (ma, wc << 1, rlxb)) { /* fetch buffer */ |
---|
4089 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4090 | :info:build PDP11/pdp11_rl.c:512:11: note: place parentheses around the assignment to silence this warning |
---|
4091 | :info:build if (t = Map_ReadW (ma, wc << 1, rlxb)) { /* fetch buffer */ |
---|
4092 | :info:build ^ |
---|
4093 | :info:build ( ) |
---|
4094 | :info:build PDP11/pdp11_rl.c:512:11: note: use '==' to turn this assignment into an equality comparison |
---|
4095 | :info:build if (t = Map_ReadW (ma, wc << 1, rlxb)) { /* fetch buffer */ |
---|
4096 | :info:build ^ |
---|
4097 | :info:build == |
---|
4098 | :info:build 2 warnings generated. |
---|
4099 | :info:build PDP11/pdp11_sys.c:995:41: warning: '&&' within '||' [-Wlogical-op-parentheses] |
---|
4100 | :info:build if ((disp & 1) || (disp > 0400) && (disp < 0177402)) |
---|
4101 | :info:build ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ |
---|
4102 | :info:build PDP11/pdp11_sys.c:995:41: note: place parentheses around the '&&' expression to silence this warning |
---|
4103 | :info:build if ((disp & 1) || (disp > 0400) && (disp < 0177402)) |
---|
4104 | :info:build ^ |
---|
4105 | :info:build ( ) |
---|
4106 | :info:build PDP11/pdp11_sys.c:1073:56: warning: for loop has empty body [-Wempty-body] |
---|
4107 | :info:build (strcmp (opcode[i], gbuf) != 0) ; i++) ; |
---|
4108 | :info:build ^ |
---|
4109 | :info:build PDP11/pdp11_sys.c:1073:56: note: put the semicolon on a separate line to silence this warning |
---|
4110 | :info:build 2 warnings generated. |
---|
4111 | :info:build PDP11/pdp11_tc.c:995:57: warning: '/*' within block comment [-Wcomment] |
---|
4112 | :info:build /* else /* ignore hdr */ |
---|
4113 | :info:build ^ |
---|
4114 | :info:build 1 warning generated. |
---|
4115 | :info:build PDP11/pdp11_tm.c:381:9: warning: '/*' within block comment [-Wcomment] |
---|
4116 | :info:build /* else /* uncomment this else if rewind/unload don't set done */ |
---|
4117 | :info:build ^ |
---|
4118 | :info:build PDP11/pdp11_tm.c:443:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4119 | :info:build if (t = Map_WriteB (xma, cbc, tmxb)) { /* copy buf to mem */ |
---|
4120 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4121 | :info:build PDP11/pdp11_tm.c:443:15: note: place parentheses around the assignment to silence this warning |
---|
4122 | :info:build if (t = Map_WriteB (xma, cbc, tmxb)) { /* copy buf to mem */ |
---|
4123 | :info:build ^ |
---|
4124 | :info:build ( ) |
---|
4125 | :info:build PDP11/pdp11_tm.c:443:15: note: use '==' to turn this assignment into an equality comparison |
---|
4126 | :info:build if (t = Map_WriteB (xma, cbc, tmxb)) { /* copy buf to mem */ |
---|
4127 | :info:build ^ |
---|
4128 | :info:build == |
---|
4129 | :info:build PDP11/pdp11_tm.c:453:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4130 | :info:build if (t = Map_ReadB (xma, cbc, tmxb)) { /* copy mem to buf */ |
---|
4131 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4132 | :info:build PDP11/pdp11_tm.c:453:15: note: place parentheses around the assignment to silence this warning |
---|
4133 | :info:build if (t = Map_ReadB (xma, cbc, tmxb)) { /* copy mem to buf */ |
---|
4134 | :info:build ^ |
---|
4135 | :info:build ( ) |
---|
4136 | :info:build PDP11/pdp11_tm.c:453:15: note: use '==' to turn this assignment into an equality comparison |
---|
4137 | :info:build if (t = Map_ReadB (xma, cbc, tmxb)) { /* copy mem to buf */ |
---|
4138 | :info:build ^ |
---|
4139 | :info:build == |
---|
4140 | :info:build PDP11/pdp11_tm.c:459:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4141 | :info:build if (st = sim_tape_wrrecf (uptr, tmxb, cbc)) /* write rec, err? */ |
---|
4142 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4143 | :info:build PDP11/pdp11_tm.c:459:16: note: place parentheses around the assignment to silence this warning |
---|
4144 | :info:build if (st = sim_tape_wrrecf (uptr, tmxb, cbc)) /* write rec, err? */ |
---|
4145 | :info:build ^ |
---|
4146 | :info:build ( ) |
---|
4147 | :info:build PDP11/pdp11_tm.c:459:16: note: use '==' to turn this assignment into an equality comparison |
---|
4148 | :info:build if (st = sim_tape_wrrecf (uptr, tmxb, cbc)) /* write rec, err? */ |
---|
4149 | :info:build ^ |
---|
4150 | :info:build == |
---|
4151 | :info:build PDP11/pdp11_tm.c:468:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4152 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4153 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
4154 | :info:build PDP11/pdp11_tm.c:468:16: note: place parentheses around the assignment to silence this warning |
---|
4155 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4156 | :info:build ^ |
---|
4157 | :info:build ( ) |
---|
4158 | :info:build PDP11/pdp11_tm.c:468:16: note: use '==' to turn this assignment into an equality comparison |
---|
4159 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4160 | :info:build ^ |
---|
4161 | :info:build == |
---|
4162 | :info:build PDP11/pdp11_tm.c:475:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4163 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* spc rec fwd, err? */ |
---|
4164 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4165 | :info:build PDP11/pdp11_tm.c:475:20: note: place parentheses around the assignment to silence this warning |
---|
4166 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* spc rec fwd, err? */ |
---|
4167 | :info:build ^ |
---|
4168 | :info:build ( ) |
---|
4169 | :info:build PDP11/pdp11_tm.c:475:20: note: use '==' to turn this assignment into an equality comparison |
---|
4170 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* spc rec fwd, err? */ |
---|
4171 | :info:build ^ |
---|
4172 | :info:build == |
---|
4173 | :info:build PDP11/pdp11_tm.c:485:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4174 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* spc rec rev, err? */ |
---|
4175 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4176 | :info:build PDP11/pdp11_tm.c:485:20: note: place parentheses around the assignment to silence this warning |
---|
4177 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* spc rec rev, err? */ |
---|
4178 | :info:build ^ |
---|
4179 | :info:build ( ) |
---|
4180 | :info:build PDP11/pdp11_tm.c:485:20: note: use '==' to turn this assignment into an equality comparison |
---|
4181 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* spc rec rev, err? */ |
---|
4182 | :info:build ^ |
---|
4183 | :info:build == |
---|
4184 | :info:build 7 warnings generated. |
---|
4185 | :info:build PDP11/pdp11_ts.c:490:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4186 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) /* space rec fwd, err? */ |
---|
4187 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4188 | :info:build PDP11/pdp11_ts.c:490:12: note: place parentheses around the assignment to silence this warning |
---|
4189 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) /* space rec fwd, err? */ |
---|
4190 | :info:build ^ |
---|
4191 | :info:build ( ) |
---|
4192 | :info:build PDP11/pdp11_ts.c:490:12: note: use '==' to turn this assignment into an equality comparison |
---|
4193 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) /* space rec fwd, err? */ |
---|
4194 | :info:build ^ |
---|
4195 | :info:build == |
---|
4196 | :info:build PDP11/pdp11_ts.c:533:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4197 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rec rev, err? */ |
---|
4198 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4199 | :info:build PDP11/pdp11_ts.c:533:12: note: place parentheses around the assignment to silence this warning |
---|
4200 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rec rev, err? */ |
---|
4201 | :info:build ^ |
---|
4202 | :info:build ( ) |
---|
4203 | :info:build PDP11/pdp11_ts.c:533:12: note: use '==' to turn this assignment into an equality comparison |
---|
4204 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rec rev, err? */ |
---|
4205 | :info:build ^ |
---|
4206 | :info:build == |
---|
4207 | :info:build PDP11/pdp11_ts.c:666:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4208 | :info:build if (st = sim_tape_wrrecf (uptr, tsxb, fc)) /* write rec, err? */ |
---|
4209 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4210 | :info:build PDP11/pdp11_ts.c:666:8: note: place parentheses around the assignment to silence this warning |
---|
4211 | :info:build if (st = sim_tape_wrrecf (uptr, tsxb, fc)) /* write rec, err? */ |
---|
4212 | :info:build ^ |
---|
4213 | :info:build ( ) |
---|
4214 | :info:build PDP11/pdp11_ts.c:666:8: note: use '==' to turn this assignment into an equality comparison |
---|
4215 | :info:build if (st = sim_tape_wrrecf (uptr, tsxb, fc)) /* write rec, err? */ |
---|
4216 | :info:build ^ |
---|
4217 | :info:build == |
---|
4218 | :info:build PDP11/pdp11_ts.c:679:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4219 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4220 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
4221 | :info:build PDP11/pdp11_ts.c:679:8: note: place parentheses around the assignment to silence this warning |
---|
4222 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4223 | :info:build ^ |
---|
4224 | :info:build ( ) |
---|
4225 | :info:build PDP11/pdp11_ts.c:679:8: note: use '==' to turn this assignment into an equality comparison |
---|
4226 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4227 | :info:build ^ |
---|
4228 | :info:build == |
---|
4229 | :info:build 4 warnings generated. |
---|
4230 | :info:build PDP11/pdp11_io.c:362:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4231 | :info:build if (r = cpu_build_dib ()) /* build CPU entries */ |
---|
4232 | :info:build ~~^~~~~~~~~~~~~~~~~~ |
---|
4233 | :info:build PDP11/pdp11_io.c:362:7: note: place parentheses around the assignment to silence this warning |
---|
4234 | :info:build if (r = cpu_build_dib ()) /* build CPU entries */ |
---|
4235 | :info:build ^ |
---|
4236 | :info:build ( ) |
---|
4237 | :info:build PDP11/pdp11_io.c:362:7: note: use '==' to turn this assignment into an equality comparison |
---|
4238 | :info:build if (r = cpu_build_dib ()) /* build CPU entries */ |
---|
4239 | :info:build ^ |
---|
4240 | :info:build == |
---|
4241 | :info:build PDP11/pdp11_io.c:368:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4242 | :info:build if (r = build_mbus_tab (dptr, dibp)) /* add to Mbus tab */ |
---|
4243 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4244 | :info:build PDP11/pdp11_io.c:368:19: note: place parentheses around the assignment to silence this warning |
---|
4245 | :info:build if (r = build_mbus_tab (dptr, dibp)) /* add to Mbus tab */ |
---|
4246 | :info:build ^ |
---|
4247 | :info:build ( ) |
---|
4248 | :info:build PDP11/pdp11_io.c:368:19: note: use '==' to turn this assignment into an equality comparison |
---|
4249 | :info:build if (r = build_mbus_tab (dptr, dibp)) /* add to Mbus tab */ |
---|
4250 | :info:build ^ |
---|
4251 | :info:build == |
---|
4252 | :info:build PDP11/pdp11_io.c:372:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4253 | :info:build if (r = build_ubus_tab (dptr, dibp)) /* add to Unibus tab */ |
---|
4254 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4255 | :info:build PDP11/pdp11_io.c:372:19: note: place parentheses around the assignment to silence this warning |
---|
4256 | :info:build if (r = build_ubus_tab (dptr, dibp)) /* add to Unibus tab */ |
---|
4257 | :info:build ^ |
---|
4258 | :info:build ( ) |
---|
4259 | :info:build PDP11/pdp11_io.c:372:19: note: use '==' to turn this assignment into an equality comparison |
---|
4260 | :info:build if (r = build_ubus_tab (dptr, dibp)) /* add to Unibus tab */ |
---|
4261 | :info:build ^ |
---|
4262 | :info:build == |
---|
4263 | :info:build 3 warnings generated. |
---|
4264 | :info:build In file included from PDP11/pdp11_rq.c:98: |
---|
4265 | :info:build PDP11/pdp11_mscp.h:213:57: warning: '/*' within block comment [-Wcomment] |
---|
4266 | :info:build /* 5 /* reserved */ |
---|
4267 | :info:build ^ |
---|
4268 | :info:build PDP11/pdp11_mscp.h:258:57: warning: '/*' within block comment [-Wcomment] |
---|
4269 | :info:build /* 8 - 15 /* reserved */ |
---|
4270 | :info:build ^ |
---|
4271 | :info:build PDP11/pdp11_mscp.h:265:57: warning: '/*' within block comment [-Wcomment] |
---|
4272 | :info:build /* 8 - 15 /* reserved */ |
---|
4273 | :info:build ^ |
---|
4274 | :info:build PDP11/pdp11_mscp.h:401:57: warning: '/*' within block comment [-Wcomment] |
---|
4275 | :info:build /* 14 /* reserved */ |
---|
4276 | :info:build ^ |
---|
4277 | :info:build PDP11/pdp11_mscp.h:402:57: warning: '/*' within block comment [-Wcomment] |
---|
4278 | :info:build /* 15 /* reserved */ |
---|
4279 | :info:build ^ |
---|
4280 | :info:build PDP11/pdp11_rq.c:1335:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4281 | :info:build if (uptr = rq_getucb (cp, lu)) { /* get unit */ |
---|
4282 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
4283 | :info:build PDP11/pdp11_rq.c:1335:10: note: place parentheses around the assignment to silence this warning |
---|
4284 | :info:build if (uptr = rq_getucb (cp, lu)) { /* get unit */ |
---|
4285 | :info:build ^ |
---|
4286 | :info:build ( ) |
---|
4287 | :info:build PDP11/pdp11_rq.c:1335:10: note: use '==' to turn this assignment into an equality comparison |
---|
4288 | :info:build if (uptr = rq_getucb (cp, lu)) { /* get unit */ |
---|
4289 | :info:build ^ |
---|
4290 | :info:build == |
---|
4291 | :info:build PDP11/pdp11_rq.c:1348:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4292 | :info:build else if (prv = uptr->pktq) { /* srch pkt q */ |
---|
4293 | :info:build ~~~~^~~~~~~~~~~~ |
---|
4294 | :info:build PDP11/pdp11_rq.c:1348:18: note: place parentheses around the assignment to silence this warning |
---|
4295 | :info:build else if (prv = uptr->pktq) { /* srch pkt q */ |
---|
4296 | :info:build ^ |
---|
4297 | :info:build ( ) |
---|
4298 | :info:build PDP11/pdp11_rq.c:1348:18: note: use '==' to turn this assignment into an equality comparison |
---|
4299 | :info:build else if (prv = uptr->pktq) { /* srch pkt q */ |
---|
4300 | :info:build ^ |
---|
4301 | :info:build == |
---|
4302 | :info:build PDP11/pdp11_rq.c:1349:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4303 | :info:build while (tpkt = cp->pak[prv].link) { /* walk list */ |
---|
4304 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~ |
---|
4305 | :info:build PDP11/pdp11_rq.c:1349:21: note: place parentheses around the assignment to silence this warning |
---|
4306 | :info:build while (tpkt = cp->pak[prv].link) { /* walk list */ |
---|
4307 | :info:build ^ |
---|
4308 | :info:build ( ) |
---|
4309 | :info:build PDP11/pdp11_rq.c:1349:21: note: use '==' to turn this assignment into an equality comparison |
---|
4310 | :info:build while (tpkt = cp->pak[prv].link) { /* walk list */ |
---|
4311 | :info:build ^ |
---|
4312 | :info:build == |
---|
4313 | :info:build PDP11/pdp11_rq.c:1376:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4314 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4315 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
4316 | :info:build PDP11/pdp11_rq.c:1376:10: note: place parentheses around the assignment to silence this warning |
---|
4317 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4318 | :info:build ^ |
---|
4319 | :info:build ( ) |
---|
4320 | :info:build PDP11/pdp11_rq.c:1376:10: note: use '==' to turn this assignment into an equality comparison |
---|
4321 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4322 | :info:build ^ |
---|
4323 | :info:build == |
---|
4324 | :info:build PDP11/pdp11_rq.c:1430:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4325 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4326 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
4327 | :info:build PDP11/pdp11_rq.c:1430:10: note: place parentheses around the assignment to silence this warning |
---|
4328 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4329 | :info:build ^ |
---|
4330 | :info:build ( ) |
---|
4331 | :info:build PDP11/pdp11_rq.c:1430:10: note: use '==' to turn this assignment into an equality comparison |
---|
4332 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4333 | :info:build ^ |
---|
4334 | :info:build == |
---|
4335 | :info:build PDP11/pdp11_rq.c:1465:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4336 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4337 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
4338 | :info:build PDP11/pdp11_rq.c:1465:10: note: place parentheses around the assignment to silence this warning |
---|
4339 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4340 | :info:build ^ |
---|
4341 | :info:build ( ) |
---|
4342 | :info:build PDP11/pdp11_rq.c:1465:10: note: use '==' to turn this assignment into an equality comparison |
---|
4343 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4344 | :info:build ^ |
---|
4345 | :info:build == |
---|
4346 | :info:build PDP11/pdp11_rq.c:1503:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4347 | :info:build if (cp->htmo = cp->pak[pkt].d[SCC_TMO]) /* set timeout */ |
---|
4348 | :info:build ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4349 | :info:build PDP11/pdp11_rq.c:1503:18: note: place parentheses around the assignment to silence this warning |
---|
4350 | :info:build if (cp->htmo = cp->pak[pkt].d[SCC_TMO]) /* set timeout */ |
---|
4351 | :info:build ^ |
---|
4352 | :info:build ( ) |
---|
4353 | :info:build PDP11/pdp11_rq.c:1503:18: note: use '==' to turn this assignment into an equality comparison |
---|
4354 | :info:build if (cp->htmo = cp->pak[pkt].d[SCC_TMO]) /* set timeout */ |
---|
4355 | :info:build ^ |
---|
4356 | :info:build == |
---|
4357 | :info:build PDP11/pdp11_rq.c:1530:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4358 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4359 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
4360 | :info:build PDP11/pdp11_rq.c:1530:10: note: place parentheses around the assignment to silence this warning |
---|
4361 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4362 | :info:build ^ |
---|
4363 | :info:build ( ) |
---|
4364 | :info:build PDP11/pdp11_rq.c:1530:10: note: use '==' to turn this assignment into an equality comparison |
---|
4365 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4366 | :info:build ^ |
---|
4367 | :info:build == |
---|
4368 | :info:build PDP11/pdp11_rq.c:1559:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4369 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4370 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
4371 | :info:build PDP11/pdp11_rq.c:1559:10: note: place parentheses around the assignment to silence this warning |
---|
4372 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4373 | :info:build ^ |
---|
4374 | :info:build ( ) |
---|
4375 | :info:build PDP11/pdp11_rq.c:1559:10: note: use '==' to turn this assignment into an equality comparison |
---|
4376 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4377 | :info:build ^ |
---|
4378 | :info:build == |
---|
4379 | :info:build PDP11/pdp11_rq.c:1593:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4380 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4381 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
4382 | :info:build PDP11/pdp11_rq.c:1593:10: note: place parentheses around the assignment to silence this warning |
---|
4383 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4384 | :info:build ^ |
---|
4385 | :info:build ( ) |
---|
4386 | :info:build PDP11/pdp11_rq.c:1593:10: note: use '==' to turn this assignment into an equality comparison |
---|
4387 | :info:build if (uptr = rq_getucb (cp, lu)) { /* unit exist? */ |
---|
4388 | :info:build ^ |
---|
4389 | :info:build == |
---|
4390 | :info:build PDP11/pdp11_rq.c:1637:57: warning: '/*' within block comment [-Wcomment] |
---|
4391 | :info:build /* if (lbn & 0xF0000000) return (ST_CMD | I_LBN); /* 'reasonable' lbn? */ |
---|
4392 | :info:build ^ |
---|
4393 | :info:build PDP11/pdp11_rq.c:1708:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4394 | :info:build if (abc = tbc - t) { /* any xfer? */ |
---|
4395 | :info:build ~~~~^~~~~~~~~ |
---|
4396 | :info:build PDP11/pdp11_rq.c:1708:13: note: place parentheses around the assignment to silence this warning |
---|
4397 | :info:build if (abc = tbc - t) { /* any xfer? */ |
---|
4398 | :info:build ^ |
---|
4399 | :info:build ( ) |
---|
4400 | :info:build PDP11/pdp11_rq.c:1708:13: note: use '==' to turn this assignment into an equality comparison |
---|
4401 | :info:build if (abc = tbc - t) { /* any xfer? */ |
---|
4402 | :info:build ^ |
---|
4403 | :info:build == |
---|
4404 | :info:build PDP11/pdp11_rq.c:1735:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4405 | :info:build if (t = Map_WriteW (ba, tbc, rqxb)) { /* store, nxm? */ |
---|
4406 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4407 | :info:build PDP11/pdp11_rq.c:1735:15: note: place parentheses around the assignment to silence this warning |
---|
4408 | :info:build if (t = Map_WriteW (ba, tbc, rqxb)) { /* store, nxm? */ |
---|
4409 | :info:build ^ |
---|
4410 | :info:build ( ) |
---|
4411 | :info:build PDP11/pdp11_rq.c:1735:15: note: use '==' to turn this assignment into an equality comparison |
---|
4412 | :info:build if (t = Map_WriteW (ba, tbc, rqxb)) { /* store, nxm? */ |
---|
4413 | :info:build ^ |
---|
4414 | :info:build == |
---|
4415 | :info:build PDP11/pdp11_rq.c:2569:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4416 | :info:build if (pkt = uptr->pktq) { |
---|
4417 | :info:build ~~~~^~~~~~~~~~~~ |
---|
4418 | :info:build PDP11/pdp11_rq.c:2569:13: note: place parentheses around the assignment to silence this warning |
---|
4419 | :info:build if (pkt = uptr->pktq) { |
---|
4420 | :info:build ^ |
---|
4421 | :info:build ( ) |
---|
4422 | :info:build PDP11/pdp11_rq.c:2569:13: note: use '==' to turn this assignment into an equality comparison |
---|
4423 | :info:build if (pkt = uptr->pktq) { |
---|
4424 | :info:build ^ |
---|
4425 | :info:build == |
---|
4426 | :info:build PDP11/pdp11_rq.c:2573:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4427 | :info:build } while (pkt = cp->pak[pkt].link); |
---|
4428 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~ |
---|
4429 | :info:build PDP11/pdp11_rq.c:2573:26: note: place parentheses around the assignment to silence this warning |
---|
4430 | :info:build } while (pkt = cp->pak[pkt].link); |
---|
4431 | :info:build ^ |
---|
4432 | :info:build ( ) |
---|
4433 | :info:build PDP11/pdp11_rq.c:2573:26: note: use '==' to turn this assignment into an equality comparison |
---|
4434 | :info:build } while (pkt = cp->pak[pkt].link); |
---|
4435 | :info:build ^ |
---|
4436 | :info:build == |
---|
4437 | :info:build PDP11/pdp11_rq.c:2600:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4438 | :info:build if (pkt = cp->freq) { |
---|
4439 | :info:build ~~~~^~~~~~~~~~ |
---|
4440 | :info:build PDP11/pdp11_rq.c:2600:13: note: place parentheses around the assignment to silence this warning |
---|
4441 | :info:build if (pkt = cp->freq) { |
---|
4442 | :info:build ^ |
---|
4443 | :info:build ( ) |
---|
4444 | :info:build PDP11/pdp11_rq.c:2600:13: note: use '==' to turn this assignment into an equality comparison |
---|
4445 | :info:build if (pkt = cp->freq) { |
---|
4446 | :info:build ^ |
---|
4447 | :info:build == |
---|
4448 | :info:build PDP11/pdp11_rq.c:2613:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4449 | :info:build if (pkt = cp->rspq) { |
---|
4450 | :info:build ~~~~^~~~~~~~~~ |
---|
4451 | :info:build PDP11/pdp11_rq.c:2613:13: note: place parentheses around the assignment to silence this warning |
---|
4452 | :info:build if (pkt = cp->rspq) { |
---|
4453 | :info:build ^ |
---|
4454 | :info:build ( ) |
---|
4455 | :info:build PDP11/pdp11_rq.c:2613:13: note: use '==' to turn this assignment into an equality comparison |
---|
4456 | :info:build if (pkt = cp->rspq) { |
---|
4457 | :info:build ^ |
---|
4458 | :info:build == |
---|
4459 | :info:build PDP11/pdp11_rq.c:2617:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4460 | :info:build } while (pkt = cp->pak[pkt].link); |
---|
4461 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~ |
---|
4462 | :info:build PDP11/pdp11_rq.c:2617:26: note: place parentheses around the assignment to silence this warning |
---|
4463 | :info:build } while (pkt = cp->pak[pkt].link); |
---|
4464 | :info:build ^ |
---|
4465 | :info:build ( ) |
---|
4466 | :info:build PDP11/pdp11_rq.c:2617:26: note: use '==' to turn this assignment into an equality comparison |
---|
4467 | :info:build } while (pkt = cp->pak[pkt].link); |
---|
4468 | :info:build ^ |
---|
4469 | :info:build == |
---|
4470 | :info:build 23 warnings generated. |
---|
4471 | :info:build In file included from PDP11/pdp11_tq.c:70: |
---|
4472 | :info:build PDP11/pdp11_mscp.h:213:57: warning: '/*' within block comment [-Wcomment] |
---|
4473 | :info:build /* 5 /* reserved */ |
---|
4474 | :info:build ^ |
---|
4475 | :info:build PDP11/pdp11_mscp.h:258:57: warning: '/*' within block comment [-Wcomment] |
---|
4476 | :info:build /* 8 - 15 /* reserved */ |
---|
4477 | :info:build ^ |
---|
4478 | :info:build PDP11/pdp11_mscp.h:265:57: warning: '/*' within block comment [-Wcomment] |
---|
4479 | :info:build /* 8 - 15 /* reserved */ |
---|
4480 | :info:build ^ |
---|
4481 | :info:build PDP11/pdp11_mscp.h:401:57: warning: '/*' within block comment [-Wcomment] |
---|
4482 | :info:build /* 14 /* reserved */ |
---|
4483 | :info:build ^ |
---|
4484 | :info:build PDP11/pdp11_mscp.h:402:57: warning: '/*' within block comment [-Wcomment] |
---|
4485 | :info:build /* 15 /* reserved */ |
---|
4486 | :info:build ^ |
---|
4487 | :info:build PDP11/pdp11_tq.c:729:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4488 | :info:build if (uptr = tq_getucb (lu)) { /* valid unit? */ |
---|
4489 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4490 | :info:build PDP11/pdp11_tq.c:729:14: note: place parentheses around the assignment to silence this warning |
---|
4491 | :info:build if (uptr = tq_getucb (lu)) { /* valid unit? */ |
---|
4492 | :info:build ^ |
---|
4493 | :info:build ( ) |
---|
4494 | :info:build PDP11/pdp11_tq.c:729:14: note: use '==' to turn this assignment into an equality comparison |
---|
4495 | :info:build if (uptr = tq_getucb (lu)) { /* valid unit? */ |
---|
4496 | :info:build ^ |
---|
4497 | :info:build == |
---|
4498 | :info:build PDP11/pdp11_tq.c:735:57: warning: '/*' within block comment [-Wcomment] |
---|
4499 | :info:build /* if (tq_cmf[cmd] & MD_CDL) /* clr cch lost? */ |
---|
4500 | :info:build ^ |
---|
4501 | :info:build PDP11/pdp11_tq.c:807:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4502 | :info:build if (uptr = tq_getucb (lu)) { /* get unit */ |
---|
4503 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4504 | :info:build PDP11/pdp11_tq.c:807:10: note: place parentheses around the assignment to silence this warning |
---|
4505 | :info:build if (uptr = tq_getucb (lu)) { /* get unit */ |
---|
4506 | :info:build ^ |
---|
4507 | :info:build ( ) |
---|
4508 | :info:build PDP11/pdp11_tq.c:807:10: note: use '==' to turn this assignment into an equality comparison |
---|
4509 | :info:build if (uptr = tq_getucb (lu)) { /* get unit */ |
---|
4510 | :info:build ^ |
---|
4511 | :info:build == |
---|
4512 | :info:build PDP11/pdp11_tq.c:820:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4513 | :info:build else if (prv = uptr->pktq) { /* srch pkt q */ |
---|
4514 | :info:build ~~~~^~~~~~~~~~~~ |
---|
4515 | :info:build PDP11/pdp11_tq.c:820:18: note: place parentheses around the assignment to silence this warning |
---|
4516 | :info:build else if (prv = uptr->pktq) { /* srch pkt q */ |
---|
4517 | :info:build ^ |
---|
4518 | :info:build ( ) |
---|
4519 | :info:build PDP11/pdp11_tq.c:820:18: note: use '==' to turn this assignment into an equality comparison |
---|
4520 | :info:build else if (prv = uptr->pktq) { /* srch pkt q */ |
---|
4521 | :info:build ^ |
---|
4522 | :info:build == |
---|
4523 | :info:build PDP11/pdp11_tq.c:821:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4524 | :info:build while (tpkt = tq_pkt[prv].link) { /* walk list */ |
---|
4525 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~ |
---|
4526 | :info:build PDP11/pdp11_tq.c:821:21: note: place parentheses around the assignment to silence this warning |
---|
4527 | :info:build while (tpkt = tq_pkt[prv].link) { /* walk list */ |
---|
4528 | :info:build ^ |
---|
4529 | :info:build ( ) |
---|
4530 | :info:build PDP11/pdp11_tq.c:821:21: note: use '==' to turn this assignment into an equality comparison |
---|
4531 | :info:build while (tpkt = tq_pkt[prv].link) { /* walk list */ |
---|
4532 | :info:build ^ |
---|
4533 | :info:build == |
---|
4534 | :info:build PDP11/pdp11_tq.c:849:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4535 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4536 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4537 | :info:build PDP11/pdp11_tq.c:849:10: note: place parentheses around the assignment to silence this warning |
---|
4538 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4539 | :info:build ^ |
---|
4540 | :info:build ( ) |
---|
4541 | :info:build PDP11/pdp11_tq.c:849:10: note: use '==' to turn this assignment into an equality comparison |
---|
4542 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4543 | :info:build ^ |
---|
4544 | :info:build == |
---|
4545 | :info:build PDP11/pdp11_tq.c:904:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4546 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4547 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4548 | :info:build PDP11/pdp11_tq.c:904:10: note: place parentheses around the assignment to silence this warning |
---|
4549 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4550 | :info:build ^ |
---|
4551 | :info:build ( ) |
---|
4552 | :info:build PDP11/pdp11_tq.c:904:10: note: use '==' to turn this assignment into an equality comparison |
---|
4553 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4554 | :info:build ^ |
---|
4555 | :info:build == |
---|
4556 | :info:build PDP11/pdp11_tq.c:929:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4557 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4558 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4559 | :info:build PDP11/pdp11_tq.c:929:10: note: place parentheses around the assignment to silence this warning |
---|
4560 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4561 | :info:build ^ |
---|
4562 | :info:build ( ) |
---|
4563 | :info:build PDP11/pdp11_tq.c:929:10: note: use '==' to turn this assignment into an equality comparison |
---|
4564 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4565 | :info:build ^ |
---|
4566 | :info:build == |
---|
4567 | :info:build PDP11/pdp11_tq.c:958:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4568 | :info:build if (tq_htmo = tq_pkt[pkt].d[SCC_TMO]) /* set timeout */ |
---|
4569 | :info:build ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4570 | :info:build PDP11/pdp11_tq.c:958:17: note: place parentheses around the assignment to silence this warning |
---|
4571 | :info:build if (tq_htmo = tq_pkt[pkt].d[SCC_TMO]) /* set timeout */ |
---|
4572 | :info:build ^ |
---|
4573 | :info:build ( ) |
---|
4574 | :info:build PDP11/pdp11_tq.c:958:17: note: use '==' to turn this assignment into an equality comparison |
---|
4575 | :info:build if (tq_htmo = tq_pkt[pkt].d[SCC_TMO]) /* set timeout */ |
---|
4576 | :info:build ^ |
---|
4577 | :info:build == |
---|
4578 | :info:build PDP11/pdp11_tq.c:982:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4579 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4580 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4581 | :info:build PDP11/pdp11_tq.c:982:10: note: place parentheses around the assignment to silence this warning |
---|
4582 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4583 | :info:build ^ |
---|
4584 | :info:build ( ) |
---|
4585 | :info:build PDP11/pdp11_tq.c:982:10: note: use '==' to turn this assignment into an equality comparison |
---|
4586 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4587 | :info:build ^ |
---|
4588 | :info:build == |
---|
4589 | :info:build PDP11/pdp11_tq.c:1004:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4590 | :info:build if (uptr = tq_getucb (lu)) /* unit exist? */ |
---|
4591 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4592 | :info:build PDP11/pdp11_tq.c:1004:10: note: place parentheses around the assignment to silence this warning |
---|
4593 | :info:build if (uptr = tq_getucb (lu)) /* unit exist? */ |
---|
4594 | :info:build ^ |
---|
4595 | :info:build ( ) |
---|
4596 | :info:build PDP11/pdp11_tq.c:1004:10: note: use '==' to turn this assignment into an equality comparison |
---|
4597 | :info:build if (uptr = tq_getucb (lu)) /* unit exist? */ |
---|
4598 | :info:build ^ |
---|
4599 | :info:build == |
---|
4600 | :info:build PDP11/pdp11_tq.c:1020:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4601 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4602 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4603 | :info:build PDP11/pdp11_tq.c:1020:10: note: place parentheses around the assignment to silence this warning |
---|
4604 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4605 | :info:build ^ |
---|
4606 | :info:build ( ) |
---|
4607 | :info:build PDP11/pdp11_tq.c:1020:10: note: use '==' to turn this assignment into an equality comparison |
---|
4608 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4609 | :info:build ^ |
---|
4610 | :info:build == |
---|
4611 | :info:build PDP11/pdp11_tq.c:1041:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4612 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4613 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4614 | :info:build PDP11/pdp11_tq.c:1041:10: note: place parentheses around the assignment to silence this warning |
---|
4615 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4616 | :info:build ^ |
---|
4617 | :info:build ( ) |
---|
4618 | :info:build PDP11/pdp11_tq.c:1041:10: note: use '==' to turn this assignment into an equality comparison |
---|
4619 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4620 | :info:build ^ |
---|
4621 | :info:build == |
---|
4622 | :info:build PDP11/pdp11_tq.c:1064:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4623 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4624 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4625 | :info:build PDP11/pdp11_tq.c:1064:10: note: place parentheses around the assignment to silence this warning |
---|
4626 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4627 | :info:build ^ |
---|
4628 | :info:build ( ) |
---|
4629 | :info:build PDP11/pdp11_tq.c:1064:10: note: use '==' to turn this assignment into an equality comparison |
---|
4630 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4631 | :info:build ^ |
---|
4632 | :info:build == |
---|
4633 | :info:build PDP11/pdp11_tq.c:1091:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4634 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4635 | :info:build ~~~~~^~~~~~~~~~~~~~~~ |
---|
4636 | :info:build PDP11/pdp11_tq.c:1091:10: note: place parentheses around the assignment to silence this warning |
---|
4637 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4638 | :info:build ^ |
---|
4639 | :info:build ( ) |
---|
4640 | :info:build PDP11/pdp11_tq.c:1091:10: note: use '==' to turn this assignment into an equality comparison |
---|
4641 | :info:build if (uptr = tq_getucb (lu)) { /* unit exist? */ |
---|
4642 | :info:build ^ |
---|
4643 | :info:build == |
---|
4644 | :info:build PDP11/pdp11_tq.c:1193:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4645 | :info:build if (t = Map_WriteB (ba, wbc, tqxb)) { /* store, nxm? */ |
---|
4646 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4647 | :info:build PDP11/pdp11_tq.c:1193:19: note: place parentheses around the assignment to silence this warning |
---|
4648 | :info:build if (t = Map_WriteB (ba, wbc, tqxb)) { /* store, nxm? */ |
---|
4649 | :info:build ^ |
---|
4650 | :info:build ( ) |
---|
4651 | :info:build PDP11/pdp11_tq.c:1193:19: note: use '==' to turn this assignment into an equality comparison |
---|
4652 | :info:build if (t = Map_WriteB (ba, wbc, tqxb)) { /* store, nxm? */ |
---|
4653 | :info:build ^ |
---|
4654 | :info:build == |
---|
4655 | :info:build PDP11/pdp11_tq.c:1230:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4656 | :info:build if (t = Map_ReadB (ba, bc, tqxb)) { /* fetch buf, nxm? */ |
---|
4657 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4658 | :info:build PDP11/pdp11_tq.c:1230:15: note: place parentheses around the assignment to silence this warning |
---|
4659 | :info:build if (t = Map_ReadB (ba, bc, tqxb)) { /* fetch buf, nxm? */ |
---|
4660 | :info:build ^ |
---|
4661 | :info:build ( ) |
---|
4662 | :info:build PDP11/pdp11_tq.c:1230:15: note: use '==' to turn this assignment into an equality comparison |
---|
4663 | :info:build if (t = Map_ReadB (ba, bc, tqxb)) { /* fetch buf, nxm? */ |
---|
4664 | :info:build ^ |
---|
4665 | :info:build == |
---|
4666 | :info:build PDP11/pdp11_tq.c:2166:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4667 | :info:build if (pkt = uptr->pktq) { |
---|
4668 | :info:build ~~~~^~~~~~~~~~~~ |
---|
4669 | :info:build PDP11/pdp11_tq.c:2166:13: note: place parentheses around the assignment to silence this warning |
---|
4670 | :info:build if (pkt = uptr->pktq) { |
---|
4671 | :info:build ^ |
---|
4672 | :info:build ( ) |
---|
4673 | :info:build PDP11/pdp11_tq.c:2166:13: note: use '==' to turn this assignment into an equality comparison |
---|
4674 | :info:build if (pkt = uptr->pktq) { |
---|
4675 | :info:build ^ |
---|
4676 | :info:build == |
---|
4677 | :info:build PDP11/pdp11_tq.c:2170:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4678 | :info:build } while (pkt = tq_pkt[pkt].link); |
---|
4679 | :info:build ~~~~^~~~~~~~~~~~~~~~~~ |
---|
4680 | :info:build PDP11/pdp11_tq.c:2170:26: note: place parentheses around the assignment to silence this warning |
---|
4681 | :info:build } while (pkt = tq_pkt[pkt].link); |
---|
4682 | :info:build ^ |
---|
4683 | :info:build ( ) |
---|
4684 | :info:build PDP11/pdp11_tq.c:2170:26: note: use '==' to turn this assignment into an equality comparison |
---|
4685 | :info:build } while (pkt = tq_pkt[pkt].link); |
---|
4686 | :info:build ^ |
---|
4687 | :info:build == |
---|
4688 | :info:build PDP11/pdp11_tq.c:2195:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4689 | :info:build if (pkt = tq_freq) { |
---|
4690 | :info:build ~~~~^~~~~~~~~ |
---|
4691 | :info:build PDP11/pdp11_tq.c:2195:13: note: place parentheses around the assignment to silence this warning |
---|
4692 | :info:build if (pkt = tq_freq) { |
---|
4693 | :info:build ^ |
---|
4694 | :info:build ( ) |
---|
4695 | :info:build PDP11/pdp11_tq.c:2195:13: note: use '==' to turn this assignment into an equality comparison |
---|
4696 | :info:build if (pkt = tq_freq) { |
---|
4697 | :info:build ^ |
---|
4698 | :info:build == |
---|
4699 | :info:build PDP11/pdp11_tq.c:2208:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4700 | :info:build if (pkt = tq_rspq) { |
---|
4701 | :info:build ~~~~^~~~~~~~~ |
---|
4702 | :info:build PDP11/pdp11_tq.c:2208:13: note: place parentheses around the assignment to silence this warning |
---|
4703 | :info:build if (pkt = tq_rspq) { |
---|
4704 | :info:build ^ |
---|
4705 | :info:build ( ) |
---|
4706 | :info:build PDP11/pdp11_tq.c:2208:13: note: use '==' to turn this assignment into an equality comparison |
---|
4707 | :info:build if (pkt = tq_rspq) { |
---|
4708 | :info:build ^ |
---|
4709 | :info:build == |
---|
4710 | :info:build PDP11/pdp11_tq.c:2212:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4711 | :info:build } while (pkt = tq_pkt[pkt].link); |
---|
4712 | :info:build ~~~~^~~~~~~~~~~~~~~~~~ |
---|
4713 | :info:build PDP11/pdp11_tq.c:2212:26: note: place parentheses around the assignment to silence this warning |
---|
4714 | :info:build } while (pkt = tq_pkt[pkt].link); |
---|
4715 | :info:build ^ |
---|
4716 | :info:build ( ) |
---|
4717 | :info:build PDP11/pdp11_tq.c:2212:26: note: use '==' to turn this assignment into an equality comparison |
---|
4718 | :info:build } while (pkt = tq_pkt[pkt].link); |
---|
4719 | :info:build ^ |
---|
4720 | :info:build == |
---|
4721 | :info:build 27 warnings generated. |
---|
4722 | :info:build PDP11/pdp11_hk.c:889:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4723 | :info:build if (t = Map_ReadW (ba, 2, &comp)) { /* get 1st wd */ |
---|
4724 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4725 | :info:build PDP11/pdp11_hk.c:889:23: note: place parentheses around the assignment to silence this warning |
---|
4726 | :info:build if (t = Map_ReadW (ba, 2, &comp)) { /* get 1st wd */ |
---|
4727 | :info:build ^ |
---|
4728 | :info:build ( ) |
---|
4729 | :info:build PDP11/pdp11_hk.c:889:23: note: use '==' to turn this assignment into an equality comparison |
---|
4730 | :info:build if (t = Map_ReadW (ba, 2, &comp)) { /* get 1st wd */ |
---|
4731 | :info:build ^ |
---|
4732 | :info:build == |
---|
4733 | :info:build PDP11/pdp11_hk.c:897:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4734 | :info:build if (t = Map_ReadW (ba, wc << 1, hkxb)) { /* get buf */ |
---|
4735 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4736 | :info:build PDP11/pdp11_hk.c:897:23: note: place parentheses around the assignment to silence this warning |
---|
4737 | :info:build if (t = Map_ReadW (ba, wc << 1, hkxb)) { /* get buf */ |
---|
4738 | :info:build ^ |
---|
4739 | :info:build ( ) |
---|
4740 | :info:build PDP11/pdp11_hk.c:897:23: note: use '==' to turn this assignment into an equality comparison |
---|
4741 | :info:build if (t = Map_ReadW (ba, wc << 1, hkxb)) { /* get buf */ |
---|
4742 | :info:build ^ |
---|
4743 | :info:build == |
---|
4744 | :info:build PDP11/pdp11_hk.c:917:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4745 | :info:build if (t = Map_WriteW (ba, 2, &hkxb[wc - 1])) { |
---|
4746 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4747 | :info:build PDP11/pdp11_hk.c:917:23: note: place parentheses around the assignment to silence this warning |
---|
4748 | :info:build if (t = Map_WriteW (ba, 2, &hkxb[wc - 1])) { |
---|
4749 | :info:build ^ |
---|
4750 | :info:build ( ) |
---|
4751 | :info:build PDP11/pdp11_hk.c:917:23: note: use '==' to turn this assignment into an equality comparison |
---|
4752 | :info:build if (t = Map_WriteW (ba, 2, &hkxb[wc - 1])) { |
---|
4753 | :info:build ^ |
---|
4754 | :info:build == |
---|
4755 | :info:build PDP11/pdp11_hk.c:923:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4756 | :info:build if (t = Map_WriteW (ba, wc << 1, hkxb)) { /* put buf */ |
---|
4757 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4758 | :info:build PDP11/pdp11_hk.c:923:23: note: place parentheses around the assignment to silence this warning |
---|
4759 | :info:build if (t = Map_WriteW (ba, wc << 1, hkxb)) { /* put buf */ |
---|
4760 | :info:build ^ |
---|
4761 | :info:build ( ) |
---|
4762 | :info:build PDP11/pdp11_hk.c:923:23: note: use '==' to turn this assignment into an equality comparison |
---|
4763 | :info:build if (t = Map_WriteW (ba, wc << 1, hkxb)) { /* put buf */ |
---|
4764 | :info:build ^ |
---|
4765 | :info:build == |
---|
4766 | :info:build 4 warnings generated. |
---|
4767 | :info:build PDP11/pdp11_xq.c:1000:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4768 | :info:build if (led = (len & XQ_SETUP_LD) >> 2) { |
---|
4769 | :info:build ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4770 | :info:build PDP11/pdp11_xq.c:1000:13: note: place parentheses around the assignment to silence this warning |
---|
4771 | :info:build if (led = (len & XQ_SETUP_LD) >> 2) { |
---|
4772 | :info:build ^ |
---|
4773 | :info:build ( ) |
---|
4774 | :info:build PDP11/pdp11_xq.c:1000:13: note: use '==' to turn this assignment into an equality comparison |
---|
4775 | :info:build if (led = (len & XQ_SETUP_LD) >> 2) { |
---|
4776 | :info:build ^ |
---|
4777 | :info:build == |
---|
4778 | :info:build PDP11/pdp11_xq.c:1563:11: warning: enumeration value 'XQ_T_DELQA' not handled in switch [-Wswitch] |
---|
4779 | :info:build switch (xq->var->type) { |
---|
4780 | :info:build ^ |
---|
4781 | :info:build PDP11/pdp11_xq.c:1563:11: note: add missing switch cases |
---|
4782 | :info:build switch (xq->var->type) { |
---|
4783 | :info:build ^ |
---|
4784 | :info:build 2 warnings generated. |
---|
4785 | :info:build PDP11/pdp11_xu.c:926:24: warning: '/*' within block comment [-Wcomment] |
---|
4786 | :info:build /* xu_dump_rxring(xu); /* debug receive ring */ |
---|
4787 | :info:build ^ |
---|
4788 | :info:build PDP11/pdp11_xu.c:1098:24: warning: '/*' within block comment [-Wcomment] |
---|
4789 | :info:build /* xu_dump_txring(xu); /* debug receive ring */ |
---|
4790 | :info:build ^ |
---|
4791 | :info:build 2 warnings generated. |
---|
4792 | :info:build PDP11/pdp11_vh.c:678:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4793 | :info:build while (c = tmxr_getc_ln (lp->tmln)) { |
---|
4794 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4795 | :info:build PDP11/pdp11_vh.c:678:12: note: place parentheses around the assignment to silence this warning |
---|
4796 | :info:build while (c = tmxr_getc_ln (lp->tmln)) { |
---|
4797 | :info:build ^ |
---|
4798 | :info:build ( ) |
---|
4799 | :info:build PDP11/pdp11_vh.c:678:12: note: use '==' to turn this assignment into an equality comparison |
---|
4800 | :info:build while (c = tmxr_getc_ln (lp->tmln)) { |
---|
4801 | :info:build ^ |
---|
4802 | :info:build == |
---|
4803 | :info:build PDP11/pdp11_vh.c:789:33: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
4804 | :info:build (vh_csr[vh] & ~0377) | data & 0377; |
---|
4805 | :info:build ~ ~~~~~^~~~~~ |
---|
4806 | :info:build PDP11/pdp11_vh.c:789:33: note: place parentheses around the '&' expression to silence this warning |
---|
4807 | :info:build (vh_csr[vh] & ~0377) | data & 0377; |
---|
4808 | :info:build ^ |
---|
4809 | :info:build ( ) |
---|
4810 | :info:build PDP11/pdp11_vh.c:880:30: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
4811 | :info:build (lp->lpr & ~0377) | data & 0377; |
---|
4812 | :info:build ~ ~~~~~^~~~~~ |
---|
4813 | :info:build PDP11/pdp11_vh.c:880:30: note: place parentheses around the '&' expression to silence this warning |
---|
4814 | :info:build (lp->lpr & ~0377) | data & 0377; |
---|
4815 | :info:build ^ |
---|
4816 | :info:build ( ) |
---|
4817 | :info:build PDP11/pdp11_vh.c:929:33: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
4818 | :info:build (lp->lnctrl & ~0377) | data & 0377; |
---|
4819 | :info:build ~ ~~~~~^~~~~~ |
---|
4820 | :info:build PDP11/pdp11_vh.c:929:33: note: place parentheses around the '&' expression to silence this warning |
---|
4821 | :info:build (lp->lnctrl & ~0377) | data & 0377; |
---|
4822 | :info:build ^ |
---|
4823 | :info:build ( ) |
---|
4824 | :info:build PDP11/pdp11_vh.c:996:32: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
4825 | :info:build (lp->tbuf1 & ~0377) | data & 0377; |
---|
4826 | :info:build ~ ~~~~~^~~~~~ |
---|
4827 | :info:build PDP11/pdp11_vh.c:996:32: note: place parentheses around the '&' expression to silence this warning |
---|
4828 | :info:build (lp->tbuf1 & ~0377) | data & 0377; |
---|
4829 | :info:build ^ |
---|
4830 | :info:build ( ) |
---|
4831 | :info:build PDP11/pdp11_vh.c:1011:32: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
4832 | :info:build (lp->tbuf2 & ~0377) | data & 0377; |
---|
4833 | :info:build ~ ~~~~~^~~~~~ |
---|
4834 | :info:build PDP11/pdp11_vh.c:1011:32: note: place parentheses around the '&' expression to silence this warning |
---|
4835 | :info:build (lp->tbuf2 & ~0377) | data & 0377; |
---|
4836 | :info:build ^ |
---|
4837 | :info:build ( ) |
---|
4838 | :info:build PDP11/pdp11_vh.c:1031:34: warning: '&' within '|' [-Wbitwise-op-parentheses] |
---|
4839 | :info:build (lp->tbuffct & ~0377) | data & 0377; |
---|
4840 | :info:build ~ ~~~~~^~~~~~ |
---|
4841 | :info:build PDP11/pdp11_vh.c:1031:34: note: place parentheses around the '&' expression to silence this warning |
---|
4842 | :info:build (lp->tbuffct & ~0377) | data & 0377; |
---|
4843 | :info:build ^ |
---|
4844 | :info:build ( ) |
---|
4845 | :info:build 7 warnings generated. |
---|
4846 | :info:build PDP11/pdp11_tu.c:647:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4847 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
4848 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4849 | :info:build PDP11/pdp11_tu.c:647:20: note: place parentheses around the assignment to silence this warning |
---|
4850 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
4851 | :info:build ^ |
---|
4852 | :info:build ( ) |
---|
4853 | :info:build PDP11/pdp11_tu.c:647:20: note: use '==' to turn this assignment into an equality comparison |
---|
4854 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) { /* space rec fwd, err? */ |
---|
4855 | :info:build ^ |
---|
4856 | :info:build == |
---|
4857 | :info:build PDP11/pdp11_tu.c:660:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4858 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
4859 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4860 | :info:build PDP11/pdp11_tu.c:660:20: note: place parentheses around the assignment to silence this warning |
---|
4861 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
4862 | :info:build ^ |
---|
4863 | :info:build ( ) |
---|
4864 | :info:build PDP11/pdp11_tu.c:660:20: note: use '==' to turn this assignment into an equality comparison |
---|
4865 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) { /* space rec rev, err? */ |
---|
4866 | :info:build ^ |
---|
4867 | :info:build == |
---|
4868 | :info:build PDP11/pdp11_tu.c:671:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4869 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4870 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
4871 | :info:build PDP11/pdp11_tu.c:671:16: note: place parentheses around the assignment to silence this warning |
---|
4872 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4873 | :info:build ^ |
---|
4874 | :info:build ( ) |
---|
4875 | :info:build PDP11/pdp11_tu.c:671:16: note: use '==' to turn this assignment into an equality comparison |
---|
4876 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4877 | :info:build ^ |
---|
4878 | :info:build == |
---|
4879 | :info:build PDP11/pdp11_tu.c:687:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4880 | :info:build if (st = sim_tape_rdrecf (uptr, xbuf, &tbc, MT_MAXFR)) { /* read fwd */ |
---|
4881 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4882 | :info:build PDP11/pdp11_tu.c:687:16: note: place parentheses around the assignment to silence this warning |
---|
4883 | :info:build if (st = sim_tape_rdrecf (uptr, xbuf, &tbc, MT_MAXFR)) { /* read fwd */ |
---|
4884 | :info:build ^ |
---|
4885 | :info:build ( ) |
---|
4886 | :info:build PDP11/pdp11_tu.c:687:16: note: use '==' to turn this assignment into an equality comparison |
---|
4887 | :info:build if (st = sim_tape_rdrecf (uptr, xbuf, &tbc, MT_MAXFR)) { /* read fwd */ |
---|
4888 | :info:build ^ |
---|
4889 | :info:build == |
---|
4890 | :info:build PDP11/pdp11_tu.c:739:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4891 | :info:build if (st = sim_tape_wrrecf (uptr, xbuf, tbc)) /* write rec, err? */ |
---|
4892 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4893 | :info:build PDP11/pdp11_tu.c:739:16: note: place parentheses around the assignment to silence this warning |
---|
4894 | :info:build if (st = sim_tape_wrrecf (uptr, xbuf, tbc)) /* write rec, err? */ |
---|
4895 | :info:build ^ |
---|
4896 | :info:build ( ) |
---|
4897 | :info:build PDP11/pdp11_tu.c:739:16: note: use '==' to turn this assignment into an equality comparison |
---|
4898 | :info:build if (st = sim_tape_wrrecf (uptr, xbuf, tbc)) /* write rec, err? */ |
---|
4899 | :info:build ^ |
---|
4900 | :info:build == |
---|
4901 | :info:build PDP11/pdp11_tu.c:751:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4902 | :info:build if (st = sim_tape_rdrecr (uptr, xbuf + 4, &tbc, MT_MAXFR)) { /* read rev */ |
---|
4903 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4904 | :info:build PDP11/pdp11_tu.c:751:16: note: place parentheses around the assignment to silence this warning |
---|
4905 | :info:build if (st = sim_tape_rdrecr (uptr, xbuf + 4, &tbc, MT_MAXFR)) { /* read rev */ |
---|
4906 | :info:build ^ |
---|
4907 | :info:build ( ) |
---|
4908 | :info:build PDP11/pdp11_tu.c:751:16: note: use '==' to turn this assignment into an equality comparison |
---|
4909 | :info:build if (st = sim_tape_rdrecr (uptr, xbuf + 4, &tbc, MT_MAXFR)) { /* read rev */ |
---|
4910 | :info:build ^ |
---|
4911 | :info:build == |
---|
4912 | :info:build 6 warnings generated. |
---|
4913 | :info:build PDP11/pdp11_cpumod.c:1078:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4914 | :info:build if (r = build_ubus_tab (&cpu_dev, cnf_tab[i].dib)) /* add to dispatch tab */ |
---|
4915 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4916 | :info:build PDP11/pdp11_cpumod.c:1078:15: note: place parentheses around the assignment to silence this warning |
---|
4917 | :info:build if (r = build_ubus_tab (&cpu_dev, cnf_tab[i].dib)) /* add to dispatch tab */ |
---|
4918 | :info:build ^ |
---|
4919 | :info:build ( ) |
---|
4920 | :info:build PDP11/pdp11_cpumod.c:1078:15: note: use '==' to turn this assignment into an equality comparison |
---|
4921 | :info:build if (r = build_ubus_tab (&cpu_dev, cnf_tab[i].dib)) /* add to dispatch tab */ |
---|
4922 | :info:build ^ |
---|
4923 | :info:build == |
---|
4924 | :info:build 1 warning generated. |
---|
4925 | :info:build PDP11/pdp11_rf.c:380:49: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] |
---|
4926 | :info:build rf_dae = (rf_dae & ~RFDAE_DAE) | ((rf_da >> 16) && RFDAE_DAE); |
---|
4927 | :info:build ^ ~~~~~~~~~ |
---|
4928 | :info:build PDP11/pdp11_rf.c:380:49: note: use '&' for a bitwise operation |
---|
4929 | :info:build rf_dae = (rf_dae & ~RFDAE_DAE) | ((rf_da >> 16) && RFDAE_DAE); |
---|
4930 | :info:build ^~ |
---|
4931 | :info:build & |
---|
4932 | :info:build PDP11/pdp11_rf.c:380:49: note: remove constant to silence this warning |
---|
4933 | :info:build rf_dae = (rf_dae & ~RFDAE_DAE) | ((rf_da >> 16) && RFDAE_DAE); |
---|
4934 | :info:build ~^~~~~~~~~~~~ |
---|
4935 | :info:build 1 warning generated. |
---|
4936 | :info:build PDP11/pdp11_dl.c:345:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4937 | :info:build if (temp = tmxr_getc_ln (&dlx_ldsc[ln])) { /* get char */ |
---|
4938 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4939 | :info:build PDP11/pdp11_dl.c:345:18: note: place parentheses around the assignment to silence this warning |
---|
4940 | :info:build if (temp = tmxr_getc_ln (&dlx_ldsc[ln])) { /* get char */ |
---|
4941 | :info:build ^ |
---|
4942 | :info:build ( ) |
---|
4943 | :info:build PDP11/pdp11_dl.c:345:18: note: use '==' to turn this assignment into an equality comparison |
---|
4944 | :info:build if (temp = tmxr_getc_ln (&dlx_ldsc[ln])) { /* get char */ |
---|
4945 | :info:build ^ |
---|
4946 | :info:build == |
---|
4947 | :info:build 1 warning generated. |
---|
4948 | :info:build PDP11/pdp11_ta.c:400:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4949 | :info:build if (st = sim_tape_wrrecf (uptr, ta_xb, ta_bptr)) /* write, err? */ |
---|
4950 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4951 | :info:build PDP11/pdp11_ta.c:400:19: note: place parentheses around the assignment to silence this warning |
---|
4952 | :info:build if (st = sim_tape_wrrecf (uptr, ta_xb, ta_bptr)) /* write, err? */ |
---|
4953 | :info:build ^ |
---|
4954 | :info:build ( ) |
---|
4955 | :info:build PDP11/pdp11_ta.c:400:19: note: use '==' to turn this assignment into an equality comparison |
---|
4956 | :info:build if (st = sim_tape_wrrecf (uptr, ta_xb, ta_bptr)) /* write, err? */ |
---|
4957 | :info:build ^ |
---|
4958 | :info:build == |
---|
4959 | :info:build PDP11/pdp11_ta.c:406:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4960 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4961 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~ |
---|
4962 | :info:build PDP11/pdp11_ta.c:406:16: note: place parentheses around the assignment to silence this warning |
---|
4963 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4964 | :info:build ^ |
---|
4965 | :info:build ( ) |
---|
4966 | :info:build PDP11/pdp11_ta.c:406:16: note: use '==' to turn this assignment into an equality comparison |
---|
4967 | :info:build if (st = sim_tape_wrtmk (uptr)) /* write tmk, err? */ |
---|
4968 | :info:build ^ |
---|
4969 | :info:build == |
---|
4970 | :info:build PDP11/pdp11_ta.c:416:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4971 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ |
---|
4972 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4973 | :info:build PDP11/pdp11_ta.c:416:16: note: place parentheses around the assignment to silence this warning |
---|
4974 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ |
---|
4975 | :info:build ^ |
---|
4976 | :info:build ( ) |
---|
4977 | :info:build PDP11/pdp11_ta.c:416:16: note: use '==' to turn this assignment into an equality comparison |
---|
4978 | :info:build if (st = sim_tape_sprecr (uptr, &tbc)) /* space rev, err? */ |
---|
4979 | :info:build ^ |
---|
4980 | :info:build == |
---|
4981 | :info:build PDP11/pdp11_ta.c:428:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4982 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) /* space rev, err? */ |
---|
4983 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
4984 | :info:build PDP11/pdp11_ta.c:428:16: note: place parentheses around the assignment to silence this warning |
---|
4985 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) /* space rev, err? */ |
---|
4986 | :info:build ^ |
---|
4987 | :info:build ( ) |
---|
4988 | :info:build PDP11/pdp11_ta.c:428:16: note: use '==' to turn this assignment into an equality comparison |
---|
4989 | :info:build if (st = sim_tape_sprecf (uptr, &tbc)) /* space rev, err? */ |
---|
4990 | :info:build ^ |
---|
4991 | :info:build == |
---|
4992 | :info:build 4 warnings generated. |
---|
4993 | :info:build PDP11/pdp11_ke.c:255:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
4994 | :info:build if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ |
---|
4995 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
4996 | :info:build PDP11/pdp11_ke.c:255:22: note: place parentheses around the assignment to silence this warning |
---|
4997 | :info:build if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ |
---|
4998 | :info:build ^ |
---|
4999 | :info:build ( ) |
---|
5000 | :info:build PDP11/pdp11_ke.c:255:22: note: use '==' to turn this assignment into an equality comparison |
---|
5001 | :info:build if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ |
---|
5002 | :info:build ^ |
---|
5003 | :info:build == |
---|
5004 | :info:build PDP11/pdp11_ke.c:285:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5005 | :info:build if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ |
---|
5006 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5007 | :info:build PDP11/pdp11_ke.c:285:22: note: place parentheses around the assignment to silence this warning |
---|
5008 | :info:build if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ |
---|
5009 | :info:build ^ |
---|
5010 | :info:build ( ) |
---|
5011 | :info:build PDP11/pdp11_ke.c:285:22: note: use '==' to turn this assignment into an equality comparison |
---|
5012 | :info:build if (sign = GET_SIGN_W (ke_AC)) /* sext operand */ |
---|
5013 | :info:build ^ |
---|
5014 | :info:build == |
---|
5015 | :info:build 2 warnings generated. |
---|
5016 | :info:build In file included from scp.c:182: |
---|
5017 | :info:build ./sim_rev.h:389:1: warning: '/*' within block comment [-Wcomment] |
---|
5018 | :info:build /* V3.7 revision history |
---|
5019 | :info:build ^ |
---|
5020 | :info:build ./sim_rev.h:661:1: warning: '/*' within block comment [-Wcomment] |
---|
5021 | :info:build /* V3.6 revision history |
---|
5022 | :info:build ^ |
---|
5023 | :info:build ./sim_rev.h:835:1: warning: '/*' within block comment [-Wcomment] |
---|
5024 | :info:build /* V3.5 revision history |
---|
5025 | :info:build ^ |
---|
5026 | :info:build ./sim_rev.h:971:1: warning: '/*' within block comment [-Wcomment] |
---|
5027 | :info:build /* V3.4 revision history |
---|
5028 | :info:build ^ |
---|
5029 | :info:build ./sim_rev.h:1009:1: warning: '/*' within block comment [-Wcomment] |
---|
5030 | :info:build /* V3.3 revision history |
---|
5031 | :info:build ^ |
---|
5032 | :info:build ./sim_rev.h:1261:1: warning: '/*' within block comment [-Wcomment] |
---|
5033 | :info:build /* V3.2 revision history |
---|
5034 | :info:build ^ |
---|
5035 | :info:build ./sim_rev.h:1460:1: warning: '/*' within block comment [-Wcomment] |
---|
5036 | :info:build /* V3.1 revision history |
---|
5037 | :info:build ^ |
---|
5038 | :info:build ./sim_rev.h:1573:1: warning: '/*' within block comment [-Wcomment] |
---|
5039 | :info:build /* V3.0 revision history |
---|
5040 | :info:build ^ |
---|
5041 | :info:build ./sim_rev.h:1739:1: warning: '/*' within block comment [-Wcomment] |
---|
5042 | :info:build /* V2.10 revision history |
---|
5043 | :info:build ^ |
---|
5044 | :info:build ./sim_rev.h:2037:1: warning: '/*' within block comment [-Wcomment] |
---|
5045 | :info:build /* V2.9 revision history |
---|
5046 | :info:build ^ |
---|
5047 | :info:build scp.c:665:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5048 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
5049 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5050 | :info:build scp.c:665:12: note: place parentheses around the assignment to silence this warning |
---|
5051 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
5052 | :info:build ^ |
---|
5053 | :info:build ( ) |
---|
5054 | :info:build scp.c:665:12: note: use '==' to turn this assignment into an equality comparison |
---|
5055 | :info:build if (np = match_ext (nbuf, "EXE")) /* remove .exe */ |
---|
5056 | :info:build ^ |
---|
5057 | :info:build == |
---|
5058 | :info:build scp.c:673:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5059 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
5060 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5061 | :info:build scp.c:673:14: note: place parentheses around the assignment to silence this warning |
---|
5062 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
5063 | :info:build ^ |
---|
5064 | :info:build ( ) |
---|
5065 | :info:build scp.c:673:14: note: use '==' to turn this assignment into an equality comparison |
---|
5066 | :info:build if (cptr = sim_brk_getact (cbuf, CBUFSIZE)) /* pending action? */ |
---|
5067 | :info:build ^ |
---|
5068 | :info:build == |
---|
5069 | :info:build scp.c:686:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5070 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
5071 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
5072 | :info:build scp.c:686:14: note: place parentheses around the assignment to silence this warning |
---|
5073 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
5074 | :info:build ^ |
---|
5075 | :info:build ( ) |
---|
5076 | :info:build scp.c:686:14: note: use '==' to turn this assignment into an equality comparison |
---|
5077 | :info:build if (cmdp = find_cmd (gbuf)) /* lookup command */ |
---|
5078 | :info:build ^ |
---|
5079 | :info:build == |
---|
5080 | :info:build scp.c:753:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5081 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
5082 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
5083 | :info:build scp.c:753:14: note: place parentheses around the assignment to silence this warning |
---|
5084 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
5085 | :info:build ^ |
---|
5086 | :info:build ( ) |
---|
5087 | :info:build scp.c:753:14: note: use '==' to turn this assignment into an equality comparison |
---|
5088 | :info:build if (cmdp = find_cmd (gbuf)) { |
---|
5089 | :info:build ^ |
---|
5090 | :info:build == |
---|
5091 | :info:build scp.c:897:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5092 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
5093 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
5094 | :info:build scp.c:897:14: note: place parentheses around the assignment to silence this warning |
---|
5095 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
5096 | :info:build ^ |
---|
5097 | :info:build ( ) |
---|
5098 | :info:build scp.c:897:14: note: use '==' to turn this assignment into an equality comparison |
---|
5099 | :info:build if (cmdp = find_cmd (gbuf)) { /* lookup command */ |
---|
5100 | :info:build ^ |
---|
5101 | :info:build == |
---|
5102 | :info:build scp.c:1077:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5103 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
5104 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
5105 | :info:build scp.c:1077:10: note: place parentheses around the assignment to silence this warning |
---|
5106 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
5107 | :info:build ^ |
---|
5108 | :info:build ( ) |
---|
5109 | :info:build scp.c:1077:10: note: use '==' to turn this assignment into an equality comparison |
---|
5110 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
5111 | :info:build ^ |
---|
5112 | :info:build == |
---|
5113 | :info:build scp.c:1082:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5114 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
5115 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5116 | :info:build scp.c:1082:15: note: place parentheses around the assignment to silence this warning |
---|
5117 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
5118 | :info:build ^ |
---|
5119 | :info:build ( ) |
---|
5120 | :info:build scp.c:1082:15: note: use '==' to turn this assignment into an equality comparison |
---|
5121 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
5122 | :info:build ^ |
---|
5123 | :info:build == |
---|
5124 | :info:build scp.c:1088:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5125 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
5126 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5127 | :info:build scp.c:1088:16: note: place parentheses around the assignment to silence this warning |
---|
5128 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
5129 | :info:build ^ |
---|
5130 | :info:build ( ) |
---|
5131 | :info:build scp.c:1088:16: note: use '==' to turn this assignment into an equality comparison |
---|
5132 | :info:build else if (gcmdp = find_ctab (set_glob_tab, gbuf)) /* global? */ |
---|
5133 | :info:build ^ |
---|
5134 | :info:build == |
---|
5135 | :info:build scp.c:1096:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5136 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5137 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5138 | :info:build scp.c:1096:15: note: place parentheses around the assignment to silence this warning |
---|
5139 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5140 | :info:build ^ |
---|
5141 | :info:build ( ) |
---|
5142 | :info:build scp.c:1096:15: note: use '==' to turn this assignment into an equality comparison |
---|
5143 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5144 | :info:build ^ |
---|
5145 | :info:build == |
---|
5146 | :info:build scp.c:1109:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5147 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
5148 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5149 | :info:build scp.c:1109:35: note: place parentheses around the assignment to silence this warning |
---|
5150 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
5151 | :info:build ^ |
---|
5152 | :info:build ( ) |
---|
5153 | :info:build scp.c:1109:35: note: use '==' to turn this assignment into an equality comparison |
---|
5154 | :info:build if (cvptr = strchr (gbuf, '=')) |
---|
5155 | :info:build ^ |
---|
5156 | :info:build == |
---|
5157 | :info:build scp.c:1142:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5158 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
5159 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5160 | :info:build scp.c:1142:18: note: place parentheses around the assignment to silence this warning |
---|
5161 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
5162 | :info:build ^ |
---|
5163 | :info:build ( ) |
---|
5164 | :info:build scp.c:1142:18: note: use '==' to turn this assignment into an equality comparison |
---|
5165 | :info:build if (glbr = find_c1tab (ctbr, gbuf)) { /* global match? */ |
---|
5166 | :info:build ^ |
---|
5167 | :info:build == |
---|
5168 | :info:build scp.c:1333:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5169 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
5170 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5171 | :info:build scp.c:1333:11: note: place parentheses around the assignment to silence this warning |
---|
5172 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
5173 | :info:build ^ |
---|
5174 | :info:build ( ) |
---|
5175 | :info:build scp.c:1333:11: note: use '==' to turn this assignment into an equality comparison |
---|
5176 | :info:build if (shptr = find_shtab (show_glob_tab, gbuf)) /* global? */ |
---|
5177 | :info:build ^ |
---|
5178 | :info:build == |
---|
5179 | :info:build scp.c:1336:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5180 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
5181 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
5182 | :info:build scp.c:1336:10: note: place parentheses around the assignment to silence this warning |
---|
5183 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
5184 | :info:build ^ |
---|
5185 | :info:build ( ) |
---|
5186 | :info:build scp.c:1336:10: note: use '==' to turn this assignment into an equality comparison |
---|
5187 | :info:build if (dptr = find_dev (gbuf)) { /* device match? */ |
---|
5188 | :info:build ^ |
---|
5189 | :info:build == |
---|
5190 | :info:build scp.c:1341:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5191 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
5192 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5193 | :info:build scp.c:1341:15: note: place parentheses around the assignment to silence this warning |
---|
5194 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
5195 | :info:build ^ |
---|
5196 | :info:build ( ) |
---|
5197 | :info:build scp.c:1341:15: note: use '==' to turn this assignment into an equality comparison |
---|
5198 | :info:build else if (dptr = find_unit (gbuf, &uptr)) { /* unit match? */ |
---|
5199 | :info:build ^ |
---|
5200 | :info:build == |
---|
5201 | :info:build scp.c:1361:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5202 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5203 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5204 | :info:build scp.c:1361:15: note: place parentheses around the assignment to silence this warning |
---|
5205 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5206 | :info:build ^ |
---|
5207 | :info:build ( ) |
---|
5208 | :info:build scp.c:1361:15: note: use '==' to turn this assignment into an equality comparison |
---|
5209 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5210 | :info:build ^ |
---|
5211 | :info:build == |
---|
5212 | :info:build scp.c:1380:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5213 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
5214 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5215 | :info:build scp.c:1380:19: note: place parentheses around the assignment to silence this warning |
---|
5216 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
5217 | :info:build ^ |
---|
5218 | :info:build ( ) |
---|
5219 | :info:build scp.c:1380:19: note: use '==' to turn this assignment into an equality comparison |
---|
5220 | :info:build if (shptr = find_shtab (shtb, gbuf)) /* global match? */ |
---|
5221 | :info:build ^ |
---|
5222 | :info:build == |
---|
5223 | :info:build scp.c:1731:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5224 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
5225 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5226 | :info:build scp.c:1731:10: note: place parentheses around the assignment to silence this warning |
---|
5227 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
5228 | :info:build ^ |
---|
5229 | :info:build ( ) |
---|
5230 | :info:build scp.c:1731:10: note: use '==' to turn this assignment into an equality comparison |
---|
5231 | :info:build if (aptr = strchr (cptr, ';')) { /* ;action? */ |
---|
5232 | :info:build ^ |
---|
5233 | :info:build == |
---|
5234 | :info:build scp.c:3567:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5235 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
5236 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5237 | :info:build scp.c:3567:11: note: place parentheses around the assignment to silence this warning |
---|
5238 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
5239 | :info:build ^ |
---|
5240 | :info:build ( ) |
---|
5241 | :info:build scp.c:3567:11: note: use '==' to turn this assignment into an equality comparison |
---|
5242 | :info:build if (portp = strchr (gbuf, ':')) /* x:y? split */ |
---|
5243 | :info:build ^ |
---|
5244 | :info:build == |
---|
5245 | :info:build scp.c:3650:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5246 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
5247 | :info:build ~~~~~^~~~~~~~~~~~~~~~~ |
---|
5248 | :info:build scp.c:3650:10: note: place parentheses around the assignment to silence this warning |
---|
5249 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
5250 | :info:build ^ |
---|
5251 | :info:build ( ) |
---|
5252 | :info:build scp.c:3650:10: note: use '==' to turn this assignment into an equality comparison |
---|
5253 | :info:build if (dptr = find_dev (cptr)) { /* exact match? */ |
---|
5254 | :info:build ^ |
---|
5255 | :info:build == |
---|
5256 | :info:build scp.c:3730:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5257 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
5258 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5259 | :info:build scp.c:3730:14: note: place parentheses around the assignment to silence this warning |
---|
5260 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
5261 | :info:build ^ |
---|
5262 | :info:build ( ) |
---|
5263 | :info:build scp.c:3730:14: note: use '==' to turn this assignment into an equality comparison |
---|
5264 | :info:build if (rptr = find_reg (cptr, optr, dptr)) { /* found? */ |
---|
5265 | :info:build ^ |
---|
5266 | :info:build == |
---|
5267 | :info:build scp.c:3948:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5268 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
5269 | :info:build ~~^~~~~~~~~ |
---|
5270 | :info:build scp.c:3948:28: note: place parentheses around the assignment to silence this warning |
---|
5271 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
5272 | :info:build ^ |
---|
5273 | :info:build ( ) |
---|
5274 | :info:build scp.c:3948:28: note: use '==' to turn this assignment into an equality comparison |
---|
5275 | :info:build for (logop = cmpop = -1; c = *cptr++; ) { /* loop thru clauses */ |
---|
5276 | :info:build ^ |
---|
5277 | :info:build == |
---|
5278 | :info:build scp.c:3949:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5279 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
5280 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5281 | :info:build scp.c:3949:14: note: place parentheses around the assignment to silence this warning |
---|
5282 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
5283 | :info:build ^ |
---|
5284 | :info:build ( ) |
---|
5285 | :info:build scp.c:3949:14: note: use '==' to turn this assignment into an equality comparison |
---|
5286 | :info:build if (sptr = strchr (logstr, c)) { /* check for mask */ |
---|
5287 | :info:build ^ |
---|
5288 | :info:build == |
---|
5289 | :info:build scp.c:3956:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5290 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
5291 | :info:build ~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5292 | :info:build scp.c:3956:19: note: place parentheses around the assignment to silence this warning |
---|
5293 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
5294 | :info:build ^ |
---|
5295 | :info:build ( ) |
---|
5296 | :info:build scp.c:3956:19: note: use '==' to turn this assignment into an equality comparison |
---|
5297 | :info:build else if (sptr = strchr (cmpstr, c)) { /* check for boolop */ |
---|
5298 | :info:build ^ |
---|
5299 | :info:build == |
---|
5300 | :info:build scp.c:4621:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5301 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
5302 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5303 | :info:build scp.c:4621:8: note: place parentheses around the assignment to silence this warning |
---|
5304 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
5305 | :info:build ^ |
---|
5306 | :info:build ( ) |
---|
5307 | :info:build scp.c:4621:8: note: use '==' to turn this assignment into an equality comparison |
---|
5308 | :info:build if (ep = strchr (sim_brk_act, ';')) { /* cmd delimiter? */ |
---|
5309 | :info:build ^ |
---|
5310 | :info:build == |
---|
5311 | :info:build 34 warnings generated. |
---|
5312 | :info:build sim_console.c:164:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5313 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5314 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~ |
---|
5315 | :info:build sim_console.c:164:15: note: place parentheses around the assignment to silence this warning |
---|
5316 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5317 | :info:build ^ |
---|
5318 | :info:build ( ) |
---|
5319 | :info:build sim_console.c:164:15: note: use '==' to turn this assignment into an equality comparison |
---|
5320 | :info:build if (cvptr = strchr (gbuf, '=')) /* = value? */ |
---|
5321 | :info:build ^ |
---|
5322 | :info:build == |
---|
5323 | :info:build sim_console.c:167:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5324 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
5325 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5326 | :info:build sim_console.c:167:15: note: place parentheses around the assignment to silence this warning |
---|
5327 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
5328 | :info:build ^ |
---|
5329 | :info:build ( ) |
---|
5330 | :info:build sim_console.c:167:15: note: use '==' to turn this assignment into an equality comparison |
---|
5331 | :info:build if (ctptr = find_ctab (set_con_tab, gbuf)) { /* match? */ |
---|
5332 | :info:build ^ |
---|
5333 | :info:build == |
---|
5334 | :info:build sim_console.c:192:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5335 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
5336 | :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5337 | :info:build sim_console.c:192:15: note: place parentheses around the assignment to silence this warning |
---|
5338 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
5339 | :info:build ^ |
---|
5340 | :info:build ( ) |
---|
5341 | :info:build sim_console.c:192:15: note: use '==' to turn this assignment into an equality comparison |
---|
5342 | :info:build if (shptr = find_shtab (show_con_tab, gbuf)) |
---|
5343 | :info:build ^ |
---|
5344 | :info:build == |
---|
5345 | :info:build sim_console.c:461:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5346 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
5347 | :info:build ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5348 | :info:build sim_console.c:461:7: note: place parentheses around the assignment to silence this warning |
---|
5349 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
5350 | :info:build ^ |
---|
5351 | :info:build ( ) |
---|
5352 | :info:build sim_console.c:461:7: note: use '==' to turn this assignment into an equality comparison |
---|
5353 | :info:build if (c = tmxr_getc_ln (&sim_con_ldsc)) /* any char? */ |
---|
5354 | :info:build ^ |
---|
5355 | :info:build == |
---|
5356 | :info:build 4 warnings generated. |
---|
5357 | :info:build sim_tape.c:407:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5358 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
5359 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5360 | :info:build sim_tape.c:407:8: note: place parentheses around the assignment to silence this warning |
---|
5361 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
5362 | :info:build ^ |
---|
5363 | :info:build ( ) |
---|
5364 | :info:build sim_tape.c:407:8: note: use '==' to turn this assignment into an equality comparison |
---|
5365 | :info:build if (st = sim_tape_rdlntf (uptr, &tbc)) /* read rec lnt */ |
---|
5366 | :info:build ^ |
---|
5367 | :info:build == |
---|
5368 | :info:build sim_tape.c:456:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] |
---|
5369 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
5370 | :info:build ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
5371 | :info:build sim_tape.c:456:8: note: place parentheses around the assignment to silence this warning |
---|
5372 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
5373 | :info:build ^ |
---|
5374 | :info:build ( ) |
---|
5375 | :info:build sim_tape.c:456:8: note: use '==' to turn this assignment into an equality comparison |
---|
5376 | :info:build if (st = sim_tape_rdlntr (uptr, &tbc)) /* read rec lnt */ |
---|
5377 | :info:build ^ |
---|
5378 | :info:build == |
---|
5379 | :info:build 2 warnings generated. |
---|
5380 | :info:build duplicate symbol _find_dev in: |
---|
5381 | :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/.tmp/scp-9ebc92.o |
---|
5382 | :info:build /opt/local/lib/libpcap.a(pcap.o) |
---|
5383 | :info:build ld: 1 duplicate symbol for architecture x86_64 |
---|
5384 | :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
5385 | :info:build make: *** [BIN/pdp11] Error 1 |
---|
5386 | :info:build Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/work/simhv38-1 && OSTYPE=darwin make USE_NETWORK=1 all |
---|
5387 | :info:build Exit code: 2 |
---|
5388 | :error:build Failed to build simh: command execution failed |
---|
5389 | :debug:build Error code: NONE |
---|
5390 | :debug:build Backtrace: command execution failed |
---|
5391 | :debug:build while executing |
---|
5392 | :debug:build "$procedure $targetname" |
---|
5393 | :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_simh/simh/main.log for details. |
---|