svn commit: r254626 - stable/9/usr.bin/yacc

Dag-Erling Smørgrav des at des.no
Thu Aug 22 08:12:58 UTC 2013


"David E. O'Brien" <obrien at FreeBSD.org> writes:
> Log:
>   Provide a prototype for yyparse() so that "-Werror" along with stringent
>   -W* warnings can be used on byacc's output.

This breaks the build in usr.bin/expr because expr.y already provides a
prototype, and gcc does not accept multiple prototypes, even if they're
identical.  That is arguably a bug in gcc, but in the meantime, it
should be fixed either by reverting this commit or removing the extra
prototype in expr.y.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-stable-9 mailing list