[Simh] Warning from Intel C
Bob Supnik
bob at supnik.org
Mon Jul 16 22:49:37 EDT 2007
This is a real bug (the = should be ==). However, the only impact is
a weakening of error detection on mistaken SET THROTTLE commands, so
it will be fixed in the next release of SIMH.
/Bob Supnik
At 12:00 PM 7/16/2007, you wrote:
<snip>
>------------------------------
>
>Message: 2
>Date: Mon, 16 Jul 2007 14:29:28 +0200
>From: Harald Arnesen <harald at skogtun.org>
>Subject: [Simh] Warning when compiling with Intel C
>To: simh at trailing-edge.com
>Message-ID: <87wsx0351z.fsf at basilikum.skogtun.org>
>Content-Type: text/plain; charset=us-ascii
>
>I tried compiling simh 3.7-2 with Intel's C compiler for Linux. Seems to
>work fine, although I haven't tried the binaries yet.
>
>However, this compiler shows a warning that GCC misses:
>
>sim_timer.c(526): warning #187: use of "=" where "==" may have been intended
> else if ((c = '%') && (val > 0) && (val < 100))
> ^
>--
>Hilsen Harald.
More information about the Simh
mailing list