[LLVMdev] [llvm-commits] Improved Covered Default Switch detection

Eli Friedman eli.friedman at gmail.com
Sun Nov 25 15:49:02 PST 2012


On Sun, Nov 25, 2012 at 3:19 PM, Joe Abbey <jabbey at arxan.com> wrote:
> If cmake happens to detect GCC for the C compiler and Clang for the C++
> compiler, then a manual override of either the C compiler or
> SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG is required.  This has been happening
> on my Darwin build environments:
>
> -- The C compiler identification is GNU 4.2.1
> -- The CXX compiler identification is Clang 4.1.0

How did you end up in this situation?  Something has gone very wrong
if the build system finds clang++ but not clang.

-Eli



More information about the llvm-dev mailing list