Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61693 - trunk/boost/config/compiler
From: dgregor_at_[hidden]
Date: 2010-04-29 23:00:32


Author: dgregor
Date: 2010-04-29 23:00:31 EDT (Thu, 29 Apr 2010)
New Revision: 61693
URL: http://svn.boost.org/trac/boost/changeset/61693

Log:
Clang has a version macro now. Use it.

Text files modified:
   trunk/boost/config/compiler/clang.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/config/compiler/clang.hpp
==============================================================================
--- trunk/boost/config/compiler/clang.hpp (original)
+++ trunk/boost/config/compiler/clang.hpp 2010-04-29 23:00:31 EDT (Thu, 29 Apr 2010)
@@ -60,6 +60,5 @@
 #define BOOST_NO_EXTERN_TEMPLATE
 
 #ifndef BOOST_COMPILER
-// NOTE: Clang does not expose a version number
-# define BOOST_COMPILER "Clang C++"
+# define BOOST_COMPILER "Clang version " __clang_version__
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk