[Bug 685609] Error compiling directfb example
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Oct 18 06:02:27 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=685609
GStreamer | gst-plugins-bad | 0.10.23
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEEDINFO
CC| |t.i.m at zen.co.uk
--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-10-18 13:02:23 UTC ---
We just use GLib's G_GNUC_NO_INSTRUMENT define, which should Just Work. If it
doesn't, it's likely a bug somewhere else IMHO.
My gmacros.h has:
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
#define G_GNUC_NO_INSTRUMENT \
__attribute__((__no_instrument_function__))
#else
#define G_GNUC_NO_INSTRUMENT
#endif
which looks ok to me.
http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
says "You may also specify attributes with `__' preceding and following each
keyword. This allows you to use them in header files without being concerned
about a possible macro of the same name. For example, you may use __noreturn__
instead of noreturn.", which is what's done here.
So to me it looks like either a gcc/cpp bug (it should ignore the #define
__no_instrument_function__ from that directfb header AFAICT), or a bug in the
directfb headers, or $somewhere else anyway.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list