"Nelson H. F. Beebe" <[EMAIL PROTECTED]> writes:

> 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 *".

The "argument of type int" is probably an indication that the `_'
macro is either undefined or expands to an undeclared function.  The
compiler rightfully assumes the function to return int and complains
about the type mismatch.

If you check why the macro is misdeclared, you'll likely discover the
source of the problem.

> 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.

Agreed.  But in this case the error is one of configuration, not
programming.

Reply via email to