forked from boostorg/config
Don't enable GCC C++0x features in non-C++0x mode.
Update tests to actually fail unless we're in C++0x mode. Fixes #5320. Fixes #5319. [SVN r70019]
This commit is contained in:
1 parent
2edb55f8ad
commit
050da29d47
5 files changed
+17
-10
No files matched your search
@@ -10,6 +10,10 @@
|
||||
// TITLE: C++0x defaulted functions unavailable
|
||||
// DESCRIPTION: The compiler does not support C++0x defaulted functions
|
||||
|
||||
#if defined(__GNUC__) && !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||
# error Defaulted functions aren't really supported in non-C++0x mode
|
||||
#endif
|
||||
|
||||
namespace boost_no_defaulted_functions {
|
||||
|
||||
struct foo {
|
||||
|
||||
Reference in new issue
Block a user