Opened 13 years ago

Closed 13 years ago

#3946 closed Bugs (fixed)

compiler warnings in VC8

Reported by: andrey.torba@… Owned by: Emil Dotchevski
Milestone: Boost 1.43.0 Component: exception
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

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

Change History (1)

comment:1 by andrey.torba@…, 13 years ago

Resolution: fixed
Status: newclosed

The warning is fixed on trunk in 58072.

Note: See TracTickets for help on using tickets.