aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2020-10-28 14:20:20 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2020-11-03 10:59:54 +0200
commit656c529566544d0851419ba47ed59b9d30a007d4 (patch)
tree5c368363b8644f9d4533634451c8d9734fd4a67c /configure.ac
parent8afd362407c586ea55878c908aa7d1d61b6f80e4 (diff)
configure: enable address-of-packed-member error
These warnings have now been fixed. The warning can be enabled again as an error. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com> Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 1d8ae9320..664552d21 100644
--- a/configure.ac
+++ b/configure.ac
@@ -128,11 +128,6 @@ ODP_CHECK_CFLAG([-Wwrite-strings])
ODP_CHECK_CFLAG([-Wformat-truncation=0])
ODP_CHECK_CFLAG([-Wformat-overflow=0])
-# Suppressed warnings:
-# GCC-9 warns about taking pointers to packed structure fields (e.g. protocol
-# header structures). Generate only warnings on those, not errors.
-ODP_CHECK_CFLAG([-Wno-error=address-of-packed-member])
-
# GCC 10 sometimes gets confused about object sizes and gives bogus warnings.
# Make the affected warnings generate only warnings, not errors.
AS_IF([test "$GCC" == yes],