Ticket #6410: boost-optional.patch
File boost-optional.patch, 576 bytes (added by , 11 years ago) |
---|
-
boost/optional/optional.hpp
diff -urp boost_1_48_0~/boost/optional/optional.hpp boost_1_48_0/boost/optional/optional.hpp
old new class aligned_storage 127 127 union 128 128 // This works around GCC warnings about breaking strict aliasing rules when casting storage address to T* 129 129 #if defined(BOOST_OPTIONAL_DETAIL_USE_ATTRIBUTE_MAY_ALIAS) 130 __attribute__(( may_alias))130 __attribute__((__may_alias__)) 131 131 #endif 132 132 dummy_u 133 133 {