[gn build] port b1356504e6 (c++17)
This commit is contained in:
parent
e0807b0d7e
commit
51a91d6c5d
|
|
@ -117,7 +117,7 @@ config("compiler_defaults") {
|
|||
ldflags += [ "-Wl,--color-diagnostics" ]
|
||||
}
|
||||
cflags_cc += [
|
||||
"-std=c++14",
|
||||
"-std=c++17",
|
||||
"-fvisibility-inlines-hidden",
|
||||
]
|
||||
} else {
|
||||
|
|
@ -160,7 +160,10 @@ config("compiler_defaults") {
|
|||
"_UNICODE",
|
||||
"UNICODE",
|
||||
]
|
||||
cflags += [ "/EHs-c-" ]
|
||||
cflags += [
|
||||
"/std:c++17",
|
||||
"/EHs-c-",
|
||||
]
|
||||
|
||||
# The MSVC default value (1 MB) is not enough for parsing recursive C++
|
||||
# templates in Clang.
|
||||
|
|
|
|||
Loading…
Reference in New Issue