From 083eb03a2ea202b93e98a78c55497ac5caa9cc43 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 20 Apr 2021 20:51:03 +0300 Subject: Disable bunch of bogus GCC warnings --- build/root.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/root.build b/build/root.build index f572d78..badb530 100644 --- a/build/root.build +++ b/build/root.build @@ -10,4 +10,7 @@ ixx{*}: extension = ixx txx{*}: extension = txx cxx{*}: extension = cxx +if ($cxx.id == 'gcc') + cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object # libbutl + cxx.poptions =+ "-I$out_root" "-I$src_root" -- cgit v1.1