Re: [Boost-bugs] [Boost C++ Libraries] #7663: warning C4913: user defined binary operator ', ' exists but no overload could convert all operands, default built-in binary operator ', ' used

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7663: warning C4913: user defined binary operator ', ' exists but no overload could convert all operands, default built-in binary operator ', ' used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-22 05:04:42


#7663: warning C4913: user defined binary operator ',' exists but no overload
could convert all operands, default built-in binary operator ',' used
--------------------------------------+-------------------------------------
  Reporter: jeffrey.flinn@… | Owner: eric_niebler
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: result_of
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------

Comment (by Peter Fry <pbf@…>):

 In the end I've had to work around this by placing the warning disable in
 boost/config/compiler/visualc.hpp, and therefore ensure it gets disabled
 wherever I'm using boost (the price you pay for building your code with
 warn as error and warning level 4). Of course this is fragile since
 presumably if the first time boost/config.hpp is included, it's placed
 within a warning disable push/pop block, it may not suppress the warning
 at the point of overload resolution (thanks to the include guard). I
 wouldn't therefore propose this as a patch, but hopefully it'll fit my
 needs.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7663#comment:9>
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:12 UTC