Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2013 10:12:39 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        "David E. O'Brien" <obrien@FreeBSD.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   Re: svn commit: r254626 - stable/9/usr.bin/yacc
Message-ID:  <8638q2i1oo.fsf@nine.des.no>
In-Reply-To: <201308212257.r7LMvUmY053608@svn.freebsd.org> (David E. O'Brien's message of "Wed, 21 Aug 2013 22:57:30 %2B0000 (UTC)")
References:  <201308212257.r7LMvUmY053608@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"David E. O'Brien" <obrien@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8638q2i1oo.fsf>