Bug 2353

Summary: various gcc4 compile warnings in latest changed
Product: cairo Reporter: ellson
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: jwatt
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description ellson 2005-01-21 18:24:30 UTC
cairo_pdf_surface.c: In function 'cairo_pdf_ft_font_write_generic_table':
cairo_pdf_surface.c:475: warning: pointer targets in passing argument 4 of
'FT_Load_Sfnt_Table' differ in signedness
cairo_pdf_surface.c: In function 'cairo_pdf_ft_font_write_glyf_table':
cairo_pdf_surface.c:527: warning: pointer targets in passing argument 4 of
'FT_Load_Sfnt_Table' differ in signedness
cairo_png_surface.c: In function '_cairo_png_surface_copy_page':
cairo_png_surface.c:297: warning: pointer targets in assignment differ in signedness
cairo_xlib_surface.c: In function '_cairo_xlib_surface_get_image':
cairo_xlib_surface.c:213: warning: pointer targets in passing argument 6 of
'XGetGeometry' differ in signedness
cairo_xlib_surface.c:213: warning: pointer targets in passing argument 7 of
'XGetGeometry' differ in signedness
cairo_xlib_surface.c:213: warning: pointer targets in passing argument 8 of
'XGetGeometry' differ in signedness
cairo_xlib_surface.c:213: warning: pointer targets in passing argument 9 of
'XGetGeometry' differ in signedness
cairo_xlib_surface.c: In function 'cairo_xlib_surface_create':
cairo_xlib_surface.c:807: warning: pointer targets in passing argument 4 of
'XGetGeometry' differ in signedness
cairo_xlib_surface.c:807: warning: pointer targets in passing argument 5 of
'XGetGeometry' differ in signedness
cairo_traps.c:367: warning: type qualifiers ignored on function return type
cairo_traps.c:377: warning: type qualifiers ignored on function return type
cairo_traps.c:384: warning: type qualifiers ignored on function return type
cairo_ps_surface.c: In function '_cairo_ps_surface_copy_page':
cairo_ps_surface.c:350: warning: pointer targets in passing argument 1 of
'compress' differ in signedness
cairo_ps_surface.c:350: warning: pointer targets in passing argument 2 of
'compress' differ in signedness
cairo_ps_surface.c:350: warning: pointer targets in passing argument 3 of
'compress' differ in signedness
cairo_ft_font.c: In function '_cairo_ft_font_create':
cairo_ft_font.c:622: warning: pointer targets in passing argument 3 of
'FcPatternAddString' differ in signedness
cairo_ft_font.c: In function '_utf8_to_ucs4':
cairo_ft_font.c:725: warning: pointer targets in passing argument 1 of
'FcUtf8ToUcs4' differ in signedness
cairo_ft_font.c: In function '_cairo_ft_font_text_to_glyphs':
cairo_ft_font.c:769: warning: pointer targets in passing argument 1 of
'_utf8_to_ucs4' differ in signedness
cairo_ft_font.c: In function '_cairo_ft_font_glyph_extents':
cairo_ft_font.c:861: warning: 'total_max$x' may be used uninitialized in this
function
cairo_ft_font.c:861: warning: 'total_max$y' may be used uninitialized in this
function
cairo_ft_font.c:861: warning: 'total_min$x' may be used uninitialized in this
function
cairo_ft_font.c:861: warning: 'total_min$y' may be used uninitialized in this
function
Comment 1 Carl Worth 2005-05-10 21:01:45 UTC
I switched to gcc4 personally a while back and fixed all of these warnings.
Comment 2 Carl Worth 2005-08-22 17:14:40 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.

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.