Compiler bug?

Stipe Tolj tolj@uni-duesseldorf.de
Thu May 28 01:08:00 GMT 1998


Jimen Ching wrote:

> I can't compile this code with b19.  Is this supposed to be allowed?
>
> #include <stdio.h>
> FILE *xyz = stdin;
> int main() { return 0; }

hmm, gcc says you need an constant initializer for an variable.

My gcc 2.7.2.1 on FreeBSD 3.0 machine compiles without any comment. Is it a
bug?


Stipe.

--
stud.rer.pol. Stipe Tolj <tolj@uni-duesseldorf.de>
Department of Economical Computer Science
University of Cologne, Germany
http://www-public.rz.uni-duesseldorf.de/~tolj


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list