Bug 7858 - build fails with gcc 3.2.3 because of -Wswitch-enum
Summary: build fails with gcc 3.2.3 because of -Wswitch-enum
Status: CLOSED DUPLICATE of bug 7823
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.2.2
Hardware: x86 (IA32) Linux (All)
: high minor
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-12 07:02 UTC by Christian Lohmaier
Modified: 2006-08-12 14:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.