Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: amd64 build failure: y.tab.c:3501: error: uninitialized const 'yyvalzero'
On Fri, Jul 18, 2008 at 08:17:13AM +0200, Thomas Klausner wrote:
> Hi!
>
> Building current from a few hours ago fails with:
>
...
> mv y_tab.c pic.cpp
> c++ -I. -I/archive/cvs/src/gnu/dist/groff/src/preproc/pic
> -I/usr/obj/src.amd64/tools/groff/build/src/include
> -I/archive/cvs/src/tools/groff/../../gnu/dist/groff/src/include
> -DHAVE_CONFIG_H -O -I/usr/obj/src.amd64/tools/compat
> -I/usr/obj/src.amd64/tools/compat/include
> -I/archive/cvs/src/tools/groff/../compat -DHAVE_NBTOOL_CONFIG_H=1
> -D_FILE_OFFSET_BITS=64 -c pic.cpp
> y.tab.c:3501: error: uninitialized const 'yyvalzero'
I'd blame either:
1) groff for putting a C file through g++
2) C++ for using 'const' (and static) to mean different things from C
3) xtos
Possibly 'static const struct foo yyvalzero' will keep it happy.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index