From 75b7025b3016af11cbba828f3bb107444ddcb090 Mon Sep 17 00:00:00 2001 From: fcarreiro Date: Mon, 9 Dec 2024 17:24:25 +0000 Subject: [PATCH] gcc stop being annoying --- barretenberg/cpp/CMakePresets.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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" } }, {