Modify

Ticket #3780 (new Patches)

Opened 4 years ago

Patch for disabling strict aliasing warnings, changing reinterpret_cast's

Reported by: mikhailberis Owned by: dgregor
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

boost-function-convert-reinterpret_cast-gcc-system-header.diff Download (2.6 KB) - added by mikhailberis 4 years ago.
GCC System Header and reinterpret_cast conversion to static_cast and friends.

Change History

Changed 4 years ago by mikhailberis

GCC System Header and reinterpret_cast conversion to static_cast and friends.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.