[cairo] [cairo-commit] 2 commits - src/cairo-cache-private.h src/cairo-clip-private.h src/cairo-fixed-private.h src/cairo-ft-private.h src/cairo-gstate-private.h src/cairo-hash-private.h src/cairoint.h src/cairo-malloc-private.h src/cairo-mutex-private.h src/cairo-mutex-type-private.h src/cairo-os2-private.h src/cairo-output-stream-private.h src/cairo-paginated-surface-private.h src/cairo-path-fixed-private.h src/cairo-pdf-surface-private.h src/cairo-private.h src/cairo-ps-surface-private.h src/cairo-quartz-private.h src/cairo-region-private.h src/cairo-scaled-font-private.h src/cairo-surface-private.h src/cairo-svg-surface-private.h src/cairo-type1-private.h src/cairo-types-private.h src/cairo-wideint-private.h src/cairo-xlib-surface-private.h src/Makefile.am
Adrian Johnson
ajohnson at redneon.com
Thu Aug 23 06:26:12 PDT 2007
Behdad Esfahbod wrote:
> New commits:
> diff-tree 735757a17a7c72f8598c8958b600daad941a0431 (from bfdc3b6642a36a7728f82ae87de83244d86ba29e)
> Author: Behdad Esfahbod <behdad at behdad.org>
> Date: Wed Aug 22 02:58:37 2007 -0400
>
> [Makefile.am] Add target sparse to run sparse static source code analyzer
>
> There are still some bits not quite working.
The above commit has caused make check to fail to compile. The compiler
output is:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I. -I../pixman/src
-I../src -I../src -I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/include/libpng12 -I/usr/include/pixman-1 -Wall -Wextra
-Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum
-Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self
-Wunsafe-loop-optimizations -Wdeclaration-after-statement
-Wold-style-definition -Wno-missing-field-initializers
-Wno-unused-parameter -Wno-attributes -fno-strict-aliasing -g -O2 -MT
cairo-boilerplate.lo -MD -MP -MF .deps/cairo-boilerplate.Tpo -c
cairo-boilerplate.c -fPIC -DPIC -o .libs/cairo-boilerplate.o
In file included from ../src/cairoint.h:236,
from ../src/cairo-types-private.h:41,
from cairo-boilerplate.c:64:
../src/cairo-cache-private.h:98: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../src/cairo-cache-private.h:104: error: expected ')' before '*' token
../src/cairo-cache-private.h:107: error: expected ')' before '*' token
../src/cairo-cache-private.h:110: error: expected ')' before '*' token
../src/cairo-cache-private.h:113: error: expected ')' before '*' token
../src/cairo-cache-private.h:118: error: expected ')' before '*' token
../src/cairo-cache-private.h:122: error: expected ')' before '*' token
In file included from ../src/cairo-types-private.h:41,
from cairo-boilerplate.c:64:
../src/cairoint.h:409: error: expected ')' before '*' token
../src/cairoint.h:412: error: expected ')' before '*' token
../src/cairoint.h:416: error: expected ')' before '*' token
../src/cairoint.h:419: error: expected ')' before '*' token
../src/cairoint.h:422: error: expected ')' before '*' token
../src/cairoint.h:425: error: expected ')' before '*' token
../src/cairoint.h:428: error: expected ')' before '*' token
../src/cairoint.h:433: error: expected ')' before '*' token
../src/cairoint.h:438: error: expected ')' before '*' token
../src/cairoint.h:441: error: expected ')' before '*' token
../src/cairoint.h:444: error: expected ')' before '*' token
../src/cairoint.h:447: error: expected ')' before '*' token
../src/cairoint.h:450: error: expected ')' before '*' token
../src/cairoint.h:453: error: expected ')' before '*' token
../src/cairoint.h:456: error: expected ')' before '*' token
../src/cairoint.h:460: error: expected ')' before '*' token
../src/cairoint.h:475: error: expected specifier-qualifier-list before
'cairo_hash_entry_t'
In file included from ../src/cairoint.h:495,
from ../src/cairo-types-private.h:41,
from cairo-boilerplate.c:64:
../src/cairo-scaled-font-private.h:78: error: expected
specifier-qualifier-list before 'cairo_hash_entry_t'
In file included from ../src/cairo-types-private.h:41,
from cairo-boilerplate.c:64:
../src/cairoint.h:499: error: expected specifier-qualifier-list before
'cairo_hash_entry_t'
In file included from ../src/cairoint.h:908,
from ../src/cairo-types-private.h:41,
from cairo-boilerplate.c:64:
../src/cairo-surface-private.h:46: error: expected ':', ',', ';', '}' or
'__attribute__' before '*' token
In file included from ../src/cairo-types-private.h:41,
from cairo-boilerplate.c:64:
../src/cairoint.h:927: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'cairo_image_surface_backend'
../src/cairoint.h:961: error: expected specifier-qualifier-list before
'cairo_user_data_array_t'
../src/cairoint.h:1133: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../src/cairoint.h:1444: warning: type defaults to 'int' in declaration
of 'cairo_font_face_backend_t'
../src/cairoint.h:1444: error: expected ';', ',' or ')' before '*' token
../src/cairoint.h:1604: warning: type defaults to 'int' in declaration
of 'cairo_scaled_font_backend_t'
../src/cairoint.h:1604: error: expected ';', ',' or ')' before '*' token
../src/cairoint.h:1717: warning: type defaults to 'int' in declaration
of 'cairo_surface_backend_t'
../src/cairoint.h:1717: error: expected ';', ',' or ')' before '*' token
../src/cairoint.h:1888: error: expected declaration specifiers or '...'
before 'cairo_clip_t'
In file included from ../src/cairoint.h:2457,
from ../src/cairo-types-private.h:41,
from cairo-boilerplate.c:64:
../src/cairo-hash-private.h:60: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../src/cairo-hash-private.h:64: error: expected ')' before '*' token
../src/cairo-hash-private.h:67: error: expected ')' before '*' token
../src/cairo-hash-private.h:72: error: expected ')' before '*' token
../src/cairo-hash-private.h:76: error: expected ')' before '*' token
../src/cairo-hash-private.h:80: error: expected ')' before '*' token
../src/cairo-hash-private.h:84: error: expected ')' before '*' token
cairo-boilerplate.c:77: error: nested redefinition of 'enum
cairo_internal_surface_type'
cairo-boilerplate.c:77: error: redeclaration of 'enum
cairo_internal_surface_type'
cairo-boilerplate.c:78: error: redeclaration of enumerator
'CAIRO_INTERNAL_SURFACE_TYPE_META'
../src/cairoint.h:329: error: previous definition of
'CAIRO_INTERNAL_SURFACE_TYPE_META' was here
cairo-boilerplate.c:79: error: redeclaration of enumerator
'CAIRO_INTERNAL_SURFACE_TYPE_PAGINATED'
../src/cairoint.h:330: error: previous definition of
'CAIRO_INTERNAL_SURFACE_TYPE_PAGINATED' was here
cairo-boilerplate.c:80: error: redeclaration of enumerator
'CAIRO_INTERNAL_SURFACE_TYPE_ANALYSIS'
../src/cairoint.h:331: error: previous definition of
'CAIRO_INTERNAL_SURFACE_TYPE_ANALYSIS' was here
cairo-boilerplate.c:81: error: redeclaration of enumerator
'CAIRO_INTERNAL_SURFACE_TYPE_TEST_META'
../src/cairoint.h:332: error: previous definition of
'CAIRO_INTERNAL_SURFACE_TYPE_TEST_META' was here
cairo-boilerplate.c:82: error: redeclaration of enumerator
'CAIRO_INTERNAL_SURFACE_TYPE_TEST_FALLBACK'
../src/cairoint.h:333: error: previous definition of
'CAIRO_INTERNAL_SURFACE_TYPE_TEST_FALLBACK' was here
cairo-boilerplate.c:84: error: redeclaration of enumerator
'CAIRO_INTERNAL_SURFACE_TYPE_TEST_PAGINATED'
../src/cairoint.h:335: error: previous definition of
'CAIRO_INTERNAL_SURFACE_TYPE_TEST_PAGINATED' was here
cairo-boilerplate.c:84: error: redefinition of typedef
'cairo_internal_surface_type_t'
../src/cairoint.h:335: error: previous declaration of
'cairo_internal_surface_type_t' was here
cairo-boilerplate.c: In function
'cairo_boilerplate_scaled_font_set_max_glyphs_cached':
cairo-boilerplate.c:458: error: 'cairo_scaled_font_t' has no member
named 'glyphs'
make[4]: *** [cairo-boilerplate.lo] Error 1
More information about the cairo
mailing list