mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
Original commit message from CVS: * gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler * gst/gstobject.h: * gst/gstparse.h: * gst/gsttrace.h: * gst/gstxml.h:
This commit is contained in:
parent
074bcabf93
commit
f2dcf4e048
6 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-07-02 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
|
||||||
|
* gst/gstobject.h:
|
||||||
|
* gst/gstparse.h:
|
||||||
|
* gst/gsttrace.h:
|
||||||
|
* gst/gstxml.h:
|
||||||
|
|
||||||
2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/gstpad.c: (gst_pad_check_schedulers),
|
* gst/gstpad.c: (gst_pad_check_schedulers),
|
||||||
|
|
|
@ -597,7 +597,7 @@ G_CONST_RETURN gchar*
|
||||||
|
|
||||||
#else /* GST_DISABLE_GST_DEBUG */
|
#else /* GST_DISABLE_GST_DEBUG */
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && __GNUC__ >= 3
|
||||||
# pragma GCC poison gst_debug_log
|
# pragma GCC poison gst_debug_log
|
||||||
# pragma GCC poison gst_debug_log_valist
|
# pragma GCC poison gst_debug_log_valist
|
||||||
# pragma GCC poison _gst_debug_category_new
|
# pragma GCC poison _gst_debug_category_new
|
||||||
|
|
|
@ -132,9 +132,11 @@ gboolean gst_object_check_uniqueness (GList *list, const gchar *name);
|
||||||
xmlNodePtr gst_object_save_thyself (GstObject *object, xmlNodePtr parent);
|
xmlNodePtr gst_object_save_thyself (GstObject *object, xmlNodePtr parent);
|
||||||
void gst_object_restore_thyself (GstObject *object, xmlNodePtr self);
|
void gst_object_restore_thyself (GstObject *object, xmlNodePtr self);
|
||||||
#else
|
#else
|
||||||
|
#if defined _GNUC_ && _GNUC_ >= 3
|
||||||
#pragma GCC poison gst_object_save_thyself
|
#pragma GCC poison gst_object_save_thyself
|
||||||
#pragma GCC poison gst_object_restore_thyself
|
#pragma GCC poison gst_object_restore_thyself
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* refcounting + life cycle */
|
/* refcounting + life cycle */
|
||||||
GstObject * gst_object_ref (GstObject *object);
|
GstObject * gst_object_ref (GstObject *object);
|
||||||
|
@ -157,8 +159,10 @@ void gst_class_signal_emit_by_name (GstObject *object,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
xmlNodePtr self);
|
xmlNodePtr self);
|
||||||
#else
|
#else
|
||||||
|
#if defined _GNUC_ && _GNUC_ >= 3
|
||||||
#pragma GCC poison gst_class_signal_emit_by_name
|
#pragma GCC poison gst_class_signal_emit_by_name
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
|
@ -49,8 +49,10 @@ GstElement* gst_parse_launchv (const gchar **argv, GError **error);
|
||||||
|
|
||||||
#else /* GST_DISABLE_PARSE */
|
#else /* GST_DISABLE_PARSE */
|
||||||
|
|
||||||
|
#if defined _GNUC_ && _GNUC_ >= 3
|
||||||
#pragma GCC poison gst_parse_launch
|
#pragma GCC poison gst_parse_launch
|
||||||
#pragma GCC poison gst_parse_launchv
|
#pragma GCC poison gst_parse_launchv
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* GST_DISABLE_PARSE */
|
#endif /* GST_DISABLE_PARSE */
|
||||||
|
|
||||||
|
|
|
@ -133,6 +133,7 @@ extern gint _gst_trace_on;
|
||||||
|
|
||||||
#else /* GST_DISABLE_TRACE */
|
#else /* GST_DISABLE_TRACE */
|
||||||
|
|
||||||
|
#if defined _GNUC_ && _GNUC_ >= 3
|
||||||
#pragma GCC poison gst_trace_new
|
#pragma GCC poison gst_trace_new
|
||||||
#pragma GCC poison gst_trace_destroy
|
#pragma GCC poison gst_trace_destroy
|
||||||
#pragma GCC poison gst_trace_flush
|
#pragma GCC poison gst_trace_flush
|
||||||
|
@ -144,6 +145,7 @@ extern gint _gst_trace_on;
|
||||||
#pragma GCC poison _gst_trace_add_entry
|
#pragma GCC poison _gst_trace_add_entry
|
||||||
#pragma GCC poison gst_trace_read_tsc
|
#pragma GCC poison gst_trace_read_tsc
|
||||||
#pragma GCC poison gst_trace_add_entry
|
#pragma GCC poison gst_trace_add_entry
|
||||||
|
#endif
|
||||||
|
|
||||||
#define gst_alloc_trace_register(name)
|
#define gst_alloc_trace_register(name)
|
||||||
#define gst_alloc_trace_new(trace, mem)
|
#define gst_alloc_trace_new(trace, mem)
|
||||||
|
|
|
@ -89,6 +89,7 @@ G_END_DECLS
|
||||||
|
|
||||||
#else /* GST_DISABLE_LOADSAVE */
|
#else /* GST_DISABLE_LOADSAVE */
|
||||||
|
|
||||||
|
#if defined _GNUC_ && _GNUC_ >= 3
|
||||||
#pragma GCC poison gst_xml_write
|
#pragma GCC poison gst_xml_write
|
||||||
#pragma GCC poison gst_xml_new
|
#pragma GCC poison gst_xml_new
|
||||||
#pragma GCC poison gst_xml_parse_doc
|
#pragma GCC poison gst_xml_parse_doc
|
||||||
|
@ -96,6 +97,7 @@ G_END_DECLS
|
||||||
#pragma GCC poison gst_xml_parse_memory
|
#pragma GCC poison gst_xml_parse_memory
|
||||||
#pragma GCC poison gst_xml_get_element
|
#pragma GCC poison gst_xml_get_element
|
||||||
#pragma GCC poison gst_xml_get_topelements
|
#pragma GCC poison gst_xml_get_topelements
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* GST_DISABLE_LOADSAVE */
|
#endif /* GST_DISABLE_LOADSAVE */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue