Dante Allegria wrote on 05 June 2008 01:37: > #ifdef __cplusplus > extern int isatty M4_YY_PARAMS( int ); > #endif /* __cplusplus */
> The problem is that I've been long using flex to generate a C skeleton > and then compiling it with a C++ compiler. Thus the extern declaration in > the generated lexer is #if'ed out since __cplusplus is defined. It is? M4 must be trickier than I thought. That looks like an ifdef to me. ;-) cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/