bug-bison
[Top][All Lists]
Advanced

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

Re: bison'd files don't compile under Microsoft VC++


From: Florian Krohm
Subject: Re: bison'd files don't compile under Microsoft VC++
Date: Thu, 14 Feb 2002 11:20:08 -0500

On Thursday 14 February 2002 10:02, Hans Aberg wrote:
>
> It was evidently their problem, because these developers on the one hand
> put off the genuine C++ issue off indefinitely for a long period of time
> (several years), while on the same time compiling the C parser as C++ in
> their own projects. Then one day, their own C++ projects started to break,
> because they got hold of a C++ compiler that checked the C++ code properly,
> catching errors in the earlier dirty compile C as C++ code.
>

You missed my point. You cannot take a C program, compile it with a C++
compiler and expect it to compile and/or run. It was not meant to do so.
If you do it nevertheless and encounter problems, the problems are yours not 
theirs.
I agree that Bison should generate genuine C++ parsers. But they should have 
their own templates. Raping bison.simple is not The Right Thing IMHO.

Florian



reply via email to

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