On Tue, 29 Oct 2013, Mark Johnston wrote:

On Wed, Oct 30, 2013 at 12:21:28AM +1100, Bruce Evans wrote:
On Tue, 29 Oct 2013, Mark Johnston wrote:

Log:
 Revert r257248 and fix the problem in a way that doesn't violate style(9).

Why did gcc complain about the original version?

It looks like this is because of the use of -W, which is apparently an
alias for -Wextra; according to the gcc man page, this will trigger a
warning when "an empty body occurs in an if or else statement."

Thanks.  I have -W in some CFLAGS but never noticed this behaviour before.

Bruce
_______________________________________________
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