[Boost-bugs] [Boost C++ Libraries] #1510: [format] C6323 compiler warning from VC8/VC9

Subject: [Boost-bugs] [Boost C++ Libraries] #1510: [format] C6323 compiler warning from VC8/VC9
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-08 12:18:23


#1510: [format] C6323 compiler warning from VC8/VC9
---------------------------------------------------------+------------------
 Reporter: Richard Webb <richard.webb_at_[hidden]> | Owner: samuel_krempp
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: format
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
---------------------------------------------------------+------------------
 Building a project that uses format in VC8/9 with the code analysis option
 enabled results in a 6323 warning:


 {{{
 boost\format\feed_args.hpp(214) : warning C6323: Use of arithmetic
 operator on Boolean type(s)
 }}}

 from

 {{{
  size_type sz = (std::min)(res_size+prefix_space, tmp_size);
 }}}

 Is it ok to simply silence this with a 'pragma warning'?

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1510>
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