Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84310 - trunk/boost/config
From: mimomorin_at_[hidden]
Date: 2013-05-16 19:36:30


Author: michel
Date: 2013-05-16 19:36:30 EDT (Thu, 16 May 2013)
New Revision: 84310
URL: http://svn.boost.org/trac/boost/changeset/84310

Log:
Add a comment about `__GNUC__` macro in clang
Text files modified:
   trunk/boost/config/suffix.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/boost/config/suffix.hpp
==============================================================================
--- trunk/boost/config/suffix.hpp (original)
+++ trunk/boost/config/suffix.hpp 2013-05-16 19:36:30 EDT (Thu, 16 May 2013)
@@ -641,6 +641,7 @@
 # if defined(_MSC_VER)
 # define BOOST_FORCEINLINE __forceinline
 # elif defined(__GNUC__) && __GNUC__ > 3
+ // Clang also defines __GNUC__ (as 4)
 # define BOOST_FORCEINLINE inline __attribute__ ((__always_inline__))
 # else
 # define BOOST_FORCEINLINE inline


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