mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 15:36:42 +00:00
base: Enable more warning flags
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
568ae91a2a
commit
a81371bf8b
1 changed files with 13 additions and 6 deletions
|
@ -231,25 +231,32 @@ endif
|
|||
core_conf.set_quoted('GST_INSTALL_PLUGINS_HELPER', install_plugins_helper)
|
||||
|
||||
warning_flags = [
|
||||
'-Wmissing-declarations',
|
||||
'-Wredundant-decls',
|
||||
'-Wundef',
|
||||
'-Wwrite-strings',
|
||||
'-Waddress',
|
||||
'-Wformat',
|
||||
'-Wformat-nonliteral',
|
||||
'-Wformat-security',
|
||||
'-Wimplicit-fallthrough=3',
|
||||
'-Winit-self',
|
||||
'-Wmissing-declarations',
|
||||
'-Wmissing-include-dirs',
|
||||
'-Waddress',
|
||||
'-Wmissing-parameter-type',
|
||||
'-Wno-multichar',
|
||||
'-Wvla',
|
||||
'-Wold-style-definition',
|
||||
'-Wpointer-arith',
|
||||
'-Wredundant-decls',
|
||||
'-Wshift-negative-value',
|
||||
'-Wtype-limits',
|
||||
'-Wundef',
|
||||
'-Wvla',
|
||||
'-Wwrite-strings',
|
||||
]
|
||||
|
||||
# C only warning flags
|
||||
warning_c_flags = [
|
||||
'-Wmissing-prototypes',
|
||||
]
|
||||
|
||||
# C++ only warning flags
|
||||
warning_cxx_flags = [
|
||||
'-Waggregate-return',
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue