|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86780 - trunk/boost/preprocessor/config
From: eldiener_at_[hidden]
Date: 2013-11-21 13:57:42
Author: eldiener
Date: 2013-11-21 13:57:41 EST (Thu, 21 Nov 2013)
New Revision: 86780
URL: http://svn.boost.org/trac/boost/changeset/86780
Log:
The clang compiler now supports variadic macros by default.
Text files modified:
trunk/boost/preprocessor/config/config.hpp | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
Modified: trunk/boost/preprocessor/config/config.hpp
==============================================================================
--- trunk/boost/preprocessor/config/config.hpp Thu Nov 21 08:04:20 2013 (r86779)
+++ trunk/boost/preprocessor/config/config.hpp 2013-11-21 13:57:41 EST (Thu, 21 Nov 2013) (r86780)
@@ -72,16 +72,15 @@
#
# if !defined BOOST_PP_VARIADICS
# /* variadic support explicitly disabled for all untested compilers */
-# if defined __GCCXML__ || defined __CUDACC__ || defined __PATHSCALE__ || defined __clang__ || defined __DMC__ || defined __CODEGEARC__ || defined __BORLANDC__ || defined __MWERKS__ || defined __SUNPRO_CC || defined __HP_aCC && !defined __EDG__ || defined __MRC__ || defined __SC__ || defined __IBMCPP__ || defined __PGI
+# if defined __GCCXML__ || defined __CUDACC__ || defined __PATHSCALE__ || defined __DMC__ || defined __CODEGEARC__ || defined __BORLANDC__ || defined __MWERKS__ || defined __SUNPRO_CC || defined __HP_aCC && !defined __EDG__ || defined __MRC__ || defined __SC__ || defined __IBMCPP__ || defined __PGI
# define BOOST_PP_VARIADICS 0
+# /* Clang, all versions */
+# elif defined __clang__
+# define BOOST_PP_VARIADICS 1
# /* VC++ (C/C++) */
# elif defined _MSC_VER && _MSC_VER >= 1400 && !defined __EDG__
-# if _MSC_VER >= 1400
-# define BOOST_PP_VARIADICS 1
-# define BOOST_PP_VARIADICS_MSVC 1
-# else
-# define BOOST_PP_VARIADICS 0
-# endif
+# define BOOST_PP_VARIADICS 1
+# define BOOST_PP_VARIADICS_MSVC 1
# /* Wave (C/C++), GCC (C++) */
# elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ && __GXX_EXPERIMENTAL_CXX0X__
# define BOOST_PP_VARIADICS 1
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