Hello,

I may be missing something, but #defin'ing a symbol with two
underscores is undefined behavior. Also, gstreamer uses
__no_instrument_function__ name to pass
to __attribute__, which when #includ'ing <directfb.h> before ends up
being expanded to __attribute__
((__attribute__((no_instrument_function)))) which is obviously
wrong.

I would suggest that directfb use a better name for the macro, for
example DIRECTFB_NO_INSTRUMENT_ATTRIBUTE, which has very low
probability of clashes
and is not a reserved name in C++ or C.

Regards,
-- 
Felipe Magno de Almeida
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to