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

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


Dag-Erling Smørgrav <des at des.no> writes:
> 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,

Oh, it's actually our own fault for including -Wredundant-decls in
CFLAGS.  Is there a good reason to keep it?

       -Wredundant-decls
           Warn if anything is declared more than once in the same scope, even
           in cases where multiple declaration is valid and changes nothing.

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


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