[cmake-developers] CMake identifies MacOSX10.7-Xcode43-ub as GNU, but it runs clang.

Stephen Kelly steveire at gmail.com
Sat Apr 26 07:07:54 EDT 2014


Hi,

This causes the failure of the WriteCompilerDetectionHeader test:

 http://open.cdash.org/testDetails.php?test=250378767&build=3306874

Though the misidentification has been the case since before that 
refactoring:

 http://open.cdash.org/testDetails.php?test=247853583&build=3293163

Could this be because it is old clang which did not define __clang__?

Apart from the misidentification, I don't understand how the 
WriteCompilerDetectionHeader test could have a different result than the 
compiler identification code. It should be checking the same defines in the 
same order, and it should arrive at the same incorrect conclusion that the 
compiler is GNU.

And ideas?

Thanks,

Steve.




More information about the cmake-developers mailing list