This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Possible bug in egcs-1.1b?


> 
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]