Bug 10989

Summary: cairo make
Product: cairo Reporter: Lingning Zhang <lizhang>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 1.4.7   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: my patch

Description Lingning Zhang 2007-05-18 00:42:58 UTC
When I built cairo, it is failed. The messages are below:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/home/haae/lib/upstream/pango/cvs/include/freetype2 -I/home/haae/lib/upstream/pango/cvs/include -I/home/haae/lib/upstream/pango/cvs/include -I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/X11R6/include -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 -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -fno-strict-aliasing -I/home/haae/lib/upstream/pango/cvs/include -ggdb3 -Wall -MT cairo-type1-subset.lo -MD -MP -MF .deps/cairo-type1-subset.Tpo -c cairo-type1-subset.c  -fPIC -DPIC -o .libs/cairo-type1-subset.o
cairo-type1-subset.c: In function `cairo_type1_font_subset_decrypt_eexec_segment':
cairo-type1-subset.c:376: error: implicit declaration of function `isspace'
cairo-type1-subset.c:376: warning: nested extern declaration of `isspace'
cairo-type1-subset.c: In function `skip_token':
cairo-type1-subset.c:396: warning: nested extern declaration of `isspace'
cairo-type1-subset.c: At top level:
cairo-type1-subset.c:705: warning: unused parameter 'name'
cairo-type1-subset.c:705: warning: unused parameter 'name_length'
cairo-type1-subset.c: In function `cairo_type1_font_subset_for_each_glyph':
cairo-type1-subset.c:827: warning: nested extern declaration of `isspace'
make[2]: *** [cairo-type1-subset.lo] error 1
make[2]: Leaving directory `/data/Src/CVS_List/cairo/Upstream_CVS/build/cairo/src'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/data/Src/CVS_List/cairo/Upstream_CVS/build/cairo'
make: *** [all] error 2
Comment 1 Lingning Zhang 2007-05-18 00:46:35 UTC
Created attachment 10010 [details] [review]
my patch

Now It can build successfully.
Comment 2 Behdad Esfahbod 2007-05-18 08:55:42 UTC
Thanks.

refs/heads/master: 6a42ddf0f9e9e4b8dc5fa6a98ef4448f1c149789 -> 7260ee23ecb08e72a938a194e70dfb5e7a48c599

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.