Cairo 1.15.2 ./configure --enable-cogl --enable-xml --enable-glesv2 --enable-glesv3 --enable-xlib-xcb --enable-tee prints cairo (version 1.15.12 [snapshot]) will be compiled with: The following surface backends: Image: yes (always builtin) Recording: yes (always builtin) Observer: yes (always builtin) Mime: yes (always builtin) Tee: yes XML: yes Xlib: yes Xlib Xrender: yes Qt: no (disabled, use --enable-qt to enable) Quartz: no (requires CoreGraphics framework) Quartz-image: no (disabled, use --enable-quartz-image to enable) XCB: yes Win32: no (requires a Win32 platform) OS2: no (disabled, use --enable-os2 to enable) CairoScript: yes PostScript: yes PDF: yes SVG: yes OpenGL: no (disabled, use --enable-gl to enable) OpenGL ES 2.0: yes OpenGL ES 3.0: yes BeOS: no (disabled, use --enable-beos to enable) DirectFB: no (disabled, use --enable-directfb to enable) OpenVG: no (disabled, use --enable-vg to enable) DRM: no (disabled, use --enable-drm to enable) Cogl: yes The following font backends: User: yes (always builtin) FreeType: yes Fontconfig: yes Win32: no (requires a Win32 platform) Quartz: no (requires CoreGraphics framework) The following functions: PNG functions: yes GLX functions: no (not required by any backend) WGL functions: no (not required by any backend) EGL functions: yes X11-xcb functions: yes XCB-shm functions: yes The following features and utilities: cairo-trace: yes cairo-script-interpreter: yes And the following internal features: pthread: yes gtk-doc: no gcov support: no symbol-lookup: no (requires bfd) test surfaces: no (disabled, use --enable-test-surfaces to enable) ps testing: no (requires libspectre) pdf testing: yes svg testing: no (requires librsvg-2.0 >= 2.35.0) --- The Xlib/XCB functions feature is still under active development and is --- included in this release only as a preview. It does NOT fully work yet --- and incompatible changes may yet be made to Xlib/XCB functions specific --- API. --- The OpenGLESv2 surface backend feature is still under active development --- and is included in this release only as a preview. It does NOT fully work --- yet and incompatible changes may yet be made to OpenGLESv2 surface --- backend specific API. --- The OpenGLESv3 surface backend feature is still under active development --- and is included in this release only as a preview. It does NOT fully work --- yet and incompatible changes may yet be made to OpenGLESv3 surface --- backend specific API. --- The Cogl surface backend feature is still under active development and is --- included in this release only as a preview. It does NOT fully work yet --- and incompatible changes may yet be made to Cogl surface backend specific --- API. --- The tee surface backend feature is still under active development and is --- included in this release only as a preview. It does NOT fully work yet --- and incompatible changes may yet be made to tee surface backend specific --- API. --- The xml surface backend feature is still under active development and is --- included in this release only as a preview. It does NOT fully work yet --- and incompatible changes may yet be made to xml surface backend specific --- API. and subsequent `make` emits: Makefile:1502: warning: overriding recipe for target 'recheck' Makefile:1140: warning: ignoring old recipe for target 'recheck' make all-recursive make[1]: Entering directory '/src/gnome/cairo-1.15.12' Makefile:1502: warning: overriding recipe for target 'recheck' Makefile:1140: warning: ignoring old recipe for target 'recheck' Making all in src make[2]: Entering directory '/src/gnome/cairo-1.15.12/src' make all-am make[3]: Entering directory '/src/gnome/cairo-1.15.12/src' CC cairo-cogl-surface.lo cairo-cogl-surface.c: In function ‘_cairo_cogl_surface_ensure_framebuffer’: cairo-cogl-surface.c:237:5: warning: ‘cogl_offscreen_new_to_texture’ is deprecated: Use 'cogl_offscreen_new_with_texture' instead [-Wdeprecated-declarations] surface->framebuffer = COGL_FRAMEBUFFER (cogl_offscreen_new_to_texture (surface->texture)); ^~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:72:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-offscreen.h:127:1: note: declared here cogl_offscreen_new_to_texture (CoglTexture *texture); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:245:5: warning: ‘cogl_push_framebuffer’ is deprecated [-Wdeprecated-declarations] cogl_push_framebuffer (surface->framebuffer); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:96:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h:138:1: note: declared here cogl_push_framebuffer (CoglFramebuffer *buffer); ^~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:246:5: warning: ‘cogl_ortho’ is deprecated: Use 'cogl_framebuffer_orthographic' instead [-Wdeprecated-declarations] cogl_ortho (0, surface->width, ^~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:239:1: note: declared here cogl_ortho (float left, ^~~~~~~~~~ cairo-cogl-surface.c:249:5: warning: ‘cogl_pop_framebuffer’ is deprecated [-Wdeprecated-declarations] cogl_pop_framebuffer (); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:96:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h:153:1: note: declared here cogl_pop_framebuffer (void); ^~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘_cairo_cogl_surface_create_similar’: cairo-cogl-surface.c:265:5: warning: ‘cogl_texture_new_with_size’ is deprecated: Use 'cogl_texture_2d_new_with_size__OR__cogl_texture_2d_sliced_new_with_size' instead [-Wdeprecated-declarations] texture = cogl_texture_new_with_size (width, height, ^~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:97:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-auto-texture.h:54:1: note: declared here cogl_texture_new_with_size (unsigned int width, ^~~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘_cairo_cogl_surface_allocate_buffer_space’: cairo-cogl-surface.c:534:53: warning: passing argument 1 of ‘cogl_attribute_buffer_new’ makes pointer from integer without a cast [-Wint-conversion] surface->buffer_stack = cogl_attribute_buffer_new (surface->buffer_stack_size, NULL); ^~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl-attribute.h:46:0, from /usr/local/include/cogl/cogl/cogl-primitive.h:47, from /usr/local/include/cogl/cogl/cogl-context.h:47, from /usr/local/include/cogl/cogl/cogl-pixel-buffer.h:47, from /usr/local/include/cogl/cogl/cogl-texture.h:55, from /usr/local/include/cogl/cogl/cogl1-context.h:41, from /usr/local/include/cogl/cogl/cogl.h:67, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-attribute-buffer.h:130:1: note: expected ‘CoglContext * {aka struct _CoglContext *}’ but argument is of type ‘size_t {aka long unsigned int}’ cogl_attribute_buffer_new (CoglContext *context, ^~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:534:81: warning: passing argument 2 of ‘cogl_attribute_buffer_new’ makes integer from pointer without a cast [-Wint-conversion] surface->buffer_stack = cogl_attribute_buffer_new (surface->buffer_stack_size, NULL); ^~~~ In file included from /usr/local/include/cogl/cogl/cogl-attribute.h:46:0, from /usr/local/include/cogl/cogl/cogl-primitive.h:47, from /usr/local/include/cogl/cogl/cogl-context.h:47, from /usr/local/include/cogl/cogl/cogl-pixel-buffer.h:47, from /usr/local/include/cogl/cogl/cogl-texture.h:55, from /usr/local/include/cogl/cogl/cogl1-context.h:41, from /usr/local/include/cogl/cogl/cogl.h:67, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-attribute-buffer.h:130:1: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘void *’ cogl_attribute_buffer_new (CoglContext *context, ^~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:534:26: error: too few arguments to function ‘cogl_attribute_buffer_new’ surface->buffer_stack = cogl_attribute_buffer_new (surface->buffer_stack_size, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl-attribute.h:46:0, from /usr/local/include/cogl/cogl/cogl-primitive.h:47, from /usr/local/include/cogl/cogl/cogl-context.h:47, from /usr/local/include/cogl/cogl/cogl-pixel-buffer.h:47, from /usr/local/include/cogl/cogl/cogl-texture.h:55, from /usr/local/include/cogl/cogl/cogl1-context.h:41, from /usr/local/include/cogl/cogl/cogl.h:67, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-attribute-buffer.h:130:1: note: declared here cogl_attribute_buffer_new (CoglContext *context, ^~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘_cairo_cogl_traps_to_triangles_buffer’: cairo-cogl-surface.c:569:38: warning: passing argument 1 of ‘cogl_attribute_buffer_new’ makes pointer from integer without a cast [-Wint-conversion] buffer = cogl_attribute_buffer_new (n_traps * sizeof (CoglVertexP2) * 6, NULL); ^~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl-attribute.h:46:0, from /usr/local/include/cogl/cogl/cogl-primitive.h:47, from /usr/local/include/cogl/cogl/cogl-context.h:47, from /usr/local/include/cogl/cogl/cogl-pixel-buffer.h:47, from /usr/local/include/cogl/cogl/cogl-texture.h:55, from /usr/local/include/cogl/cogl/cogl1-context.h:41, from /usr/local/include/cogl/cogl/cogl.h:67, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-attribute-buffer.h:130:1: note: expected ‘CoglContext * {aka struct _CoglContext *}’ but argument is of type ‘long unsigned int’ cogl_attribute_buffer_new (CoglContext *context, ^~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:569:75: warning: passing argument 2 of ‘cogl_attribute_buffer_new’ makes integer from pointer without a cast [-Wint-conversion] buffer = cogl_attribute_buffer_new (n_traps * sizeof (CoglVertexP2) * 6, NULL); ^~~~ In file included from /usr/local/include/cogl/cogl/cogl-attribute.h:46:0, from /usr/local/include/cogl/cogl/cogl-primitive.h:47, from /usr/local/include/cogl/cogl/cogl-context.h:47, from /usr/local/include/cogl/cogl/cogl-pixel-buffer.h:47, from /usr/local/include/cogl/cogl/cogl-texture.h:55, from /usr/local/include/cogl/cogl/cogl1-context.h:41, from /usr/local/include/cogl/cogl/cogl.h:67, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-attribute-buffer.h:130:1: note: expected ‘size_t {aka long unsigned int}’ but argument is of type ‘void *’ cogl_attribute_buffer_new (CoglContext *context, ^~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:569:11: error: too few arguments to function ‘cogl_attribute_buffer_new’ buffer = cogl_attribute_buffer_new (n_traps * sizeof (CoglVertexP2) * 6, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl-attribute.h:46:0, from /usr/local/include/cogl/cogl/cogl-primitive.h:47, from /usr/local/include/cogl/cogl/cogl-context.h:47, from /usr/local/include/cogl/cogl/cogl-pixel-buffer.h:47, from /usr/local/include/cogl/cogl/cogl-texture.h:55, from /usr/local/include/cogl/cogl/cogl1-context.h:41, from /usr/local/include/cogl/cogl/cogl.h:67, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-attribute-buffer.h:130:1: note: declared here cogl_attribute_buffer_new (CoglContext *context, ^~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘_cairo_cogl_clip_push_box’: cairo-cogl-surface.c:752:2: error: implicit declaration of function ‘cogl_clip_push_window_rectangle’; did you mean ‘cogl2_path_round_rectangle’? [-Werror=implicit-function-declaration] cogl_clip_push_window_rectangle (rect.x, rect.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cogl2_path_round_rectangle cairo-cogl-surface.c:757:2: error: implicit declaration of function ‘cogl_clip_push_rectangle’; did you mean ‘cogl2_path_rectangle’? [-Werror=implicit-function-declaration] cogl_clip_push_rectangle (x1, y1, x2, y2); ^~~~~~~~~~~~~~~~~~~~~~~~ cogl2_path_rectangle cairo-cogl-surface.c: In function ‘_cairo_cogl_journal_flush’: cairo-cogl-surface.c:777:5: warning: ‘cogl_set_framebuffer’ is deprecated [-Wdeprecated-declarations] cogl_set_framebuffer (surface->framebuffer); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:96:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h:53:1: note: declared here cogl_set_framebuffer (CoglFramebuffer *buffer); ^~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:779:5: warning: ‘cogl_push_matrix’ is deprecated: Use 'cogl_framebuffer_push_matrix' instead [-Wdeprecated-declarations] cogl_push_matrix (); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:290:1: note: declared here cogl_push_matrix (void); ^~~~~~~~~~~~~~~~ cairo-cogl-surface.c:796:3: error: implicit declaration of function ‘cogl_clip_pop’; did you mean ‘cogl_color_copy’? [-Werror=implicit-function-declaration] cogl_clip_pop (); ^~~~~~~~~~~~~ cogl_color_copy cairo-cogl-surface.c:832:3: error: implicit declaration of function ‘cogl_clip_push_primitive’; did you mean ‘cogl_is_primitive’? [-Werror=implicit-function-declaration] cogl_clip_push_primitive (prim, ^~~~~~~~~~~~~~~~~~~~~~~~ cogl_is_primitive cairo-cogl-surface.c:876:6: warning: ‘cogl_set_source’ is deprecated [-Wdeprecated-declarations] cogl_set_source (rect_entry->pipeline); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:578:1: note: declared here cogl_set_source (void *material); ^~~~~~~~~~~~~~~ cairo-cogl-surface.c:877:6: warning: ‘cogl_push_matrix’ is deprecated: Use 'cogl_framebuffer_push_matrix' instead [-Wdeprecated-declarations] cogl_push_matrix (); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:290:1: note: declared here cogl_push_matrix (void); ^~~~~~~~~~~~~~~~ cairo-cogl-surface.c:878:6: warning: ‘cogl_transform’ is deprecated: Use 'cogl_framebuffer_transform' instead [-Wdeprecated-declarations] cogl_transform (&transform); ^~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:370:1: note: declared here cogl_transform (const CoglMatrix *matrix); ^~~~~~~~~~~~~~ cairo-cogl-surface.c:881:6: warning: ‘cogl_pop_matrix’ is deprecated: Use 'cogl_framebuffer_push_matrix' instead [-Wdeprecated-declarations] cogl_pop_matrix (); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:301:1: note: declared here cogl_pop_matrix (void); ^~~~~~~~~~~~~~~ cairo-cogl-surface.c:889:6: warning: ‘cogl_push_matrix’ is deprecated: Use 'cogl_framebuffer_push_matrix' instead [-Wdeprecated-declarations] cogl_push_matrix (); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:290:1: note: declared here cogl_push_matrix (void); ^~~~~~~~~~~~~~~~ cairo-cogl-surface.c:899:3: warning: ‘cogl_transform’ is deprecated: Use 'cogl_framebuffer_transform' instead [-Wdeprecated-declarations] cogl_transform (&transform); ^~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:370:1: note: declared here cogl_transform (const CoglMatrix *matrix); ^~~~~~~~~~~~~~ cairo-cogl-surface.c:902:3: warning: ‘cogl_set_modelview_matrix’ is deprecated: Use 'cogl_framebuffer_set_modelview_matrix' instead [-Wdeprecated-declarations] cogl_set_modelview_matrix (&transform); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:396:1: note: declared here cogl_set_modelview_matrix (CoglMatrix *matrix); ^~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:905:6: warning: ‘cogl_set_source’ is deprecated [-Wdeprecated-declarations] cogl_set_source (prim_entry->pipeline); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:578:1: note: declared here cogl_set_source (void *material); ^~~~~~~~~~~~~~~ cairo-cogl-surface.c:906:6: error: too few arguments to function ‘cogl_primitive_draw’ cogl_primitive_draw (prim_entry->primitive); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl-context.h:47:0, from /usr/local/include/cogl/cogl/cogl-pixel-buffer.h:47, from /usr/local/include/cogl/cogl/cogl-texture.h:55, from /usr/local/include/cogl/cogl/cogl1-context.h:41, from /usr/local/include/cogl/cogl/cogl.h:67, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-primitive.h:934:1: note: declared here cogl_primitive_draw (CoglPrimitive *primitive, ^~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:907:6: warning: ‘cogl_pop_matrix’ is deprecated: Use 'cogl_framebuffer_push_matrix' instead [-Wdeprecated-declarations] cogl_pop_matrix (); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:301:1: note: declared here cogl_pop_matrix (void); ^~~~~~~~~~~~~~~ cairo-cogl-surface.c:914:6: warning: ‘cogl_set_source’ is deprecated [-Wdeprecated-declarations] cogl_set_source (path_entry->pipeline); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:578:1: note: declared here cogl_set_source (void *material); ^~~~~~~~~~~~~~~ cairo-cogl-surface.c:923:5: warning: ‘cogl_pop_matrix’ is deprecated: Use 'cogl_framebuffer_push_matrix' instead [-Wdeprecated-declarations] cogl_pop_matrix (); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:67:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl1-context.h:301:1: note: declared here cogl_pop_matrix (void); ^~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘_cairo_cogl_surface_read_rect_to_image_surface’: cairo-cogl-surface.c:1045:2: warning: ‘cogl_framebuffer_get_color_format’ is deprecated [-Wdeprecated-declarations] cogl_format = cogl_framebuffer_get_color_format (surface->framebuffer); ^~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:96:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h:260:1: note: declared here cogl_framebuffer_get_color_format (CoglFramebuffer *framebuffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:1054:5: warning: ‘cogl_push_framebuffer’ is deprecated [-Wdeprecated-declarations] cogl_push_framebuffer (surface->framebuffer); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:96:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h:138:1: note: declared here cogl_push_framebuffer (CoglFramebuffer *buffer); ^~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:1055:5: warning: ‘cogl_read_pixels’ is deprecated: Use 'cogl_framebuffer_read_pixels' instead [-Wdeprecated-declarations] cogl_read_pixels (0, 0, surface->width, surface->height, ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:96:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h:228:1: note: declared here cogl_read_pixels (int x, ^~~~~~~~~~~~~~~~ cairo-cogl-surface.c:1059:5: warning: ‘cogl_pop_framebuffer’ is deprecated [-Wdeprecated-declarations] cogl_pop_framebuffer (); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:96:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h:153:1: note: declared here cogl_pop_framebuffer (void); ^~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘_cairo_cogl_surface_acquire_source_image’: cairo-cogl-surface.c:1082:11: error: implicit declaration of function ‘cogl_texture_get_format’; did you mean ‘cogl_texture_get_data’? [-Werror=implicit-function-declaration] cogl_texture_get_format (surface->texture), ^~~~~~~~~~~~~~~~~~~~~~~ cogl_texture_get_data cairo-cogl-surface.c: In function ‘_cairo_cogl_acquire_surface_texture’: cairo-cogl-surface.c:1393:11: warning: passing argument 6 of ‘cogl_texture_2d_new_from_data’ makes pointer from integer without a cast [-Wint-conversion] image->stride, ^~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:113:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-texture-2d.h:193:1: note: expected ‘const uint8_t * {aka const unsigned char *}’ but argument is of type ‘ptrdiff_t {aka long int}’ cogl_texture_2d_new_from_data (CoglContext *ctx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:1394:11: warning: passing argument 7 of ‘cogl_texture_2d_new_from_data’ from incompatible pointer type [-Wincompatible-pointer-types] image->data, ^~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:113:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-texture-2d.h:193:1: note: expected ‘GError ** {aka struct _GError **}’ but argument is of type ‘unsigned char *’ cogl_texture_2d_new_from_data (CoglContext *ctx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c:1388:15: error: too many arguments to function ‘cogl_texture_2d_new_from_data’ texture = cogl_texture_2d_new_from_data (to_device(reference_surface->base.device)->cogl_context, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:113:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-texture-2d.h:193:1: note: declared here cogl_texture_2d_new_from_data (CoglContext *ctx, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘_cairo_cogl_surface_create_full’: cairo-cogl-surface.c:2517:2: warning: ‘cogl_framebuffer_get_color_format’ is deprecated [-Wdeprecated-declarations] surface->cogl_format = cogl_framebuffer_get_color_format (framebuffer); ^~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl.h:96:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-framebuffer-deprecated.h:260:1: note: declared here cogl_framebuffer_get_color_format (CoglFramebuffer *framebuffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘create_templates_for_op’: cairo-cogl-surface.c:2701:26: error: too few arguments to function ‘cogl_pipeline_new’ CoglPipeline *base = cogl_pipeline_new (); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/cogl/cogl/cogl-framebuffer.h:54:0, from /usr/local/include/cogl/cogl/cogl-primitive.h:48, from /usr/local/include/cogl/cogl/cogl-context.h:47, from /usr/local/include/cogl/cogl/cogl-pixel-buffer.h:47, from /usr/local/include/cogl/cogl/cogl-texture.h:55, from /usr/local/include/cogl/cogl/cogl1-context.h:41, from /usr/local/include/cogl/cogl/cogl.h:67, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/cogl-pipeline.h:93:1: note: declared here cogl_pipeline_new (CoglContext *context); ^~~~~~~~~~~~~~~~~ cairo-cogl-surface.c: In function ‘cairo_cogl_device_create’: cairo-cogl-surface.c:2742:5: warning: ‘cogl_texture_new_with_size’ is deprecated: Use 'cogl_texture_2d_new_with_size__OR__cogl_texture_2d_sliced_new_with_size' instead [-Wdeprecated-declarations] dev->dummy_texture = cogl_texture_new_with_size (1, 1, ^~~ In file included from /usr/local/include/cogl/cogl/cogl.h:97:0, from /usr/local/include/cogl/cogl/cogl2-experimental.h:35, from cairo-cogl-private.h:41, from cairo-cogl-surface.c:42: /usr/local/include/cogl/cogl/deprecated/cogl-auto-texture.h:54:1: note: declared here cogl_texture_new_with_size (unsigned int width, ^~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: cairo-cogl-surface.c:2447:1: warning: ‘_cairo_cogl_surface_show_glyphs’ defined but not used [-Wunused-function] _cairo_cogl_surface_show_glyphs (void *surface, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [Makefile:2361: cairo-cogl-surface.lo] Error 1 make[3]: Leaving directory '/src/gnome/cairo-1.15.12/src' make[2]: *** [Makefile:1962: all] Error 2 make[2]: Leaving directory '/src/gnome/cairo-1.15.12/src' make[1]: *** [Makefile:910: all-recursive] Error 1 make[1]: Leaving directory '/src/gnome/cairo-1.15.12' make: *** [Makefile:761: all] Error 2
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/165.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.