Sean McBride wrote:
> On Mon, 5 Aug 2013 08:08:20 +0200, Rolf Eike Beer said:
> >So
> >any version checking like I do in the CXXFeatures test ("I have compiler
> >version X, the supported features should be ...") is entirely mood for
> >Clang. Great.
> 
> Well, I don't know what we're really talking about here... but it sounds
> like you're trying to determine a compiler's features based on its version
> number.  That's inherently pretty fragile, don't you agree?
> 
> I do know that the clang folks discourage trying to determine clang's
> abilities from its version number.  Instead, they have a mechanism called
> 'Feature Checking Macros' described here:
> 
> <http://clang.llvm.org/docs/LanguageExtensions.html#feature-checking-macros>

That could be something for both the testcase as well as the feature checks. 
I'll see if I can come up with a good solution to that.

The "which feature does match $version" is just a testcase thing to see if the 
module gives the expected results.

Eike
-- 

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to