Ticket #7095: warning: unrecognized __attribute__((__may_alias__))

[SVN r79424]
This commit is contained in:
Ion Gaztañaga
2012-07-11 17:59:25 +00:00
parent 8a4cef0b82
commit 29b97a7513

View File

@@ -217,7 +217,7 @@
#if defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_MOVE_DOXYGEN_INVOKED)
//Move emulation rv breaks standard aliasing rules so add workarounds for some compilers
#ifdef __GNUC__
#if defined(__GNUC__) && (__GNUC__ >= 4)
#define BOOST_MOVE_ATTRIBUTE_MAY_ALIAS __attribute__((__may_alias__))
#else
#define BOOST_MOVE_ATTRIBUTE_MAY_ALIAS