[config] clang.hpp is not up-to-date

boost/config/compiler/clang.hpp is not up-to-date. For example, BOOST_NO_AUTO_DECLARATIONS is *always* defined (even if clang supports this feature). Is it worth fixing this on the release branch? P.S. I can make a patch, but before doing that I'd like to confirm whether __has_feature(cxx_auto_type) means that multi-declarator auto is supported or not. The following page says nothing about multi-declarator auto. http://clang.llvm.org/docs/LanguageExtensions.html Doug? Regards, Michel

On 10/22/2011 01:57 PM, Michel Morin wrote:
boost/config/compiler/clang.hpp is not up-to-date. For example, BOOST_NO_AUTO_DECLARATIONS is *always* defined (even if clang supports this feature).
Is it worth fixing this on the release branch?
P.S. I can make a patch, but before doing that I'd like to confirm whether __has_feature(cxx_auto_type) means that multi-declarator auto is supported or not. The following page says nothing about multi-declarator auto. http://clang.llvm.org/docs/LanguageExtensions.html Doug?
Each feature should come with a test, so it's just a matter of running the tests with a particular compiler to tell what it supports.

Mathias Gaunard wrote:
I can make a patch, but before doing that I'd like to confirm whether __has_feature(cxx_auto_type) means that multi-declarator auto is supported or not. The following page says nothing about multi-declarator auto. http://clang.llvm.org/docs/LanguageExtensions.html Doug?
Each feature should come with a test, so it's just a matter of running the tests with a particular compiler to tell what it supports.
Yep, but I can't test compiler versions that I don't have. So I asked the question ;) Regards, Michel

Attached a patch for updating clang's config. With this patch, Boost works fluently with clang-3.0! Regards, Michel
participants (3)
-
John Maddock
-
Mathias Gaunard
-
Michel Morin