[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: Akim Demaille
Subject: Re: too many warnings from Bison CVS for Pike
Date: Tue, 21 Feb 2006 09:41:51 +0100

One can disable the dynamic stack, and use it with non-POD's, which I suspect some do.

What evidence do you have to sustain this claim?  Based on the
message I've seen, I believe the opposite.  People, like me
years ago, know that you can have C code manipulate C++ structures
properly as long as they are PODs.  Trying to use non PODs in
yacc.c is not supported, that's the role of lalr1.cc.  I'll
write a piece of documentation about this.

This suggests:

  Compiling the C-parser using a C++ compiler

An effort is made to make the C-parser compilable using a C++ standard conforming compiler, as long as the semantic and location types (if used) are POD's. This support may be dropped in future Bison versions.

Seems like a reasonable start.

reply via email to

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