[cairo] [PATCH 3/5] perf: Added conditional for static builds.

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Fri Jun 25 00:39:01 PDT 2010


Hi Zoxc,

Could you provide some more description for this patch?  I don't see 
CAIRO_PERF_STATIC_BUILD anywhere in cairo master for instance.  It 
looks like you're avoiding multiple definitions of _cairo_error() when 
doing static builds of cairo-perf-trace.  Sadly cairo-perf-trace 
"rudely" grabs the hash table code from ../src/cairo-hash*, which in 
turn uses _cairo_error(), so cairo-perf-trace has to go ahead and 
provide a _cairo_error() for it, or something like that.  I'm 
wondering why you aren't getting conflicts from the multiple 
definitions of the hash table code as well, and what makes 
_cairo_error() special.

Joonas


More information about the cairo mailing list