[15811] in Athena Bugs
Re: sgi 8.1.16: gcc from gnu
daemon@ATHENA.MIT.EDU (Aaron M. Ucko)
Sat Feb 28 06:26:18 1998
To: Adrian M Soviani <soviani@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: [15810]
From: amu@MIT.EDU (Aaron M. Ucko)
Date: 28 Feb 1998 06:26:03 -0500
<soviani@MIT.EDU> (Adrian M Soviani) writes:
> gcc -Wall -O -DSGI -DSTRINGS wd.c -o wdg
> udp.c: In function `udp_recv_str':
> In file included from wd.c:41:
> udp.c:100: incompatible type for argument 5 of `recvfrom'
[...]
> *** Error code 1 (bu21) <<<< compiler error
> Gcc shouldn't crash parsing the C file (it can signal an error,
> thought)
Um, gcc didn't crash. It saw code which it correctly perceived to be
an error, so it reported it, produced no further output files, and
returned with nonzero exit status to indicate the error. That's
perfectly normal.
--
Aaron M. Ucko, KB1CJC <amu@mit.edu> (finger amu@monk.mit.edu)