This is the mail archive of the cygwin@sources.redhat.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]

stdin and stdout


Hi all,

I'm trying to compile the Link Grammar Parser 3.0 (from http://bobo.link.cs.cmu.edu/) with Cygwin and
I have a compilation error on one source file:
I have an "pp_lexer.c:324 initializer element is not constant" error from gcc.
Has someone experienced similar problems?

Note: stdin and stdout are defined this way in Cygwin's stdio.h:
#define	stdin	(_impure_ptr->_stdin)
#define	stdout	(_impure_ptr->_stdout)
And the part of the code which fails to compile is:
FILE *yyin = stdin, *yyout = stdout;

I'm using Cygwin v1.1, with gcc v2.95.2 19991024 (release-2)

Many thanks,

Lionel
______________________________________________________
Boîte aux lettres - Caramail - http://www.caramail.com


--
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]