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>
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng [email protected]
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
--
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