Features: Update the default_dialect test for old GNU-like compilers.
Prior to GNU 4.7, GNU defined __cplusplus incorrectly, and defined __GXX_EXPERIMENTAL_CXX0X__ in C++11 mode.
This commit is contained in:
parent
a60027a642
commit
1f4649e62f
|
@ -14,7 +14,7 @@ Outputter<__cplusplus> o;
|
||||||
# if !DEFAULT_CXX98
|
# if !DEFAULT_CXX98
|
||||||
# error Buildsystem error
|
# error Buildsystem error
|
||||||
# endif
|
# endif
|
||||||
# if __cplusplus != 199711L
|
# if __cplusplus != 199711L && __cplusplus != 1 && !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
Outputter<__cplusplus> o;
|
Outputter<__cplusplus> o;
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue