Ignore enum-conversion errors

This is not a very good fix, though the warnings remain.  Such errors
can in principle be a problem because in C there is no standard enum
sizing.

In this case we have two enums with the same elements and so the same
size, so it's clearly not a problem.
This commit is contained in:
Nicolas Williams
2022-01-03 16:00:45 -06:00
parent 284b29a85c
commit 6ee1554f3e
6 changed files with 12 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
include $(top_srcdir)/Makefile.am.common
WFLAGS += -Wno-error=enum-conversion
AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_openssl_crypto) -I$(srcdir)/../lib/krb5
lib_LTLIBRARIES = simple_csr_authorizer.la ipc_csr_authorizer.la \

View File

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

View File

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

View File

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

View File

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

View File

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