[Boost-bugs] [Boost C++ Libraries] #1898: Compilation Error in Any Test

Subject: [Boost-bugs] [Boost C++ Libraries] #1898: Compilation Error in Any Test
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-06 23:18:42

#1898: Compilation Error in Any Test
 Reporter: Charles Brockman <cmbrockman_at_[hidden]> | Owner: nasonov
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: any
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
 While compiling ''any_test.cpp'' in Microsoft Visual Studio 2005 (Version
 8) as a Windows console application, I received the following error:

 c:\boost svn\trunk\libs\any\test.hpp(281) : error C2872: 'exception' :
 ambiguous symbol[[BR]]
 could be 'c:\program files\microsoft visual studio
 8\vc\include\exception(95) : std::exception'[[BR]]
 or 'c:\boost svn\trunk\boost\exception\exception.hpp(47) :

 I changed line 281 from
 catch(const exception & caught)
 catch(const std::exception & caught)

 The compilation and linking was successful. If ''std::'' is correct, that
 part should be added to any_test.cpp.

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