cf: Check cc support of -Werror=enum-conversion

This commit is contained in:
Nicolas Williams
2022-01-13 00:14:41 -06:00
parent fc4b3ce49b
commit 0c7b06f9ca
9 changed files with 68 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
include $(top_srcdir)/Makefile.am.common
WFLAGS += -Wno-error=enum-conversion
WFLAGS += $(WFLAGS_ENUM_CONV)
YFLAGS = -d -t

View File

@@ -2,7 +2,7 @@
include $(top_srcdir)/Makefile.am.common
WFLAGS += -Wno-error=enum-conversion
WFLAGS += $(WFLAGS_ENUM_CONV)
AUTOMAKE_OPTIONS = subdir-objects

View File

@@ -16,7 +16,7 @@ AM_CPPFLAGS += -I$(top_srcdir)/lib/hx509 \
WFLAGS += $(WFLAGS_LITE) -Wno-error=unused-function
# XXX: Make these not necessary:
WFLAGS += -Wno-error=unused-result -Wno-error=deprecated-declarations
WFLAGS += -Wno-unused-but-set-variable
WFLAGS += $(WFLAGS_UNUSED_BUT_SET_VAR)
lib_LTLIBRARIES = libhcrypto.la
check_LTLIBRARIES = libhctest.la

View File

@@ -2,7 +2,7 @@
include $(top_srcdir)/Makefile.am.common
WFLAGS += -Wno-error=enum-conversion
WFLAGS += $(WFLAGS_ENUM_CONV)
AM_CPPFLAGS += -I../asn1 -I$(srcdir)/../asn1
AM_CPPFLAGS += $(INCLUDE_openldap) -DHDB_DB_DIR=\"$(DIR_hdbdir)\"

View File

@@ -2,7 +2,7 @@
include $(top_srcdir)/Makefile.am.common
WFLAGS += -Wno-error=enum-conversion
WFLAGS += $(WFLAGS_ENUM_CONV)
AM_CPPFLAGS += $(AFS_EXTRA_DEFS) $(ROKEN_RENAME)

View File

@@ -2,7 +2,7 @@
include $(top_srcdir)/Makefile.am.common
WFLAGS += -Wno-error=enum-conversion
WFLAGS += $(WFLAGS_ENUM_CONV)
AM_CPPFLAGS += -I../com_err -I$(srcdir)/../com_err $(INCLUDE_sqlite3) $(INCLUDE_libintl) $(INCLUDE_openssl_crypto)