mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-03-10 00:20:54 +08:00
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:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user