[Boost-bugs] [Boost C++ Libraries] #3780: Patch for disabling strict aliasing warnings, changing reinterpret_cast's

Subject: [Boost-bugs] [Boost C++ Libraries] #3780: Patch for disabling strict aliasing warnings, changing reinterpret_cast's
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-20 00:10:57


#3780: Patch for disabling strict aliasing warnings, changing reinterpret_cast's
---------------------------------------+------------------------------------
 Reporter: mikhailberis | Owner: dgregor
     Type: Patches | Status: new
Milestone: Boost 1.42.0 | Component: function
  Version: Boost Development Trunk | Severity: Problem
 Keywords: warnings reinterpret_cast |
---------------------------------------+------------------------------------
 Because of the warnings reported by GCC the patch attached treats
 boost/function/function_base.hpp as a system header which makes GCC be a
 little less strict. Also, it removes the reliance on reinterpret_cast<>
 using static_cast<> in places where it can.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3780>
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