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 5160 - Changeset a8f431812db7 broke compile for real iOS device
Summary: Changeset a8f431812db7 broke compile for real iOS device
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: 2.0.13
Hardware: iPhone/iPod touch iOS (All)
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-26 18:14 UTC by Dominik Reichardt
Modified: 2020-05-29 22:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Reichardt 2020-05-26 18:14:30 UTC
Latest changeset broke compilation for real iOS devices on Xcode while compiling for the iOS simulator continues to work.

All the new "goto error;" in SDL_render_metal.m produce the Xcode error 
"Cannot jump from this goto statement to its label"

Full error output

Semantic Issue Group/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1638:9: Cannot jump from this goto statement to its label/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1775:31: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1774:26: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1770:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1766:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1745:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1731:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1691:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1686:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1682:27: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1669:20: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1668:21: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1664:14: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1659:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1626:9: Cannot jump from this goto statement to its label/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1775:31: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1774:26: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1770:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1766:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1745:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1731:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1691:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1686:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1682:27: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1669:20: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1668:21: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1664:14: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1659:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1616:9: Cannot jump from this goto statement to its label/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1775:31: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1774:26: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1770:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1766:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1745:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1731:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1691:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1686:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1682:27: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1669:20: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1668:21: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1664:14: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1659:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1607:9: Cannot jump from this goto statement to its label/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1775:31: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1774:26: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1770:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1766:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1745:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1731:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1691:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1686:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1682:27: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1669:20: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1668:21: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1664:14: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1659:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1600:13: Cannot jump from this goto statement to its label/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1775:31: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1774:26: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1770:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1766:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1745:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1731:19: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1691:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1686:25: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1682:27: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1669:20: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1668:21: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1664:14: Jump bypasses initialization of __strong variable/Users/USERNAME/Code/Merc/SDL/src/render/metal/SDL_render_metal.m:1659:25: Jump bypasses initialization of __strong variable
Comment 1 Sam Lantinga 2020-05-29 22:46:34 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/77d296143fe8