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]

Problem with 'stdin'





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?

Mike



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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