File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -341,15 +341,16 @@ distclean-local: clean-local
341341 python/tests/__pycache__
342342
343343# Suppress some warnings for Perl, PHP, Python, and Ruby code because the
344- # auto-generated code otherwise generates them. This suppression list
345- # covers both GCC and Clang.
344+ # auto-generated code otherwise generates them. This suppression list covers
345+ # both GCC and Clang.
346346PERL_WARNINGS = -Wno-write-strings -Wno-nested-externs \
347347 -Wno-strict-prototypes -Wno-missing-declarations \
348348 -Wno-missing-prototypes -Wno-redundant-decls -Wno-shadow \
349349 -Wno-old-style-definition -Wno-conversion \
350350 -Wno-gnu-statement-expression -Wno-cast-align -Wno-comma \
351351 -Wno-covered-switch-default -Wno-extra-semi-stmt \
352- -Wno-implicit-fallthrough
352+ -Wno-implicit-fallthrough -Wno-declaration-after-statement \
353+ -Wno-switch-enum -Wno-bad-function-cast
353354PHP_WARNINGS = -Wno-strict-prototypes -Wno-write-strings \
354355 -Wno-missing-prototypes -Wno-unused-parameter -Wno-sign-compare \
355356 -Wno-redundant-decls -Wno-old-style-definition -Wno-float-equal \
You can’t perform that action at this time.
0 commit comments