On Wed, Oct 13, 2010 at 11:35:59AM +0000, Rui Paulo wrote:
> Author: rpaulo
> Date: Wed Oct 13 11:35:59 2010
> New Revision: 213769
> URL: http://svn.freebsd.org/changeset/base/213769
> 
> Log:
>   The canonical way to print __func__ when using KASSERT() is to write
>   ("%s", __func__). This avoids clang's -Wformat-string warnings.
> 

That's a stupid warning, clang should know the value of __func__.

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