mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
check: fix werror build with clang
Silence -Wformat-nonliteral warnings from the internal copy of libcheck ../subprojects/gstreamer/libs/gst/check/libcheck/check.c:379:29: warning: format string is not a string literal [-Wformat-nonliteral] vsnprintf (buf, BUFSIZ, msg, ap); ^~~ ../subprojects/gstreamer/libs/gst/check/libcheck/check_error.c:48:21: warning: format string is not a string literal [-Wformat-nonliteral] vfprintf (stderr, fmt, args); ^~~ ../subprojects/gstreamer/libs/gst/check/libcheck/check_str.c:92:29: warning: format string is not a string literal [-Wformat-nonliteral] n = vsnprintf (p, size, fmt, ap); ^~~
This commit is contained in:
parent
9e69c90869
commit
5c3ae3893a
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ foreach arg : [
|
|||
'-Wno-missing-prototypes',
|
||||
'-Wno-missing-declarations',
|
||||
'-Wno-old-style-definition',
|
||||
'-Wno-declaration-after-statement']
|
||||
'-Wno-declaration-after-statement',
|
||||
'-Wno-format-nonliteral']
|
||||
if cc.has_argument(arg)
|
||||
no_warn_args += [arg]
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue