[Boost-bugs] [Boost C++ Libraries] #3946: compiler warnings in VC8

Subject: [Boost-bugs] [Boost C++ Libraries] #3946: compiler warnings in VC8
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-18 10:47:27


#3946: compiler warnings in VC8
------------------------------------+---------------------------------------
 Reporter: andrey.torba@… | Owner: emildotchevski
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: exception
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: |
------------------------------------+---------------------------------------
 The following code under VC8 with warning level 4 produces the warnings
 below.


 {{{
 #include <boost/exception.hpp>
 #include <iostream>

 struct Error : boost::exception {};

 int main()
   {
   throw Error() << boost::errinfo_file_name(__FILE__);
   return 0;
   }

 }}}


 {{{
 1>d:\development\release-boost\v1.41.0\boost\exception\info.hpp(150) :
 warning C4706: assignment within conditional expression
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3946>
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:02 UTC