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

Joe Abbey joe.abbey at gmail.com
Sun Nov 25 16:28:34 PST 2012


>> 
>> Is this not as expected?
> 
> I don't think so. Unless you ask for something different, CMake should
> use c++ (->clang++) for C++ and cc (->clang) for C as defaults. Doing
> otherwise looks like a bug. Unless OSX has a tradition of broken or
> inferior cc which makes gcc preferable.
> 
> BTW, what I mentioned on my other message was on Linux.

Interesting.  Can you apply my patch and test to see if it works with your builds?

Joe



More information about the llvm-dev mailing list