Modify

Opened 8 years ago

#3780 new Patches

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 (1)

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

Download all attachments as: .zip

Change History (1)

Changed 8 years ago by mikhailberis

GCC System Header and reinterpret_cast conversion to static_cast and friends.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain dgregor.
Author


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

 
Note: See TracTickets for help on using tickets.