We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 537d11a commit fde9ebfCopy full SHA for fde9ebf
1 file changed
compiler/build.gradle
@@ -100,7 +100,7 @@ model {
100
all {
101
if (toolChain in Gcc || toolChain in Clang) {
102
cppCompiler.define("GRPC_VERSION", version)
103
- cppCompiler.args "--std=c++14"
+ cppCompiler.args "--std=c++17"
104
addEnvArgs("CXXFLAGS", cppCompiler.args)
105
addEnvArgs("CPPFLAGS", cppCompiler.args)
106
if (project.hasProperty('buildUniversal') &&
@@ -130,7 +130,7 @@ model {
130
} else if (toolChain in VisualCpp) {
131
usingVisualCpp = true
132
133
- cppCompiler.args "/EHsc", "/MT"
+ cppCompiler.args "/EHsc", "/MT", "/std:c++17"
134
if (rootProject.hasProperty('vcProtobufInclude')) {
135
cppCompiler.args "/I${rootProject.vcProtobufInclude}"
136
}
0 commit comments