mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
GStreamer multimedia framework
d0e6c8a78c
We do not have a way to know the format modifiers to use with string functions provided by the system. `G_GUINT64_FORMAT` and other string modifiers only work for glib string formatting functions. We cannot use them for string functions provided by the stdlib. See: https://developer.gnome.org/glib/stable/glib-Basic-Types.html#glib-Basic-Types.description ``` ../validate/plugins/flow/formatting.c: In function 'format_number': ../validate/plugins/flow/formatting.c:68:22: error: unknown conversion type character 'l' in format [-Werror=format=] sprintf (dest_str, "%" G_GUINT64_FORMAT, number); ^~~ In file included from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/include/glib-2.0/glib/gtypes.h:32, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/include/glib-2.0/glib/galloca.h:32, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/include/glib-2.0/glib.h:30, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/include/gstreamer-1.0/gst/gst.h:27, from ../validate/plugins/flow/formatting.h:26, from ../validate/plugins/flow/formatting.c:30: /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/lib/glib-2.0/include/glibconfig.h:69:28: note: format string is defined here #define G_GUINT64_FORMAT "llu" ^ ../validate/plugins/flow/formatting.c:68:22: error: too many arguments for format [-Werror=format-extra-args] sprintf (dest_str, "%" G_GUINT64_FORMAT, number); ^~~ ../validate/plugins/flow/formatting.c:68:22: error: unknown conversion type character 'l' in format [-Werror=format=] In file included from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/include/glib-2.0/glib/gtypes.h:32, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/include/glib-2.0/glib/galloca.h:32, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/include/glib-2.0/glib.h:30, from /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/include/gstreamer-1.0/gst/gst.h:27, from ../validate/plugins/flow/formatting.h:26, from ../validate/plugins/flow/formatting.c:30: /builds/nirbheek/cerbero/cerbero-build/dist/windows_x86_64/lib/glib-2.0/include/glibconfig.h:69:28: note: format string is defined here #define G_GUINT64_FORMAT "llu" ^ ../validate/plugins/flow/formatting.c:68:22: error: too many arguments for format [-Werror=format-extra-args] sprintf (dest_str, "%" G_GUINT64_FORMAT, number); ^~~ ``` Needed for https://gitlab.freedesktop.org/gstreamer/cerbero/merge_requests/419 |
||
---|---|---|
debug-viewer | ||
docs | ||
hooks | ||
tracer | ||
validate | ||
.arcconfig | ||
.gitignore | ||
.gitlab-ci.yml | ||
meson.build | ||
meson_options.txt |