mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-12 01:05:47 +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('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
||||||
cdata.set_quoted('PACKAGE_BUGREPORT', 'https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new')
|
cdata.set_quoted('PACKAGE_BUGREPORT', 'https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new')
|
||||||
|
|
||||||
|
# NOTE: Keep entries alphabetically sorted
|
||||||
warning_flags = [
|
warning_flags = [
|
||||||
'-Wmissing-declarations',
|
'-Waddress',
|
||||||
'-Wredundant-decls',
|
'-Wformat',
|
||||||
'-Wwrite-strings',
|
'-Wformat-security',
|
||||||
|
'-Wimplicit-fallthrough=3',
|
||||||
'-Winit-self',
|
'-Winit-self',
|
||||||
|
'-Wmissing-declarations',
|
||||||
'-Wmissing-include-dirs',
|
'-Wmissing-include-dirs',
|
||||||
|
'-Wmissing-parameter-type',
|
||||||
'-Wno-multichar',
|
'-Wno-multichar',
|
||||||
'-Wvla',
|
|
||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
|
'-Wredundant-decls',
|
||||||
|
'-Wshift-negative-value',
|
||||||
|
'-Wtype-limits',
|
||||||
|
'-Wundef',
|
||||||
|
'-Wvla',
|
||||||
|
'-Wwrite-strings',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# C-only warnings
|
||||||
warning_c_flags = [
|
warning_c_flags = [
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
|
|
Loading…
Reference in a new issue