mirror of
https://github.com/boostorg/exception.git
synced 2025-07-24 17:47:31 +02:00
Fixed MSVC-specific compile errors when /Za command-line option is used, due to lack of throw() in std::~exception().
[SVN r44706]
This commit is contained in:
@ -25,6 +25,10 @@ boost
|
||||
T(x)
|
||||
{
|
||||
}
|
||||
|
||||
~error_info_injector() throw()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
struct large_size { char c[256]; };
|
||||
|
@ -30,6 +30,10 @@ boost
|
||||
boost::exception(e)
|
||||
{
|
||||
}
|
||||
|
||||
~unknown_exception() throw()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
typedef intrusive_ptr<exception_detail::clone_base const> exception_ptr;
|
||||
@ -56,6 +60,10 @@ boost
|
||||
boost::exception(e2)
|
||||
{
|
||||
}
|
||||
|
||||
~current_exception_std_exception_wrapper() throw()
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
template <class T>
|
||||
|
@ -7,6 +7,13 @@
|
||||
|
||||
import testing ;
|
||||
|
||||
project :
|
||||
requirements
|
||||
<link>static
|
||||
<runtime-link>static
|
||||
<toolset>msvc:<cxxflags>/Za
|
||||
;
|
||||
|
||||
#to_string
|
||||
run is_output_streamable_test.cpp ;
|
||||
run has_to_string_test.cpp ;
|
||||
|
Reference in New Issue
Block a user