Hopefully fixing a GCC warning.

[SVN r72127]
This commit is contained in:
Emil Dotchevski
2011-05-23 19:34:44 +00:00
parent f6e9b5808a
commit 5f6812b226
3 changed files with 229 additions and 218 deletions

View File

@ -455,6 +455,8 @@ boost
{
BOOST_ASSERT(p);
p.ptr_->rethrow();
BOOST_ASSERT(0);
abort();
}
inline

View File

@ -1,5 +1,11 @@
#ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
#define BOOST_THROW_EXCEPTION_HPP_INCLUDED
#ifndef UUID_AA15E74A856F11E08B8D93F24824019B
#define UUID_AA15E74A856F11E08B8D93F24824019B
#if defined(__GNUC__) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
#pragma GCC system_header
#endif
#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
#pragma warning(push,1)
#endif
// MS compatible compilers support #pragma once
@ -88,4 +94,7 @@ template<class E> BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const
#endif
} // namespace boost
#endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
#pragma warning(pop)
#endif
#endif