[cairo] [PATCH 5/5] fallback: Silence gcc warning

Behdad Esfahbod behdad at behdad.org
Fri Mar 18 14:35:27 PDT 2011


On 03/18/11 18:26, Andrea Canciani wrote:
> He suggests a behavior, but does not provide a solution.

Just mark the function cairo_private_no_warn instead of cairo_private.  At
some point we decided that we prefer to default to warn instead of no_warn, so
that's what cairo_private expands to, which is unintuitive to say the least.

behdad


More information about the cairo mailing list