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:
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
WFLAGS += -Wno-error=enum-conversion
|
||||||
|
|
||||||
AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_openssl_crypto) -I$(srcdir)/../lib/krb5
|
AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_openssl_crypto) -I$(srcdir)/../lib/krb5
|
||||||
|
|
||||||
lib_LTLIBRARIES = simple_csr_authorizer.la ipc_csr_authorizer.la \
|
lib_LTLIBRARIES = simple_csr_authorizer.la ipc_csr_authorizer.la \
|
||||||
|
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
WFLAGS += -Wno-error=enum-conversion
|
||||||
|
|
||||||
YFLAGS = -d -t
|
YFLAGS = -d -t
|
||||||
|
|
||||||
AM_CPPFLAGS += $(ROKEN_RENAME)
|
AM_CPPFLAGS += $(ROKEN_RENAME)
|
||||||
|
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
WFLAGS += -Wno-error=enum-conversion
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = subdir-objects
|
AUTOMAKE_OPTIONS = subdir-objects
|
||||||
|
|
||||||
AM_CPPFLAGS += \
|
AM_CPPFLAGS += \
|
||||||
|
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
WFLAGS += -Wno-error=enum-conversion
|
||||||
|
|
||||||
AM_CPPFLAGS += -I../asn1 -I$(srcdir)/../asn1
|
AM_CPPFLAGS += -I../asn1 -I$(srcdir)/../asn1
|
||||||
AM_CPPFLAGS += $(INCLUDE_openldap) -DHDB_DB_DIR=\"$(DIR_hdbdir)\"
|
AM_CPPFLAGS += $(INCLUDE_openldap) -DHDB_DB_DIR=\"$(DIR_hdbdir)\"
|
||||||
AM_CPPFLAGS += -I$(srcdir)/../krb5
|
AM_CPPFLAGS += -I$(srcdir)/../krb5
|
||||||
|
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
WFLAGS += -Wno-error=enum-conversion
|
||||||
|
|
||||||
AM_CPPFLAGS += $(AFS_EXTRA_DEFS) $(ROKEN_RENAME)
|
AM_CPPFLAGS += $(AFS_EXTRA_DEFS) $(ROKEN_RENAME)
|
||||||
|
|
||||||
if KRB5
|
if KRB5
|
||||||
|
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
include $(top_srcdir)/Makefile.am.common
|
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)
|
AM_CPPFLAGS += -I../com_err -I$(srcdir)/../com_err $(INCLUDE_sqlite3) $(INCLUDE_libintl) $(INCLUDE_openssl_crypto)
|
||||||
|
|
||||||
bin_PROGRAMS = verify_krb5_conf
|
bin_PROGRAMS = verify_krb5_conf
|
||||||
|
Reference in New Issue
Block a user