Bug 58726

Summary: Unhandled pixman token in switch
Product: cairo Reporter: Daniel Macks <dmacks>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.8   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 68382    

Description Daniel Macks 2012-12-24 19:35:09 UTC
Building cairo-1.12.8 on OS X 10.6 against pixman-0.28.2, I get this warning:

cairo-image-surface.c: In function '_cairo_format_from_pixman_format':
cairo-image-surface.c:93: warning: enumeration value 'PIXMAN_a8r8g8b8_sRGB' not handled in switch

Appears to have been added to pixman here:

http://cgit.freedesktop.org/pixman/commit/?id=7460457f80b1482338318f0ddcdf5311659fae7b
Comment 1 Uli Schlachter 2013-09-16 11:01:33 UTC
commit 1d00550784d052e9b72b3c91d5769f771033037c
Author: Uli Schlachter <psychon@znc.in>
Date:   Sun Sep 15 14:50:20 2013 +0200

    image: Handle PIXMAN_a8r8g8b8_sRGB in switch
    
    Fixes the following compiler warning:
    
    cairo-image-surface.c: In function '_cairo_format_from_pixman_format':
    cairo-image-surface.c:93: warning: enumeration value 'PIXMAN_a8r8g8b8_sRGB' not
    handled in switch
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58726
    Signed-off-by: Uli Schlachter <psychon@znc.in>

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.