Problem with 'stdin'

Michael K Collison
Sun May 9 21:31:00 GMT 1999

I'm trying to port a Unix app. to cygwin. In the program the following
statement appears (outside of a function):

FILE *p = stdin.

I'm getting an error from gcc that says: 'initializer element is not a
constant. I thought this was legal C code. Am I missing something?


Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list