[cairo] compile fails with master bf5892e2a6ff

James Cloos cloos at jhcloos.com
Mon Jul 18 09:16:05 PDT 2011


The error is:

cairo-script-surface.c: At top level:
cairo-script-surface.c:3408:5: error: '_cairo_default_context_create' undeclared here (not in a function)


There are also some warnings; in particular:

cairo-xcb-surface-render.c:3480:5: warning: cannot optimize loop, the loop counter may overflow

cairo-script-surface.c: In function '_format_to_string':
cairo-script-surface.c:839:5: warning: enumeration value 'CAIRO_FORMAT_RGB30' not handled in switch
cairo-script-surface.c: In function '_write_image_surface':
cairo-script-surface.c:1165:5: warning: enumeration value 'CAIRO_FORMAT_RGB30' not handled in switch
cairo-script-surface.c: In function '_emit_image_surface':
cairo-script-surface.c:1325:2: warning: enumeration value 'CAIRO_FORMAT_RGB30' not handled in switch

as well as a few may be used uninitialized warnings.

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the cairo mailing list