X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/