diff options
author | Ed Tanous <edtanous@google.com> | 2021-12-03 21:52:38 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-12-07 02:48:17 +0300 |
commit | 6a3e2913e834a4b337138ac355ca1a59b3171445 (patch) | |
tree | 0dd815c2dd821e21d2453630bf4bd7de9a62d646 | |
parent | 26702d01c5a9290e8dcd20736223b002ec3ebadd (diff) | |
download | bmcweb-6a3e2913e834a4b337138ac355ca1a59b3171445.tar.xz |
Enable stringop warnings
The bug mentioned in the meson file has long since been closed, so
reenable the compiler option.
Tested:
Code builds without warnings.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ie88b7e40d7a56718b9be29a6bfccf2b9a0831b30
-rw-r--r-- | meson.build | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meson.build b/meson.build index bd3e5a8e3f..ff07103c69 100644 --- a/meson.build +++ b/meson.build @@ -163,11 +163,6 @@ endif # compiler arguments , we know that will pass if (cxx.get_id() == 'gcc' and cxx.version().version_compare('>8.0')) - - ## remove once bmcweb/issues/147 is fixed - add_global_link_arguments('-Wno-stringop-overflow',language:['c','cpp']) - add_project_arguments('-Wno-stringop-overflow',language:['c','cpp']) - add_project_arguments( cxx.get_supported_arguments([ '-Wduplicated-cond', |