[PATCH] Warning roundup - ld/
Ian Lance Taylor
ian@airs.com
Sun Feb 10 11:22:00 GMT 2002
Daniel Jacobowitz <drow@mvista.com> writes:
> +#ifndef HAVE_STDLIB_H
> +/* If we have <stdlib.h>, assume it defines strtoul. */
> /* Omit args to avoid the possibility of clashing with a system header
> that might disagree about consts. */
> unsigned long strtoul ();
> +#endif
This is not a safe assumption, as I believe some versions of SunOS
have <stdlib.h> but do not have strtoul().
However, I don't know lexsup.c is bothering to declare strtoul() at
all.
Ian
More information about the Binutils
mailing list