[PATCH] Check the consistency of the C and C++ compilers picked-up by cmake

Arnaud A. de Grandmaison arnaud.adegm at gmail.com
Thu Jun 13 13:42:48 PDT 2013


>From time to time, it happens that cmake picks up inconsistent C and C++ 
compilers, especially for new comers or people not (yet) familiar with their 
development environment.

This patch checks that both C and C++ compilers have the same ID (in cmake 
parlance) : Gnu, clang, ... This would catch gross mistakes at an early stage 
(configuration) instead of failing way later during compilation.

I am wondering though if we have some environment where such a mismatch is 
expected. Any thoughts ?

Cheers,
-- 
Arnaud A. de Grandmaison
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Check-the-consistency-of-the-C-and-C-compilers-picke.patch
Type: text/x-patch
Size: 1166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130613/7d0ae09b/attachment.bin>


More information about the llvm-commits mailing list