Meson add suggested warning flags from Massimo

This commit is contained in:
lillolollo 2020-02-18 07:06:10 +00:00 committed by Jehan
parent 9032df515b
commit 3c6cf7fb3f
1 changed files with 11 additions and 1 deletions

View File

@ -257,9 +257,19 @@ warning_cflags_common = [
'-Wtype-limits',
]
warning_cflags_c = [
'-Wabsolute-value',
'-Wdeclaration-after-statement',
'-Wold-style-definition',
'-Wenum-conversion',
'-Wliteral-conversion',
'-Wno-strict-prototypes',
'-Wold-style-definition',
'-Wparentheses-equality',
'-W#pragma-messages',
'-Wsometimes-uninitialized',
'-Wtautological-unsigned-enum-zero-compare',
'-Wunneeded-internal-declaration',
'-Wunused-function',
'-Wunused-value',
'-Werror=implicit-function-declaration',
]