Commit 0ca55909 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

gst/gstelement.h: gcc versions prior to gcc 3.3 apparently complain about a...

gst/gstelement.h: gcc versions prior to gcc 3.3 apparently complain about a NULL printf format string, so don't use G...

Original commit message from CVS:
* gst/gstelement.h:
gcc versions prior to gcc 3.3 apparently complain about a NULL printf
format string, so don't use G_GNUC_PRINTF for those versions.
parent 35ae6c74
2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstelement.h:
gcc versions prior to gcc 3.3 apparently complain about a NULL printf
format string, so don't use G_GNUC_PRINTF for those versions.
2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
* gst/gsttaglist.c: (gst_is_tag_list):
......
......@@ -570,7 +570,8 @@ gboolean gst_element_query (GstElement *element, GstQuery *query);
gboolean gst_element_post_message (GstElement * element, GstMessage * message);
/* error handling */
#ifdef GST_USING_PRINTF_EXTENSION
/* gcc versions < 3.3 warn about NULL being passed as format to printf */
#if (defined(GST_USING_PRINTF_EXTENSION) || !defined(__GNUC__) || (__GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 3))
gchar * _gst_element_error_printf (const gchar *format, ...);
#else
gchar * _gst_element_error_printf (const gchar *format, ...) G_GNUC_PRINTF (1, 2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment