On 01/21/12 19:35, Felipe Magno de Almeida wrote: > 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. >
Good point. We will fix that before the first 1.6.0 pre-release. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev