1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-08 02:15:08 +00:00
freebsd-ports/devel/boost-libs/files/patch-boost__config__compiler__gcc.hpp
Pav Lucistnik 86ee268247 - Update to 1.45
PR:		ports/152558
Submitted by:	Armin Pirkovitsch <armin@frozen-zone.org>,
		Alexander Churanov <alexanderchuranov@gmail.com> (maintainer)
2010-12-27 20:53:10 +00:00

17 lines
477 B
C++

--- boost/config/compiler/gcc.hpp.orig 2010-10-01 09:19:44.000000000 +0000
+++ boost/config/compiler/gcc.hpp 2010-11-20 10:59:22.000000000 +0000
@@ -146,6 +149,13 @@
# endif
#endif
+//
+// gcc previous to 4.3.x does not implement inclass member initialization
+//
+#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 2))
+# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
+#endif
+
// C++0x features not implemented in any GCC version
//
#define BOOST_NO_CONSTEXPR