We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1556

Summary: Compilation fails on Mac OsX 10.7 with Xcode4.3
Product: SDL Reporter: Pallav Nawani <pallavnawani>
Component: hapticAssignee: Edgar Simo <bobbens>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: jorgen
Version: HG 2.0Keywords: target-2.0.0
Hardware: x86   
OS: Mac OS X 10.7   

Description Pallav Nawani 2012-07-25 00:07:13 UTC
SDL_syshaptic.h:
In the function FFStrError(HRESULT err),

While compiling SDL Framework I get the error:
Overflow converting case value to switch condition.

Replacing switch statement with a bunch of if-else-if statements solves this.

and in SDL_x11xinput2.h, line 34 I get the error:
Typedef redefinition with different types ('struct XGenericEventCookie' vs 'struct XGenericEventCookie' (aka 'XGenericEventCookie'))

Deleting the Typedef will solve the error.
Comment 1 Ryan C. Gordon 2013-07-12 22:15:49 UTC
(Sorry if you get a lot of copies of this email, we're touching dozens of bug reports right now.)

Tagging a bunch of bugs as target-2.0.0, Priority 2.

This means we're in the final stretch for an official SDL 2.0.0 release! These are the bugs we really want to fix before shipping if humanly possible.

That being said, we don't promise to fix them because of this tag, we just want to make sure we don't forget to deal with them before we bless a final 2.0.0 release, and generally be organized about what we're aiming to ship.

Hopefully you'll hear more about this bug soon. If you have more information (including "this got fixed at some point, nevermind"), we would love to have you come add more information to the bug report when you have a moment.

Thanks!
--ryan.
Comment 2 (disabled) Jørgen Tjernø 2013-07-14 17:53:10 UTC
Duplicate.

*** This bug has been marked as a duplicate of bug 1445 ***