Mail Archives: pgcc/1998/01/16/21:00:18
On Fri, 16 Jan 1998, Jeffrey Hundstad wrote:
> When compiling X11R6-331 from
>
> check.c: In function `CheckFloat':
> check.c:136: array size missing in `lastfp'
> check.c: In function `HackFloat':
> check.c:196: array size missing in `lastfp'
> make[6]: *** [check.o] Error 1
>
>
> while gcc-2.7.2.3 compiles this file with no warnings... or errors....
This is a bug in X. check.c relies on a nonstandard behavior in gcc 2.7.x,
and won't compile with egcs, pgcc or gcc 2.8.0.
You can fix it by changing line 136 of check.c to:
extern INT16 lastfp[MAXCLIENTS];
Similarily, line 196 should read
extern INT16 lastfp[MAXCLIENTS];
LLaP
bero
-- bero AT bero-online DOT ml DOT org - ICQ/UIN 6545964 - http://www.star-trek.ml.org/ --
"Nobody will ever need more than 640k RAM!"
-- Bill Gates, 1981
"Windows 95 needs at least 8 MB RAM."
-- Bill Gates, 1996
"Nobody will ever need Windows 95."
-- logical conclusion
- Raw text -