blob: 4f3c7554cf2006d77281ae42e877ad2eaa7964eb [file] [log] [blame]
Andrew Geissler97771a32021-03-05 15:23:11 -06001From f9906a3a1b7f1ade7a6c4e1a8aa67cb3a5e663a9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 3 Mar 2021 11:33:15 -0800
4Subject: [PATCH] Do not error on uninitialized warnings
5
6code in verifier.cc violates C/C++ aliasing rules so code should be
7perhaps changed to use a union
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 external/amber/src/CMakeLists.txt | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/external/amber/src/CMakeLists.txt b/external/amber/src/CMakeLists.txt
16index 80a0df7..4323c81 100644
17--- a/external/amber/src/CMakeLists.txt
18+++ b/external/amber/src/CMakeLists.txt
19@@ -133,6 +133,7 @@ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
20 -Werror
21 -Wextra
22 -Wno-unknown-pragmas
23+ -Wno-error=uninitialized
24 -Wpedantic
25 -pedantic-errors)
26 elseif(MSVC)
27--
282.30.1