This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: flex 2.5.35-1: isatty() problem (and solution)
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 5 Jun 2008 11:04:21 +0100
- Subject: RE: flex 2.5.35-1: isatty() problem (and solution)
- References: <100308.36291.qm@web52812.mail.re2.yahoo.com>
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/