bug-bison
[Top][All Lists]
Advanced

[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 23:02:50 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Hans Aberg <address@hidden> writes:

> when people compile your C-parser using a C++ compiler, they are
> not compiling C-code actually,

If they are not compiling C source code, then it's up to them to get
things to work.  yacc.c is designed for C source code.  It does not
work well with C++ source code, and we shouldn't recommend it for
that.

> but a C-like language subset of C++
> that can be linked to proper C-code at need.

If the user wants to use different C compilers for different parts of
the application, it's up to them to get things to work.  This is true
for random combinations of C compilers; it's also true for C++
compilers masquerading as C compilers (which are just special cases of
C compilers).  We shouldn't need to document all the issues here.
They are generic issues, and are not specific to Bison.  Anybody who
wants to mix C compilers should know what they're doing anyway; it's
not the Bison documentation's job to educate them.

I don't sense that we are making much progress here.  It would help if
you would propose specific patches, in "diff -u" format.  Otherwise I
fear that we are just going around in circles.




reply via email to

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