[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: too many warnings from Bison CVS for Pike

From: Paul Eggert
Subject: Re: too many warnings from Bison CVS for Pike
Date: Mon, 13 Feb 2006 11:41:22 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

address@hidden writes:

> I guess that if there is, as Akim says, a dedicated effort for the C- 
> parser to compile under C++ in current and upcoming Bison versions,  
> there suffices there to be a note of it somewhere that this is the  
> case.

Could you please suggest a specific patch, in "diff -u" format?  The
point is that all we try to do is to support C compilers.  This
includes C++ compilers masquerading as C compilers.  It does not
include support for C++ features like C++ destructors.

I'd prefer that a C++ expert write this disclaimer.

> I said that I recall you use(d), under C, memcpy to reallocate the  
> parser stack.

No, not if the compiler defines __cplusplus.  If the compiler defines
__cplusplus, yacc.c does not use memcpy at all.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]