mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
gstreamer: Add more warning flags
See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4123 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
316722d7c9
commit
0e8f8dfe15
1 changed files with 14 additions and 9 deletions
|
@ -517,23 +517,28 @@ else
|
|||
endif
|
||||
endif
|
||||
|
||||
# NOTE: Keep entries alphabetically sorted
|
||||
warning_flags = [
|
||||
'-Wmissing-declarations',
|
||||
'-Wmissing-prototypes',
|
||||
'-Wredundant-decls',
|
||||
'-Wundef',
|
||||
'-Wwrite-strings',
|
||||
'-Waddress',
|
||||
'-Waggregate-return',
|
||||
'-Wformat',
|
||||
'-Wformat-nonliteral',
|
||||
'-Wformat-security',
|
||||
'-Wold-style-definition',
|
||||
'-Wimplicit-fallthrough=3',
|
||||
'-Winit-self',
|
||||
'-Wmissing-declarations',
|
||||
'-Wmissing-include-dirs',
|
||||
'-Waddress',
|
||||
'-Waggregate-return',
|
||||
'-Wmissing-parameter-type',
|
||||
'-Wmissing-prototypes',
|
||||
'-Wno-multichar',
|
||||
'-Wvla',
|
||||
'-Wold-style-definition',
|
||||
'-Wpointer-arith',
|
||||
'-Wredundant-decls',
|
||||
'-Wshift-negative-value',
|
||||
'-Wtype-limits',
|
||||
'-Wundef',
|
||||
'-Wvla',
|
||||
'-Wwrite-strings',
|
||||
]
|
||||
|
||||
foreach extra_arg : warning_flags
|
||||
|
|
Loading…
Reference in a new issue