mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 22:42:35 +00:00
good: Enable extra warning flags
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
47b723c6e1
commit
8b9ac40710
1 changed files with 14 additions and 4 deletions
|
@ -248,17 +248,27 @@ cdata.set_quoted('GETTEXT_PACKAGE', 'gst-plugins-good-1.0')
|
|||
cdata.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
||||
cdata.set_quoted('PACKAGE_BUGREPORT', 'https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new')
|
||||
|
||||
# NOTE: Keep entries alphabetically sorted
|
||||
warning_flags = [
|
||||
'-Wmissing-declarations',
|
||||
'-Wredundant-decls',
|
||||
'-Wwrite-strings',
|
||||
'-Waddress',
|
||||
'-Wformat',
|
||||
'-Wformat-security',
|
||||
'-Wimplicit-fallthrough=3',
|
||||
'-Winit-self',
|
||||
'-Wmissing-declarations',
|
||||
'-Wmissing-include-dirs',
|
||||
'-Wmissing-parameter-type',
|
||||
'-Wno-multichar',
|
||||
'-Wvla',
|
||||
'-Wpointer-arith',
|
||||
'-Wredundant-decls',
|
||||
'-Wshift-negative-value',
|
||||
'-Wtype-limits',
|
||||
'-Wundef',
|
||||
'-Wvla',
|
||||
'-Wwrite-strings',
|
||||
]
|
||||
|
||||
# C-only warnings
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
'-Wold-style-definition',
|
||||
|
|
Loading…
Reference in a new issue