This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Warning roundup - ld/
- From: Ian Lance Taylor <ian at airs dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 10 Feb 2002 11:16:08 -0800
- Subject: Re: [PATCH] Warning roundup - ld/
- References: <20020210141331.A29314@nevyn.them.org>
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