[EMAIL PROTECTED] 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.