MSVC updated __cplusplus macro support. C++14 standard is required.

This commit is contained in:
Branimir Karadžić
2022-05-17 11:49:35 -07:00
parent b17948aba2
commit 9fcbdc9a43
2 changed files with 4 additions and 7 deletions

View File

@@ -560,6 +560,7 @@ function toolchain(_buildDir, _libDir)
"/wd4201", -- warning C4201: nonstandard extension used: nameless struct/union
"/wd4324", -- warning C4324: '': structure was padded due to alignment specifier
"/Ob2", -- The Inline Function Expansion
"/Zc:__cplusplus", -- Enable updated __cplusplus macro
}
linkoptions {
"/ignore:4221", -- LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library