4f93631615
1.41. Tested without fallout in a bulk build by stephan@, thanks! Endianess fixes from kili@, mark as NO_REGRESS as regression suite changed a lot since old previous 1.34 version. Remove deanna@ from MAINTAINER has she agreed not having time for it atm. This port doesn't honour CFLAGS but this will be dealt separately.
16 lines
813 B
Plaintext
16 lines
813 B
Plaintext
$OpenBSD: patch-boost_throw_exception_hpp,v 1.2 2010/04/21 09:26:58 landry 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.
|