[Top][All Lists]

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

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

From: Jeffrey Walton
Subject: error: the default argument for parameter 0 of ... has not yet been parsed
Date: Mon, 22 Mar 2021 01:53:03 -0400

Hi Everyone,

I'm building Bison 3.7.6 from sources. I need it for OpenSSH on an old
PowerMac, powerpc-apple-darwin9.8.0.

make check is failing:

updating examples/c++/variant.output
updating examples/c++/variant.hh
/usr/bin/g++ -DEXEEXT=\"\"   -I. -I/opt/ssh/include -DNDEBUG    -g2
-O2 -mlong-double-64 -maltivec -fPIC -pthread -MT
examples/c++/variant-variant.o -MD -MP -MF
examples/c++/.deps/variant-variant.Tpo -c -o
examples/c++/variant-variant.o `test -f 'examples/c++/variant.cc' ||
echo './'`examples/c++/variant.cc
examples/c++/variant.cc: In constructor 'yy::parser::parser()':
examples/c++/variant.cc:176: error: the default argument for parameter
0 of 'yy::parser::stack<T, S>::stack(typename S::size_type) [with T =
yy::parser::stack_symbol_type, S =
std::allocator<yy::parser::stack_symbol_type> >]' has not yet been
gmake[3]: *** [examples/c++/variant-variant.o] Error 1
gmake[3]: Target `examples/c++/variant' not remade because of errors.
gmake[3]: `tests/bison' is up to date.
gmake[3]: Nothing to be done for `tests/atconfig'.
gmake[3]: `tests/atlocal' is up to date.

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).


Attachment: bison-config.log.zip
Description: Zip archive

reply via email to

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