Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 1 | Subject: [PATCH] Don't build with -Werror to fix compile error. |
| 2 | |
| 3 | | 550 | _dump_sgpio_amd(&amd_reg->amd); |
| 4 | | | ^~~~~~~~~~~~~ |
| 5 | | amd_sgpio.c: In function '_write_amd_register': |
| 6 | | amd_sgpio.c:558:18: error: taking address of packed member of 'struct amd_register' may result in an unaligned pointer value [-Werror=address-of-packed-member] |
| 7 | |
Brad Bishop | 2f97392 | 2019-11-11 07:58:48 -0500 | [diff] [blame] | 8 | Upstream-Status: Submitted |
| 9 | https://github.com/intel/ledmon/pull/48/commits |
Brad Bishop | 868407c | 2019-11-04 13:24:47 -0500 | [diff] [blame] | 10 | |
| 11 | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> |
| 12 | --- |
| 13 | configure.ac | 1 - |
| 14 | 1 file changed, 1 deletion(-) |
| 15 | |
| 16 | diff --git a/configure.ac b/configure.ac |
| 17 | index 7bc20f8..7e01bd5 100644 |
| 18 | --- a/configure.ac |
| 19 | +++ b/configure.ac |
| 20 | @@ -22,7 +22,6 @@ AX_AM_CFLAGS_ADD([-Werror=format-truncation=1]) |
| 21 | AX_AM_CFLAGS_ADD([-Werror=shift-negative-value]) |
| 22 | AX_AM_CFLAGS_ADD([-Werror=alloca]) |
| 23 | AX_AM_CFLAGS_ADD([-Werror=missing-field-initializers]) |
| 24 | -AX_AM_CFLAGS_ADD([-Werror]) |
| 25 | AX_AM_CFLAGS_ADD([-Werror=format-signedness]) |
| 26 | |
| 27 | AC_SUBST([AM_CFLAGS]) |
| 28 | -- |
| 29 | 2.7.4 |
| 30 | |