Bug 58726 - Unhandled pixman token in switch
Summary: Unhandled pixman token in switch
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.12.8
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cairo-1.14
  Show dependency treegraph
 
Reported: 2012-12-24 19:35 UTC by Daniel Macks
Modified: 2013-09-16 11:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.