This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: -Wundef problems in getopt.h,libiberty.h
- From: DJ Delorie <dj at delorie dot com>
- To: dje at transmeta dot com
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 30 Jul 2002 21:42:45 -0400
- Subject: Re: -Wundef problems in getopt.h,libiberty.h
- References: <200207310138.SAA24396@casey.transmeta.com>
This one is obviously wrong, but the patch is otherwise OK. Could you
post it to gcc-patches@gcc.gnu.org ?
> -#if !HAVE_DECL_GETOPT
> +#if ! defined (HAVE_DECL_BASENAME) || !HAVE_DECL_GETOPT