Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79649 - trunk/boost/asio
From: chris_at_[hidden]
Date: 2012-07-22 02:07:24


Author: chris_kohlhoff
Date: 2012-07-22 02:07:23 EDT (Sun, 22 Jul 2012)
New Revision: 79649
URL: http://svn.boost.org/trac/boost/changeset/79649

Log:
Decorate GCC attribute names with underscores to prevent interaction with user-defined macros. Refs #6415
Text files modified:
   trunk/boost/asio/buffers_iterator.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/asio/buffers_iterator.hpp
==============================================================================
--- trunk/boost/asio/buffers_iterator.hpp (original)
+++ trunk/boost/asio/buffers_iterator.hpp 2012-07-22 02:07:23 EDT (Sun, 22 Jul 2012)
@@ -128,7 +128,7 @@
   /// Construct an iterator representing the beginning of the buffers' data.
   static buffers_iterator begin(const BufferSequence& buffers)
 #if BOOST_WORKAROUND(__GNUC__, == 4) && BOOST_WORKAROUND(__GNUC_MINOR__, == 3)
- __attribute__ ((noinline))
+ __attribute__ ((__noinline__))
 #endif
   {
     buffers_iterator new_iter;
@@ -148,7 +148,7 @@
   /// Construct an iterator representing the end of the buffers' data.
   static buffers_iterator end(const BufferSequence& buffers)
 #if BOOST_WORKAROUND(__GNUC__, == 4) && BOOST_WORKAROUND(__GNUC_MINOR__, == 3)
- __attribute__ ((noinline))
+ __attribute__ ((__noinline__))
 #endif
   {
     buffers_iterator new_iter;


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