+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>
* gst/gstpad.c: (gst_pad_check_schedulers),
#else /* GST_DISABLE_GST_DEBUG */
-#ifdef __GNUC__
+#if defined(__GNUC__) && __GNUC__ >= 3
# pragma GCC poison gst_debug_log
# pragma GCC poison gst_debug_log_valist
# pragma GCC poison _gst_debug_category_new
xmlNodePtr gst_object_save_thyself (GstObject *object, xmlNodePtr parent);
void gst_object_restore_thyself (GstObject *object, xmlNodePtr self);
#else
+#if defined _GNUC_ && _GNUC_ >= 3
#pragma GCC poison gst_object_save_thyself
#pragma GCC poison gst_object_restore_thyself
#endif
+#endif
/* refcounting + life cycle */
GstObject * gst_object_ref (GstObject *object);
const gchar *name,
xmlNodePtr self);
#else
+#if defined _GNUC_ && _GNUC_ >= 3
#pragma GCC poison gst_class_signal_emit_by_name
#endif
+#endif
G_END_DECLS
#else /* GST_DISABLE_PARSE */
+#if defined _GNUC_ && _GNUC_ >= 3
#pragma GCC poison gst_parse_launch
#pragma GCC poison gst_parse_launchv
+#endif
#endif /* GST_DISABLE_PARSE */
#else /* GST_DISABLE_TRACE */
+#if defined _GNUC_ && _GNUC_ >= 3
#pragma GCC poison gst_trace_new
#pragma GCC poison gst_trace_destroy
#pragma GCC poison gst_trace_flush
#pragma GCC poison _gst_trace_add_entry
#pragma GCC poison gst_trace_read_tsc
#pragma GCC poison gst_trace_add_entry
+#endif
#define gst_alloc_trace_register(name)
#define gst_alloc_trace_new(trace, mem)
#else /* GST_DISABLE_LOADSAVE */
+#if defined _GNUC_ && _GNUC_ >= 3
#pragma GCC poison gst_xml_write
#pragma GCC poison gst_xml_new
#pragma GCC poison gst_xml_parse_doc
#pragma GCC poison gst_xml_parse_memory
#pragma GCC poison gst_xml_get_element
#pragma GCC poison gst_xml_get_topelements
+#endif
#endif /* GST_DISABLE_LOADSAVE */