delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/05/06:04:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <100308 DOT 36291 DOT qm AT web52812 DOT mail DOT re2 DOT yahoo DOT com>
Subject: RE: flex 2.5.35-1: isatty() problem (and solution)
Date: Thu, 5 Jun 2008 11:04:21 +0100
Message-ID: <000201c8c6f3$89009b10$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <100308.36291.qm@web52812.mail.re2.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019