Date: Wed, 26 May 1999 09:13:13 -0700 (PDT) From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: obrien@freebsd.org Cc: freebsd-ports@freebsd.org Subject: Re: bison versus yacc Message-ID: <199905261613.JAA96937@troutmask.apl.washington.edu> In-Reply-To: <19990526000653.A22681@dragon.nuxi.com> from "David O'Brien" at "May 26, 1999 00:06:53 am"
next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien wrote: > > I'm upgrading ddd from 3.1.4 to 3.1.5 and have run into a > > Already done and committed. Thanks. I saw your commit message an hour after I started to work on ddd-3.1.5. > > > small problem. This port uses USE_CONFIGURE to configure > > ddd for building, and it finds /usr/bin/bison. This > > chocks the make of ddd. > > Hum... I didn't have this problem. /usr/bin/bison worked fine for me. > Please test 3.1.5 from ports and see if it works for you. > > > (1) upgrade src/contrib/bison to version 1.27 which should fix the > > problem; > > In progress. I'll probably have it done right after USENIX. > Do you have bison 1.27 from ports/devel installed and /usr/local/bin preceding /usr/bin in your PATH? The default bison in /usr/bin is at 1.25, and the building of ddd chocks on /usr/share/misc/bison.simple. This is with your latest port and /usr/bin/bison (version 1.25). The last "make world" was Friday with -current source, and I rebulit /usr/bin/bison to ensure that I had a "good" bison.simple. c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -W -Wall -Wno-uninitialized -pipe -fexternal- templates -felide-constructors -fconserve-space -trigraphs -c -I. -I. -I./.. -I/ usr/X11R6/include -o VSLRead.o VSLRead.C In file included from VSLRead.C:112: /usr/share/misc/bison.simple:302: unterminated `#else' conditional VSLRead.C: In function `int VSLLib_parse()': VSLRead.C:120: warning: declaration of `class VSLLib & VSLLib::read(class istrea m &, unsigned int = stdOpt)' outside of class is not definition VSLRead.C:120: parse error before `{' VSLRead.C:123: `s' undeclared (first use this function) VSLRead.C:123: (Each undeclared identifier is reported only once VSLRead.C:123: for each function it appears in.) VSLRead.C:124: `_lib_name' undeclared (first use this function) VSLRead.C:129: warning: implicit declaration of function `int parse(...)' VSLRead.C:138: `optimizeMode' undeclared (first use this function) VSLRead.C:138: warning: implicit declaration of function `int process(...)' VSLRead.C:143: invalid use of `this' in non-member function /usr/share/misc/bison.simple:293: warning: unused variable `struct YYSTYPE * vsl vs1' VSLRead.C:149: warning: declaration of `class VSLLib & VSLLib::read(const class string &, unsigned int = stdOpt)' outside of class is not definition VSLRead.C:149: parse error before `{' /usr/share/misc/bison.simple:259: warning: unused variable `int vsllen' /usr/share/misc/bison.simple:255: warning: unused variable `struct YYSTYPE vslva l' /usr/share/misc/bison.simple:225: warning: unused variable `int vslchar1' /usr/share/misc/bison.simple:221: warning: unused variable `int vsln' /usr/share/misc/bison.simple:285: warning: label `vslnewstate' defined but not u sed VSLRead.C:158: warning: control reaches end of non-void function `VSLLib_parse() ' VSLRead.C: At top level: VSLRead.C:160: warning: ANSI C++ forbids declaration `vslfilename' with no type VSLRead.C:160: conflicting types for `int vslfilename' VSLRead.C:74: previous declaration as `class string vslfilename' VSLRead.C:160: `lib_name' was not declared in this scope VSLRead.C:162: warning: return-type of `switchreset' defaults to `int' VSLRead.C:162: new declaration `int switchreset()' ./vsl-lex.L:306: ambiguates old declaration `void switchreset()' VSLRead.C:163: parse error before `if' VSLRead.C:167: warning: ANSI C++ forbids declaration `topstack' with no type VSLRead.C:167: redefinition of `int topstack' ./vsl-lex.L:46: `int topstack' previously defined here VSLRead.C:168: confused by earlier errors, bailing out gmake[1]: *** [VSLRead.o] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/ddd/work/ddd-3.1.5/ddd' gmake: *** [all] Error 1 *** Error code 2 Stop. *** Error code 1 Stop. *** Error code 1 -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905261613.JAA96937>