Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82919 - trunk/boost/optional
From: steven_at_[hidden]
Date: 2013-02-15 21:48:46


Author: steven_watanabe
Date: 2013-02-15 21:48:46 EST (Fri, 15 Feb 2013)
New Revision: 82919
URL: http://svn.boost.org/trac/boost/changeset/82919

Log:
Use __may_alias__ instead of may_alias. Fixes #6410.
Text files modified:
   trunk/boost/optional/optional.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/optional/optional.hpp
==============================================================================
--- trunk/boost/optional/optional.hpp (original)
+++ trunk/boost/optional/optional.hpp 2013-02-15 21:48:46 EST (Fri, 15 Feb 2013)
@@ -127,7 +127,7 @@
     union
     // This works around GCC warnings about breaking strict aliasing rules when casting storage address to T*
 #if defined(BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS)
- __attribute__((may_alias))
+ __attribute__((__may_alias__))
 #endif
     dummy_u
     {


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