This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Compiler bug?
- To: gnu-win32 at cygnus dot com
- Subject: Re: Compiler bug?
- From: cgf at cygnus dot com (Christopher G. Faylor)
- Date: 29 May 1998 12:21:30 GMT
- Newsgroups: cygnus.gnu-win32
- Organization: Cygnus Solutions
- References: <01BD88B7.E1BC03F0.jimen@adtech-inc.com>, <356D1AA9.672790A8.cygnus.gnu-win32@uni-duesseldorf.de>
- Stamped: newsgate-cygnus
In article <356D1AA9.672790A8.cygnus.gnu-win32@uni-duesseldorf.de>,
Stipe Tolj <tolj@uni-duesseldorf.de> wrote:
>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?
No. It's not a constant.
--
cgf@cygnus.com "Everything has a boolean value, if you stand
http://www.cygnus.com/ far enough away from it." -- Galena Alyson Canada
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".