Possible bug in egcs-1.1b?

Thorsten Kukuk kukuk@weber-eb.uni-paderborn.de
Mon Sep 28 01:22:00 GMT 1998


Hello,

> Here's a short test program that replicates the problem:
> 

#define _GNU_SOURCE is missing here, if you wish to use GNU extensions.

> #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}
> 	};
> }


  Thorsten


-- 
Thorsten Kukuk  kukuk@vt.uni-paderborn.de
                http://www-vt.uni-paderborn.de/~kukuk/
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.



More information about the Gcc mailing list