On Sun, Oct 12, 2003 at 21:53:10 +0200, Andreas Tille wrote: > The critical line is: > > FILE *yyin = {stdin}, *yyout = {stdout};
Replace that with FILE *yyin, *yyout; ... in main() ... yyin = stdin; yyout = stdout; > wnlex.c:75: error: initializer element is not constant `stdin' and `stdout' are variables, not compile time calculable constants; see `info libc "standard streams"'. HTH, Ray -- Frankly, I think anybody's a fool to put (Microsoft operating system Windows) XP on their computer. It's like installing a continuous, 24-hour monitor on your mind. EFF co-founder John Perry Barlow in http://news.com.com/2008-1082-843349.html