svn commit: r235723 - in head: contrib/byacc
tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test
dim at FreeBSD.org
Tue May 22 13:32:04 UTC 2012
On 2012-05-22 12:22, Dag-Erling Smørgrav wrote:
> Baptiste Daroussin <bapt at FreeBSD.org> writes:
>> Import byacc from invisible island, it brings us lots of compatibilities with
>> bison, keeping full compatibility with our previous yacc
> This commit broke the build, in large part because Baptiste tested with
> Clang instead of GCC, and GCC generates a warning when compiling the
> generated code.
It doesn't seem to compile with clang either, at least not as of r235777:
/usr/src/bin/expr/expr.y:291:2: error: implicit declaration of function 'yyparse' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
Note that it looks like the expr.c file is still generated with the
system yacc, so I'm not entirely sure what's going on here...
More information about the svn-src-head