bug-bison
[Top][All Lists]
Advanced

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

Re: error: the default argument for parameter 0 of ... has not yet been


From: Akim Demaille
Subject: Re: error: the default argument for parameter 0 of ... has not yet been parsed
Date: Tue, 23 Mar 2021 06:56:34 +0100

Hi Jeffrey,

> Le 22 mars 2021 à 09:32, Jeffrey Walton <noloader@gmail.com> a écrit :
> 
> On Mon, Mar 22, 2021 at 1:53 AM Jeffrey Walton <noloader@gmail.com> wrote:
>> 
>> Hi Everyone,
>> 
>> An updated compiler is out of the question because libcxx has been
>> broken for some time. We can't build a compiler.
>> 
>> In this case, I suggest removal of examples. They add no value for
>> users like me. They only increase the risk of a failed build. Users
>> who want examples can configure with --enable-examples or similar.
>> (Our policies and procedures only require 'make && make check'
>> succeed. We don't care about documentation, examples or other
>> non-essential fodder).

The examples carry part of the test suite.  So I don't want to disable
them.

The actual problem here is that the configure tests did not catch
that your compiler is not trustworthy.  The real fix is to strengthen
these checks.

I'll need your help to make sure the new tests do catch this problem.

> If anyone knows how to disable the C++ examples, it would be greatly
> appreciated. I tried both --disable-examples and --disable-c++, but
> neither stopped the building of the c++ projects.
> 
> I also tried building Bison back to 3.0 but everything fails to build.

Running `./configure CXX=false` will address your concern.

Cheers!


reply via email to

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