This is the mail archive of the cygwin 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]
Other format: [Raw text]

RE: flex 2.5.35-1: isatty() problem (and solution)


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/


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