Re: [Boost-bugs] [Boost C++ Libraries] #1416: Warnings from Boost.Function need suppression.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1416: Warnings from Boost.Function need suppression.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-03 15:15:58


#1416: Warnings from Boost.Function need suppression.
--------------------------------------+-------------------------------------
  Reporter: pbristow | Owner: dgregor
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: function
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords: warnings function
--------------------------------------+-------------------------------------
Comment (by Richard Webb <Richard.Webb_at_[hidden]>):

 (I don't know if i should add this here, or open a new bug - so tell me if
 i'm wrong):

 Building my project in VC8SP1 on warning level 4 results in some C4127
 (conditional expression is constant) warnings from function_template.hpp:

 {{{
 if (function_allows_small_object_optimization<FunctionObj>::value)
 ...
 }}}

 The attached patch silences the warning on VC8.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1416#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:49:57 UTC