bug-bison
[Top][All Lists]
Advanced

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

lib/verify.h breaks build


From: Joel E. Denny
Subject: lib/verify.h breaks build
Date: Tue, 27 Sep 2005 01:51:43 -0400 (EDT)

I just did a fresh checkout of bison, and make fails with the error message below.

Joel

--------------------------
if /usr/local/bin/gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/local/share/bison\" -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I. -I.. -I../lib -I../lib -O -g -MT getargs.o -MD -MP -MF ".deps/getargs.Tpo" -c -o getargs.o getargs.c; \ then mv -f ".deps/getargs.Tpo" ".deps/getargs.Po"; else rm -f ".deps/getargs.Tpo"; exit 1; fi
In file included from ../lib/argmatch.h:28,
                 from getargs.c:25:
../lib/verify.h:37:1: warning: "verify" redefined
In file included from getargs.c:23:
system.h:34:1: warning: this is the location of the previous definition
getargs.c:110:74: macro "verify" passed 2 arguments, but takes just 1
getargs.c: In function `trace_argmatch':
getargs.c:110: error: `verify' undeclared (first use in this function)
getargs.c:110: error: (Each undeclared identifier is reported only once
getargs.c:110: error: for each function it appears in.)
getargs.c:163:77: macro "verify" passed 2 arguments, but takes just 1
getargs.c: In function `report_argmatch':
getargs.c:163: error: `verify' undeclared (first use in this function)
make[3]: *** [getargs.o] Error 1
make[3]: Leaving directory `/home/jdenny/current/bison/devel/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jdenny/current/bison/devel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jdenny/current/bison/devel'
make: *** [all] Error 2
--------------------------




reply via email to

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