svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

Dimitry Andric 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:
>> Log:
>>   Import byacc from invisible island, it brings us lots of compatibilities with
>>   bison, keeping full compatibility with our previous yacc
>>   implementation.
> 
> 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]
        yyparse();
        ^

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 mailing list