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.
| Summary: |
build fail OSX 10.6.8 |
| Product: |
SDL
|
Reporter: |
skaller <skaller> |
| Component: |
build | Assignee: |
Sam Lantinga <slouken> |
| Status: |
RESOLVED
WONTFIX
|
QA Contact: |
Sam Lantinga <slouken> |
| Severity: |
normal
|
|
|
| Priority: |
P2
|
CC: |
amaranth72, icculus
|
| Version: |
HG 2.1 | |
|
| Hardware: |
x86 | |
|
| OS: |
Mac OS X 10.6 | |
|
OSX 10.6.8 clang 3.3svn ~/SDL>make /bin/sh build-scripts/updaterev.sh CC build/SDL_cocoaopengl.lo /Users/johnskaller/SDL/src/video/cocoa/SDL_cocoaopengl.m:157:61: error: use of undeclared identifier 'NSAppKitVersionNumber10_6'; did you mean 'NSAppKitVersionNumber'? SDL_bool lion_or_later = floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6; ^~~~~~~~~~~~~~~~~~~~~~~~~ NSAppKitVersionNumber /System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:21:28: note: 'NSAppKitVersionNumber' declared here APPKIT_EXTERN const double NSAppKitVersionNumber; ^ /Users/johnskaller/SDL/src/video/cocoa/SDL_cocoaopengl.m:180:48: error: use of undeclared identifier 'NSOpenGLProfileVersionLegacy' NSOpenGLPixelFormatAttribute profile = NSOpenGLProfileVersionLegacy; ^ /Users/johnskaller/SDL/src/video/cocoa/SDL_cocoaopengl.m:182:23: error: use of undeclared identifier 'NSOpenGLProfileVersion3_2Core' profile = NSOpenGLProfileVersion3_2Core; ^ /Users/johnskaller/SDL/src/video/cocoa/SDL_cocoaopengl.m:184:21: error: use of undeclared identifier 'NSOpenGLPFAOpenGLProfile' attr[i++] = NSOpenGLPFAOpenGLProfile; ^ /Users/johnskaller/SDL/src/video/cocoa/SDL_cocoaopengl.m:341:20: warning: instance method '-convertRectToBacking:' not found (return type defaults to 'id') [-Wobjc-method-access] viewport = [contentView convertRectToBacking:viewport]; ^ ~~~~~~~~~~~~~~~~~~~~ /Users/johnskaller/SDL/src/video/cocoa/SDL_cocoaopengl.m:341:18: error: assigning to 'NSRect' (aka 'struct CGRect') from incompatible type 'id' viewport = [contentView convertRectToBacking:viewport]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 5 errors generated. make: *** [build/SDL_cocoaopengl.lo] Error 1