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 1835 - Fix framework compile on XCode 3.1 / PPC / Altivec
Summary: Fix framework compile on XCode 3.1 / PPC / Altivec
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: PowerPC Mac OS X 10.5 (PPC)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-03 00:51 UTC by Kevin Shanahan
Modified: 2013-05-04 05:48 UTC (History)
0 users

See Also:


Attachments
Patch to fix os x ppc compile error (1.23 KB, application/octet-stream)
2013-05-03 00:51 UTC, Kevin Shanahan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Shanahan 2013-05-03 00:51:27 UTC
Created attachment 1127 [details]
Patch to fix os x ppc compile error

Build fails for me on XCode 3.1 PPC due to undef of vector in SDL_cocoavideo.m and SDL_cocoamessagebox.m.  gcc is called with -faltivec, which triggers the builtin altivec types and doesn't use altivec.h.

Attached patch fixes this compile error for me.
Comment 1 Sam Lantinga 2013-05-04 05:48:31 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/e1896b95a8a7