Re: [Boost-bugs] [Boost C++ Libraries] #5892: Why using pragma instead of fixing simple warnings?

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5892: Why using pragma instead of fixing simple warnings?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-13 02:53:19


#5892: Why using pragma instead of fixing simple warnings?
--------------------------------------------------+-------------------------
  Reporter: christophe vial <cvial@…> | Owner: emildotchevski
      Type: Support Requests | Status: new
 Milestone: To Be Determined | Component: exception
   Version: Boost 1.47.0 | Severity: Cosmetic
Resolution: | Keywords:
--------------------------------------------------+-------------------------

Comment (by emildotchevski):

 Replying to [ticket:5892 christophe vial <cvial@…>]:
> <snip>
> This may seem cosmetic, but for the long term it could impact the
 overall quality if pragma proliferate and hide real issues.

 In practice, it is impossible to "fix" all warnings on all platforms, plus
 some warnings fly in the face of conscious design decisions and thus can't
 be "fixed" without compromising the design. A "good" fix would be to
 disable specific warnings, but GCC does not support that. The only
 alternative is to disable all warnings, and rely on an extensive framework
 of tests to ensure correct behavior.

 Emil

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5892#comment:2>
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:07 UTC