delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/28/12:53:24

From: tolj AT uni-duesseldorf DOT de (Stipe Tolj)
Subject: Re: Compiler bug?
28 May 1998 12:53:24 -0700 :
Message-ID: <356D1AA9.672790A8.cygnus.gnu-win32@uni-duesseldorf.de>
References: <01BD88B7 DOT E1BC03F0 DOT jimen AT adtech-inc DOT com>
Mime-Version: 1.0
To: "jimen AT adtech-inc DOT com" <jimen AT adtech-inc DOT com>,
Geoffrey Noer <noer AT cygnus DOT com>
Cc: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

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 AT uni-duesseldorf DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019