On 2012-05-22 12:22, Dag-Erling Smørgrav wrote:
> Baptiste Daroussin <b...@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...

_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to