TOT is now broken building with GCC 4.0 on OSX:<br>llvm[1]: Compiling raw_ostream.cpp for Debug+Asserts build<br>warning: unknown warning option '-Wcovered-switch-default' [-Wunknown-warning-option]<br>1 warning generated.<br>
llvm[1]: Compiling regcomp.c for Debug+Asserts build<br>cc1: error: unrecognized command line option "-Wcovered-switch-default"<br><br><br><div class="gmail_quote">2012/2/28 Daniel Dunbar <span dir="ltr"><<a href="mailto:daniel@zuster.org">daniel@zuster.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Rafael,<br>
<br>
It turns out that your configure check doesn't work as intended with<br>
Clang, because Clang doesn't error out on unknown warning options.<br>
<br>
This makes the build have a lot of warning spew when building with an<br>
older version of Clang.<br>
<br>
Can you see about fixing CXX_FLAG_CHECK to handle this case?<br>
<span class="HOEnZb"><font color="#888888"><br>
 - Daniel<br>
</font></span><div class="im HOEnZb"><br>
2012/2/27 Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>>:<br>
> While  -Wcovered-switch-default was found to be too noisy to most<br>
> projects, it matches our coding style. The attached patch enables it<br>
> in our builds. Is it OK?<br>
><br>
</div><div class="HOEnZb"><div class="h5">> Cheers,<br>
> Rafael<br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
><br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br>