Ticket #4381: patch-boost__config__compiler__gcc.hpp
File patch-boost__config__compiler__gcc.hpp, 477 bytes (added by , 12 years ago) |
---|
Line | |
---|---|
1 | --- boost/config/compiler/gcc.hpp.orig 2010-02-24 00:41:39.000000000 -0300 |
2 | +++ boost/config/compiler/gcc.hpp 2010-02-24 00:44:56.000000000 -0300 |
3 | @@ -104,6 +104,13 @@ |
4 | # endif |
5 | #endif |
6 | |
7 | +// |
8 | +// gcc previous to 4.3.x does not implement inclass member initialization |
9 | +// |
10 | +#if (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ <= 2)) |
11 | +# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION |
12 | +#endif |
13 | + |
14 | // C++0x features not implemented in any GCC version |
15 | // |
16 | #define BOOST_NO_CONSTEXPR |