Mercurial > sdl-ios-xcode
view Xcode-iPhoneOS/Test/README @ 3413:4b1f10cfd304
Adam Strzelecki to SDL
When using deployment in Xcode we use 10.4 SDK for PPC & i386 and 10.6 SDK for x86_64 unfortunately MAC_OS_X_VERSION_10_6 is defined only in 10.6 SDK, in older SDKs it is undefined which makes >= comparison return always TRUTH, so the GCC complains about undefined <NSWindowDelegate>, even if the original intention was to omit <NSWindowDelegate> on older SDKs.
Solution, don't relay on MAC_OS_X_VERSION_10_6 but use OSX revision number 1060 directly as SDL does in many other places.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 23 Oct 2009 03:58:23 +0000 |
parents | 20326ba2bda2 |
children |
line wrap: on
line source
TestiPhoneOS.xcodeproj contains targets to compile many of the SDL test programs for iPhone OS. Most of these test programs work fine, with the following exceptions: testalpha: Program crashes. Problem appears to effect Mac OS X as well. testhread: SIGTERM kills the process immediately without executing the 'kill' function. The posix standard says this shouldn't happen. Apple seems intent on having iPhone apps exit promptly when the user requests it, so maybe that's why(?) testlock: Locks appear to work, but there doesn't appear to be a simple way to send the process SIGINT. testpalette: "SDL error: blitting boat: Blit combination not supported." Happens on Mac OS X as well. testsprite2: SDL_CreateTextureFromSurface requests an ARGB pixel format, but iPhone's SDL video driver only supports ABGR. testwin: Behaves as it does under Mac OS X ... not sure if that is correctly or not. threadwin: Works if -threaded is not on. Otherwise it doesn't work, but this is true under Mac OS X as well.