From 3167423f079e08f530df30eccad2a467c8ad5014 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 29 Jun 2021 20:33:14 -0400 Subject: sim: use -Wno-error=maybe-uninitialized We have some code tripping this warning, but it depends on the gcc version & optimization levels. We've added some hints to the code so some versions of gcc work better, but still not all. Let's just disable the warning like gdb does. --- sim/configure | 1 + 1 file changed, 1 insertion(+) (limited to 'sim/configure') diff --git a/sim/configure b/sim/configure index 34cd1c9..3120006 100755 --- a/sim/configure +++ b/sim/configure @@ -14588,6 +14588,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wpointer-sign \ -Wno-unused -Wunused-value -Wunused-function \ -Wno-switch -Wno-char-subscripts -Wmissing-prototypes +-Wno-error=maybe-uninitialized -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \ -Wold-style-declaration -Wold-style-definition" -- cgit v1.1