Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3621: warnings emited when highest level warning set
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-26 20:07:47
#3621: warnings emited when highest level warning set
--------------------------+-------------------------------------------------
Reporter: ramey | Owner: dlwalker
Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: None
Version: Boost 1.40.0 | Severity: Problem
Keywords: warnings |
--------------------------+-------------------------------------------------
Changes (by mikhailberis):
* cc: mikhailberis@⦠(added)
Comment:
I've been trying to inhibit the warnings using GCC diagnostic pragmas in
the form of:
{{{
#if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wlong-long"
#endif
}}}
in multiple places where a similar warning occurs (like in Boost.Thread's
libs/thread/src/pthread/once.cpp) and apparently it does not work. This
seems to be a bug in GCC where there's a pending patch to resolve this
issue:
http://old.nabble.com/-PATCH--RFC:-Enabling--W-no--error%3D...-for-cpplib-
warnings-td26068513.html
This means it cannot be solved by using compiler-specific (GCC) pragmas
even with GCC 4.4.x.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3621#comment:1> 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:01 UTC