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: hjl at lucon dot org (H.J. Lu)
- Date: Sun, 27 Sep 1998 08:46:53 -0700 (PDT)
- Cc: egcs at cygnus dot com
>
> Guys, I ran into a problem with egcs whilst attempting to build
> ltrace-0.3.6.
>
> I am not sure if the struct definition is correct though, but common sense
> would dictate that it is. This is with egcs-1.1b, glibc-2.0.96 (checked
> and the header definitions for the option struct is identical to that of
> glibc-2.0.4, so can't be the problem).
>
> Here's a short test program that replicates the problem:
>
> #include <getopt.h>
>
> int main(void)
> {
> static struct option wibble[] = {
> { "align", 1, 0, 'a'},
> { "debug", 0, 0, 'd'},
> { "demangle", 0, 0, 'C'},
> { "help", 0, 0, 'h'},
> { "output", 1, 0, 'o'},
> { "version", 0, 0, 'V'},
> { 0, 0, 0, 0}
> };
> }
>
I have no problems with egcs 1.1b on Linux/x86 glibc 2.0 and 2.1.
H.J.