bug-bison
[Top][All Lists]
Advanced

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

Re: FYI: Don't hard wire c.m4


From: Paul Eggert
Subject: Re: FYI: Don't hard wire c.m4
Date: Mon, 02 Jan 2006 16:07:39 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

That patch broke Bison bootstrapping, since it breaks the calc++ example.

To reproduce the problem, check out a fresh version of Bison from CVS,
run ./bootstrap, ./configure, make.

Here are the symptoms:

make[4]: Entering directory `/home/eggert/src/gnu/bison-tmp/examples/calc++'
if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -MT calc++-scanner.o -MD -MP 
-MF ".deps/calc++-scanner.Tpo" -c -o calc++-scanner.o calc++-scanner.cc; \
then mv -f ".deps/calc++-scanner.Tpo" ".deps/calc++-scanner.Po"; else rm -f 
".deps/calc++-scanner.Tpo"; exit 1; fi
./calc++-parser.hh:121: error: 'driver_yyarg' has not been declared
./calc++-parser.hh:281: error: ISO C++ forbids declaration of 'driver' with no 
type
./calc++-parser.hh:281: error: declaration of 'int yy::calcxx_parser::driver'
./calc++-parser.hh:280: error: conflicts with previous declaration 
'calcxx_driver& yy::calcxx_parser::driver'




reply via email to

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