Opened 13 years ago

#3780 new Patches

Patch for disabling strict aliasing warnings, changing reinterpret_cast's

Reported by: Dean Michael Berris Owned by: Douglas Gregor
Milestone: Boost 1.42.0 Component: function
Version: Boost Development Trunk Severity: Problem
Keywords: warnings reinterpret_cast Cc:

Description

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.

Attachments (1)

boost-function-convert-reinterpret_cast-gcc-system-header.diff (2.6 KB ) - added by Dean Michael Berris 13 years ago.
GCC System Header and reinterpret_cast conversion to static_cast and friends.

Download all attachments as: .zip

Change History (1)

by Dean Michael Berris, 13 years ago

GCC System Header and reinterpret_cast conversion to static_cast and friends.

Note: See TracTickets for help on using tickets.