[cmake-developers] Suspicious Clang versions

Rolf Eike Beer eike at sf-mail.de
Mon Aug 5 16:24:33 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.

http://open.cdash.org/testDetails.php?test=202256403&build=2988951

Is that another case? Maybe a clang that is misdetected as gcc? For such an 
old gcc version it has a whole lot of features that are not really expected to 
be there.

Eike
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130805/6f888ee8/attachment.sig>


More information about the cmake-developers mailing list