On 2012-04-25 04:32, Alie Tan wrote:> I got this compilation error for 9-STABLE
>
> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
> -Wno-unused-function -Wno-conversion -Wno-switch-enum -Wno-empty-body -c
> /usr/src/usr.sbin/sysinstall/dispatch.c
> /usr/src/usr.sbin/sysinstall/dispatch.c:594:17: error: format string is not
> a string literal (potentially insecure) [-Werror,-Wformat-security]
> msgConfirm(err);
>
9-STABLE doesn't compile without -Werror warnings with clang yet. This
sysinstall warning is specifically one that must still be fixed, but
since sysinstall was removed from HEAD, it cannot be MFC'd.
For now, just put NO_WERROR= in your src.conf.