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 4607 - [PATCH] Fix SDL 1.2 compilation
Summary: [PATCH] Fix SDL 1.2 compilation
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-24 19:50 UTC by Cameron Cawley
Modified: 2019-04-24 19:59 UTC (History)
0 users

See Also:


Attachments
Remove initial declaration from for loop (938 bytes, patch)
2019-04-24 19:50 UTC, Cameron Cawley
Details | Diff
Remove duplicate case value (758 bytes, patch)
2019-04-24 19:54 UTC, Cameron Cawley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Cawley 2019-04-24 19:50:46 UTC
Created attachment 3763 [details]
Remove initial declaration from for loop

This fixes a regression from https://hg.libsdl.org/SDL/rev/9b0e5c555c0f
Comment 1 Cameron Cawley 2019-04-24 19:54:42 UTC
Created attachment 3764 [details]
Remove duplicate case value

This fixes a regression from https://hg.libsdl.org/SDL/rev/4646533663ae , and seems to be the result of https://hg.libsdl.org/SDL/rev/08f3b4992538 being applied incorrectly.
Comment 2 Sam Lantinga 2019-04-24 19:59:15 UTC
Patches added, thanks!
https://hg.libsdl.org/SDL/rev/0c327f0edd70
https://hg.libsdl.org/SDL/rev/33940ce0a0ba