diff --git a/barretenberg/cpp/CMakePresets.json b/barretenberg/cpp/CMakePresets.json index 615125bd51e..4b2d7b981ef 100644 --- a/barretenberg/cpp/CMakePresets.json +++ b/barretenberg/cpp/CMakePresets.json @@ -223,7 +223,8 @@ "binaryDir": "build-gcc", "environment": { "CC": "gcc", - "CXX": "g++" + "CXX": "g++", + "CXXFLAGS": "-Wno-missing-field-initializers" } }, { @@ -233,7 +234,8 @@ "inherits": "default", "environment": { "CC": "gcc-10", - "CXX": "g++-10" + "CXX": "g++-10", + "CXXFLAGS": "-Wno-missing-field-initializers" } }, { @@ -243,7 +245,8 @@ "inherits": "default", "environment": { "CC": "gcc-13", - "CXX": "g++-13" + "CXX": "g++-13", + "CXXFLAGS": "-Wno-missing-field-initializers" } }, {