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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3774: Patch for disabling strict aliasing warnings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-12-21 12:23:27


#3774: Patch for disabling strict aliasing warnings
-------------------------------------+--------------------------------------
 Reporter: mikhailberis | Owner: fcacciola
     Type: Patches | Status: new
Milestone: Boost 1.42.0 | Component: optional
  Version: Boost Development Trunk | Severity: Problem
 Keywords: warnings |
-------------------------------------+--------------------------------------

Comment(by anonymous):

 I don't believe that marking the whole header as a system_header is a good
 long term idea. It will potentially hide real errors that are introduced
 at a later stage. At the very least, make the #pragma conditional on
 something (new) like BOOST_NOT_SYSTEM_HEADERS, and ideally have some way
 in which the maintainer builds will define it. (This "issue" with the
 system_header was discussed on boost-dev, btw.)

 Don't get me wrong, I get annoyed by this particular warning, but I think
 unconditionally making any boost header a system header is a risky move.

 Phil

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3774#comment:3>
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