Use C++20 (#2659)
This commit is contained in:
@@ -53,7 +53,7 @@ MSVC_FLAGS = [
|
||||
"/wd4435", # (boost) Object layout under /vd2 will change due to virtual base
|
||||
"/wd4702", # Unreachable code
|
||||
"/wd4710", # Function not inlined
|
||||
"/wd5041", # out-of-line definition for constexpr static data member is not needed and is deprecated in C++17
|
||||
"/wd5041", # out-of-line definition for constexpr static data member is not needed and is deprecated since C++17
|
||||
"/wd4946", # reinterpret_cast used between related classes
|
||||
"/wd4459", # declaration of 'x' hides global declaration
|
||||
"/wd4373", # virtual function overrides 'x', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
|
||||
@@ -86,12 +86,12 @@ GCC_CLANG_CPP_FLAGS = [
|
||||
"-fexceptions",
|
||||
"-fno-rtti",
|
||||
"-ftemplate-depth=1024",
|
||||
"-std=c++17",
|
||||
"-std=c++20",
|
||||
]
|
||||
|
||||
MSVC_CPP_FLAGS = [
|
||||
"/EHsc",
|
||||
"/std:c++17",
|
||||
"/std:c++20",
|
||||
"/GR-",
|
||||
"/permissive-",
|
||||
"/utf-8",
|
||||
|
||||
Reference in New Issue
Block a user