I got a build failure for wget-1.8.1 on SGI IRIX 6.5 with c89;
switching to gcc-2.95.3 in a fresh build was successful.
Here are the compilation failures:
% env CC=c89 ./configure && make all -i
...
c89 -I. -I. -I/opt/include -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -O -c connect.c
cc-1164 c89: ERROR File = connect.c, Line = 94
Argument of type "int" is incompatible with parameter of type "const char *".
logprintf (LOG_VERBOSE, _("Connecting to %s[%s]:%hu... "),
^
cc-1164 c89: ERROR File = connect.c, Line = 97
Argument of type "int" is incompatible with parameter of type "const char *".
logprintf (LOG_VERBOSE, _("Connecting to %s:%hu... "),
^
cc-1164 c89: ERROR File = connect.c, Line = 131
Argument of type "int" is incompatible with parameter of type "const char *".
logprintf (LOG_VERBOSE, _("connected.\n"));
^
3 errors detected in the compilation of "connect.c".
make[1]: [connect.o] Error 2 (ignored)
There are a great many more, but all arise from the type conflict in
the macro _("...").
Inasmuch as this compiler has been excellent in diagnosing violations
of the 1989 ISO C Standard, and catching many portability problems, I
suspect the error lies in wget.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- Center for Scientific Computing FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah Internet e-mail: [EMAIL PROTECTED] -
- Department of Mathematics, 322 INSCC [EMAIL PROTECTED] [EMAIL PROTECTED] -
- 155 S 1400 E RM 233 [EMAIL PROTECTED] -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------