Remove -Wimplicit-fallthrough #pragma from sqlite3.c (fixes #128)

Replace it with the -Wno-implicit-fallthrough CFLAGS_SQLITE option in
configure.ac, so it no longer causes compile errors with older compilers
that don't support that warning.
This commit is contained in:
Andrew Bettison 2018-04-05 21:16:03 +09:30
parent 189485a513
commit e349c8fc9c
2 changed files with 1 additions and 1 deletions

View File

@ -263,6 +263,7 @@ AX_APPEND_COMPILE_FLAGS([ \
-Wno-unused-but-set-variable \
-Wno-missing-field-initializers \
-Wno-deprecated-declarations \
-Wno-implicit-fallthrough \
'-Wno-#warnings' \
],
[CFLAGS_SQLITE], [-Werror])

View File

@ -1,4 +1,3 @@
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
/******************************************************************************
** This file is an amalgamation of many separate C source files from SQLite
** version 3.14.2. By combining all the individual C code files into this