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: Thorsten Kukuk <kukuk at weber-eb dot uni-paderborn dot de>
- Date: Mon, 28 Sep 1998 09:28:33 +0200 (MET DST)
- Cc: egcs at cygnus dot com
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.