mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Check that C++11 is available and remove tests for it
Don't bother checking for various C++11 features that are available in all C++11 compilers. Also assume that std::exception_ptr is available in all still supported MinGW versions and remove checks for it too (see #16634). Further simplifications remain possible, this is just the first step.
This commit is contained in:
@@ -389,14 +389,6 @@
|
||||
CLANG_TURN_ON(all)
|
||||
CLANG_TURN_ON(extra)
|
||||
CLANG_TURN_ON(pedantic)
|
||||
|
||||
// We use long long, variadic macros and empty macro arguments (which are a
|
||||
// C99 extension) even in C++98 builds.
|
||||
#if __cplusplus < 201103L
|
||||
CLANG_TURN_OFF(c++11-long-long)
|
||||
CLANG_TURN_OFF(variadic-macros)
|
||||
CLANG_TURN_OFF(c99-extensions)
|
||||
#endif
|
||||
#endif // clang
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user