Decorate GCC attribute names with underscores to prevent interaction

with user-defined macros.
This commit is contained in:
Christopher Kohlhoff 2012-07-22 15:49:35 +10:00
parent 45ccb86ae5
commit 1afef34c9a

View File

@ -127,7 +127,7 @@ public:
/// 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;
@ -147,7 +147,7 @@ public:
/// 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;