[Boost-bugs] [Boost C++ Libraries] #3774: Patch for disabling strict aliasing warnings

Subject: [Boost-bugs] [Boost C++ Libraries] #3774: Patch for disabling strict aliasing warnings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-17 20:49:50


#3774: Patch for disabling strict aliasing warnings
-------------------------------------+--------------------------------------
 Reporter: mikhailberis | Owner: johnmaddock
     Type: Patches | Status: new
Milestone: Boost 1.42.0 | Component: config
  Version: Boost Development Trunk | Severity: Problem
 Keywords: warnings |
-------------------------------------+--------------------------------------
 In light of the increased warnings caused by Boost.Optional and
 Boost.Function in terms of using type-punned and/or reinterpret-casted (or
 reinterpret-cast-like) it seems the only suitable way of addressing them
 is to disable them for GCC -- but only through explicit inclusion of the
 warning_disable.hpp header.

 Attached is a patch to perform the disabling on GCC compilers that support
 the diagnostic pragma.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3774>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC