[Simh] Warning from Intel C
Toby Thain
toby at smartgames.ca
Tue Jul 17 08:24:25 EDT 2007
On 17-Jul-07, at 8:25 AM, Villy Madsen wrote:
> How many times ?? My counter runneth over
>
> One of the any reasons why C is far from being my favourite
> language....
>
> Unfortunately someone gave UNIX away free to the universities - and
> see what
> happened....
>
> (makes one wonder what would have happened if DEC had given VMS
> free to the
> universities for educational purposes!)
Just a different set of sillinesses :)
--T
>
> Villy
>
>
> -----Original Message-----
> From: simh-bounces at trailing-edge.com [mailto:simh-bounces at trailing-
> edge.com] On
> Behalf Of Harald Arnesen
> Sent: Tuesday, July 17, 2007 02:43
> To: Bob Supnik
> Cc: simh at trailing-edge.com
> Subject: Re: [Simh] Warning from Intel C
>
> Bob Supnik <bob at supnik.org> writes:
>
>>> sim_timer.c(526): warning #187: use of "=" where "==" may have
>>> been intended
>>> else if ((c = '%') && (val > 0) && (val < 100))
>>> ^
>> This is a real bug (the = should be ==).
>
> That's what I thought. Haven't we all made that mistake...
> --
> Hilsen Harald.
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
More information about the Simh
mailing list