[cmake-developers] Suspicious Clang versions
Stephen Kelly
steveire at gmail.com
Mon Aug 5 09:26:25 EDT 2013
Brad King wrote:
> On 08/05/2013 02:08 AM, Rolf Eike Beer wrote:
>> sean at rogue-research.com wrote:
>>> very confusingly, Apple uses their own version numbering scheme. So
>>> that's "Apple clang 4.0". It comes with whatever version of Xcode that
>>> machine's running (4.4 I think?).
>>
>> any version checking like I do in the CXXFeatures test is entirely mood
>> for Clang.
>
> We need to fix this somehow or CMAKE_*_COMPILER_VERSION will be
> useless for Clang. Sean, is there any way to extract the underlying
> Clang version, perhaps with different preprocessor macros? We at
> least need to be able to detect which version scheme is in use so
> we can report it somehow.
This might lead to a solution:
https://github.com/mozilla/rust/issues/6419
Thanks,
Steve.
More information about the cmake-developers
mailing list