This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compiler bug?


---Mumit Khan <khan@xraylith.wisc.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@yahoo.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]