Bug 7858

Summary: build fails with gcc 3.2.3 because of -Wswitch-enum
Product: cairo Reporter: Christian Lohmaier <lohmaier>
Component: generalAssignee: Carl Worth <cworth>
Status: CLOSED DUPLICATE QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: minor    
Priority: high    
Version: 1.2.2   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Christian Lohmaier 2006-08-12 07:02:32 UTC
The build breaks because the flag "Wswitch-enum" is not supported by gcc 3.2.3

configure.in already contains the following remark:

dnl XXX: Here are some warnings we'd like to eanble, but it looks like
dnl we'll need to make them conditional on gcc version >= 4 or so:

So this is filed so you have a reason to implement this check :-)
Comment 1 Behdad Esfahbod 2006-08-12 13:44:17 UTC
I already fixed that this will be in the soon-to-be-released 1.2.4.

*** This bug has been marked as a duplicate of 7823 ***
Comment 2 Christian Lohmaier 2006-08-12 14:35:26 UTC
Great to see that it's already fixed - closing this one.

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.