mirror of
https://github.com/MariaDB/server.git
synced 2026-04-20 15:25:33 +02:00
Removed some warnings from -Wimplicit-fallthrough= with build scripts
This commit is contained in:
parent
b5615eff0d
commit
e3bffd579f
4 changed files with 4 additions and 3 deletions
|
|
@ -141,7 +141,7 @@ elif [ "x$warning_mode" = "xmaintainer" ]; then
|
|||
debug_extra_cflags="-g3"
|
||||
else
|
||||
# Both C and C++ warnings
|
||||
warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing"
|
||||
warnings="-Wall -Wextra -Wunused -Wwrite-strings -Wno-uninitialized -Wno-strict-aliasing -Wimplicit-fallthrough=2"
|
||||
|
||||
# For more warnings, uncomment the following line
|
||||
# warnings="$warnings -Wshadow"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue