Enable strict prototypes warnings, and fix warnings

If a host project has -Wstrict-prototypes enabled, the mdbtools header
results in warnings. Turn on -Wstrict-prototypes for the whole project
so that these never occur again.
This commit is contained in:
Evan Miller
2018-12-29 10:34:54 -05:00
parent b753ff36a0
commit cdde7c3268
5 changed files with 10 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ AM_CONDITIONAL(SQL, test x$sql = xtrue)
AC_SUBST(SQL)
AC_SUBST(LFLAGS)
CFLAGS="$CFLAGS -Wall"
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
dnl Enable -Wl,--as-needed by default to prevent overlinking
AC_ARG_ENABLE([as-needed],