diff --git a/GPL/DemanglerGnu/build.gradle b/GPL/DemanglerGnu/build.gradle index 47d527c77a..13b8cf7f33 100644 --- a/GPL/DemanglerGnu/build.gradle +++ b/GPL/DemanglerGnu/build.gradle @@ -135,6 +135,7 @@ model { if (version.equals(v41)) { if (toolChain in Gcc) { //cCompiler.args "-DCP_DEMANGLE_DEBUG" + cCompiler.args "-std=gnu17" cCompiler.args "-DHAVE_STDLIB_H" cCompiler.args "-DHAVE_STRING_H" } @@ -151,6 +152,7 @@ model { else if (version.equals(v24)) { if (toolChain in Gcc) { cCompiler.args "-DMAIN_CPLUS_DEM" + cCompiler.args "-std=gnu17" cCompiler.args "-DHAVE_STDLIB_H" cCompiler.args "-DHAVE_STRING_H" }