[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: |
Mon, 06 Feb 2006 09:55:57 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
>>> "Hans" == Hans Aberg <address@hidden> writes:
>> Or do you simply mean the ability to compile the generated C as
>> C++?
> Instead, the C parser was for some time unofficially written so that
> some could compile it using a C++ compiler. But then C++ added
> namespaces, which in combination with other things (like the need for
> invoking the copy constructors during a parser stack extension), made
> it difficult to maintain. So this idea of being able compile the C
> parser as C++ was dropped, though some projects are using it (perhaps
> LilyPond is one).
I disagree with this view of Bison's history. Indeed, we have always
fought for yacc.c to compile cleanly in C++, and we still do, but
having a C++ cleaner interface is a separate issue.
Re: too many warnings from Bison CVS for Pike, Joel E. Denny, 2006/02/13