delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/28/19:20:31

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: Compiler bug?
28 May 1998 19:20:31 -0700 :
Message-ID: <19980528112531.11266.rocketmail.cygnus.gnu-win32@send1b.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Mumit Khan <khan AT xraylith DOT wisc DOT edu>, Jimen Ching <jimen AT adtech-inc DOT com>
Cc: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

---Mumit Khan <khan AT xraylith DOT wisc DOT edu> wrote:
>
> On Tue, 26 May 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; }
> > 
> 
> A standard-conforming implementation is free to reject this, which
is another 
> way to say that this is not allowed. 
> 
> Mumit

But, you could modify the code like this:

#include <stdio.h>
FILE *xyz;

int
main()
{
  xyz = stdin;
  return 0;
}
==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd AT yahoo DOT com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
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