18 lines
815 B
Plaintext
18 lines
815 B
Plaintext
$OpenBSD: patch-boost_throw_exception_hpp,v 1.3 2011/11/06 19:26:23 jasper Exp $
|
|
|
|
Fix for /usr/local/include/boost/throw_exception.hpp:57: warning:
|
|
`inline' is not at beginning of declaration which makes -Werror
|
|
configure scripts bomb
|
|
|
|
--- boost/throw_exception.hpp.orig Tue Dec 22 21:59:23 2009
|
|
+++ boost/throw_exception.hpp Thu Apr 8 13:36:37 2010
|
|
@@ -55,7 +55,7 @@ void throw_exception( std::exception const & e ); // u
|
|
|
|
inline void throw_exception_assert_compatibility( std::exception const & ) { }
|
|
|
|
-template<class E> BOOST_ATTRIBUTE_NORETURN inline void throw_exception( E const & e )
|
|
+template<class E> inline BOOST_ATTRIBUTE_NORETURN void throw_exception( E const & e )
|
|
{
|
|
//All boost exceptions are required to derive from std::exception,
|
|
//to ensure compatibility with BOOST_NO_EXCEPTIONS.
|