Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 1 | From f9906a3a1b7f1ade7a6c4e1a8aa67cb3a5e663a9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 3 Mar 2021 11:33:15 -0800 |
| 4 | Subject: [PATCH] Do not error on uninitialized warnings |
| 5 | |
| 6 | code in verifier.cc violates C/C++ aliasing rules so code should be |
| 7 | perhaps changed to use a union |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | external/amber/src/CMakeLists.txt | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/external/amber/src/CMakeLists.txt b/external/amber/src/CMakeLists.txt |
| 16 | index 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 | -- |
| 28 | 2.30.1 |