diff options
Diffstat (limited to 'boost/boost.4127.warnings.patch')
-rw-r--r-- | boost/boost.4127.warnings.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/boost/boost.4127.warnings.patch b/boost/boost.4127.warnings.patch deleted file mode 100644 index fe3c2bf51e95..000000000000 --- a/boost/boost.4127.warnings.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- misc/boost_1_44_0/boost/smart_ptr/make_shared.hpp -+++ misc/build/boost_1_44_0/boost/smart_ptr/make_shared.hpp -@@ -49,7 +49,18 @@ - { - if( initialized_ ) - { -+#if defined( __GNUC__ ) -+ -+ // fixes incorrect aliasing warning -+ T * p = reinterpret_cast< T* >( storage_.data_ ); -+ p->~T(); -+ -+#else -+ - reinterpret_cast< T* >( storage_.data_ )->~T(); -+ -+#endif -+ - initialized_ = false; - } - } |