This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Possible bug in egcs-1.1b?
- To: alex dot buell at tahallah dot demon dot co dot uk
- Subject: Re: Possible bug in egcs-1.1b?
- From: Philip Blundell <philb at gnu dot org>
- Date: Mon, 28 Sep 1998 23:37:54 +0100
- cc: Mumit Khan <khan at xraylith dot wisc dot edu>, Linux Egcs <egcs at cygnus dot com>
>There was a significant change in 2.0.96(not sure if it existed in prior
>versions) that means that you have to define _GNU_SOURCE yourself so that
>the getopt.h include file will define the struct option for getopt_long().
Yes, this was deliberate. It's not allowed for getopt.h to pollute the
namespace unless you explicitly ask for it.
p.