• Matthew Waters's avatar
    build: fix debug output werror build with newer gcc · 8ce2460a
    Matthew Waters authored
    In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55,
                     from ../gst-libs/gst/tag/tag.h:25,
                     from ../gst-libs/gst/tag/gsttageditingprivate.h:24,
                     from ../gst-libs/gst/tag/gsttageditingprivate.c:23:
    ../gst-libs/gst/tag/gsttageditingprivate.c: In function ‘__exif_tag_capturing_white_balance_to_exif_value’:
    ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
      645 |     gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      646 |         (GObject *) (object), __VA_ARGS__);    \
          |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1068:27: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
     1068 | #define GST_WARNING(...)  GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, NULL, __VA_ARGS__)
          |                           ^~~~~~~~~~~~~~~~~
    ../gst-libs/gst/tag/gsttageditingprivate.c:265:3: note: in expansion of macro ‘GST_WARNING’
      265 |   GST_WARNING ("Invalid white balance: %s", str);
          |   ^~~~~~~~~~~
    ../gst-libs/gst/tag/gsttageditingprivate.c:265:40: note: format string is defined here
      265 |   GST_WARNING ("Invalid white balance: %s", str);
          |                                        ^~
    
    In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55,
                     from ../gst-libs/gst/tag/tag.h:25,
                     from ../gst-libs/gst/tag/gstxmptag.c:39:
    ../gst-libs/gst/tag/gstxmptag.c: In function ‘deserialize_exif_gps_direction’:
    ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
      645 |     gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      646 |         (GObject *) (object), __VA_ARGS__);    \
          |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1068:27: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
     1068 | #define GST_WARNING(...)  GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, NULL, __VA_ARGS__)
          |                           ^~~~~~~~~~~~~~~~~
    ../gst-libs/gst/tag/gstxmptag.c:818:5: note: in expansion of macro ‘GST_WARNING’
      818 |     GST_WARNING ("Missing %s tag", dirref_str);
          |     ^~~~~~~~~~~
    ../gst-libs/gst/tag/gstxmptag.c:818:27: note: format string is defined here
      818 |     GST_WARNING ("Missing %s tag", dirref_str);
          |                           ^~
    In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55,
                     from ../gst-libs/gst/tag/tag.h:25,
                     from ../gst-libs/gst/tag/gstxmptag.c:39:
    ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
      645 |     gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      646 |         (GObject *) (object), __VA_ARGS__);    \
          |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1068:27: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
     1068 | #define GST_WARNING(...)  GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, NULL, __VA_ARGS__)
          |                           ^~~~~~~~~~~~~~~~~
    ../gst-libs/gst/tag/gstxmptag.c:814:5: note: in expansion of macro ‘GST_WARNING’
      814 |     GST_WARNING ("Missing %s tag", dir_str);
          |     ^~~~~~~~~~~
    ../gst-libs/gst/tag/gstxmptag.c:814:27: note: format string is defined here
      814 |     GST_WARNING ("Missing %s tag", dir_str);
          |                           ^~
    
    In file included from ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gst.h:55,
                     from ../gst-libs/gst/gl/gstgl_fwd.h:24,
                     from ../gst-libs/gst/gl/gl.h:24,
                     from ../gst-libs/gst/gl/gstglsl.c:25:
    ../gst-libs/gst/gl/gstglsl.c: In function ‘gst_glsl_version_profile_from_string’:
    ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:645:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
      645 |     gst_debug_log ((cat), (level), __FILE__, GST_FUNCTION, __LINE__, \
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      646 |         (GObject *) (object), __VA_ARGS__);    \
          |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../../../dist/linux_x86_64/include/gstreamer-1.0/gst/gstinfo.h:1068:27: note: in expansion of macro ‘GST_CAT_LEVEL_LOG’
     1068 | #define GST_WARNING(...)  GST_CAT_LEVEL_LOG (GST_CAT_DEFAULT, GST_LEVEL_WARNING, NULL, __VA_ARGS__)
          |                           ^~~~~~~~~~~~~~~~~
    ../gst-libs/gst/gl/gstglsl.c:333:7: note: in expansion of macro ‘GST_WARNING’
      333 |       GST_WARNING ("Invalid preprocesser directive detected: %s", version_s);
          |       ^~~~~~~~~~~
    ../gst-libs/gst/gl/gstglsl.c:333:62: note: format string is defined here
      333 |       GST_WARNING ("Invalid preprocesser directive detected: %s", version_s);
          |                                                              ^~
    
    In function ‘print_stream_info’,
        inlined from ‘print_topology’ at ../tools/gst-discoverer.c:352:3:
    ../tools/gst-discoverer.c:316:3: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
      316 |   g_print ("%*s%s: %s\n", 2 * GPOINTER_TO_INT (depth), " ",
          |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      317 |       gst_discoverer_stream_info_get_stream_type_nick (info), desc);
          |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    8ce2460a
Name
Last commit
Last update
common @ 59cb6781 Loading commit data...
docs Loading commit data...
ext Loading commit data...
gst Loading commit data...
gst-libs Loading commit data...
hooks Loading commit data...
m4 Loading commit data...
pkgconfig Loading commit data...
po Loading commit data...
subprojects Loading commit data...
sys Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.static-linking Loading commit data...
RELEASE Loading commit data...
REQUIREMENTS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
gst-plugins-base.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...