Changes between Version 7 and Version 8 of Ticket #52210, comment 9


Ignore:
Timestamp:
Nov 2, 2016, 12:05:03 PM (8 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52210, comment 9

    v7 v8  
    239239data->screensaver_use_iopm = false;
    240240}}}
     241
     242The fun continues:
     243{{{
     244  CC     build/SDL_cocoawindow.lo
     245/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:26:3: error: SDL for Mac OS X must be built with a 10.7 SDK or above.
     246# error SDL for Mac OS X must be built with a 10.7 SDK or above.
     247  ^
     248/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:56:34: error: cannot find protocol declaration for 'NSDraggingDestination'
     249@interface SDLWindow : NSWindow <NSDraggingDestination>
     250                                 ^
     251/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:287:93: error: use of undeclared identifier 'NSWindowDidChangeBackingPropertiesNotification'; did you mean 'NSWindowDidChangeScreenProfileNotification'?
     252        [center addObserver:self selector:@selector(windowDidChangeBackingProperties:) name:NSWindowDidChangeBackingPropertiesNotification object:window];
     253                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     254                                                                                            NSWindowDidChangeScreenProfileNotification
     255/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:726:25: note: 'NSWindowDidChangeScreenProfileNotification' declared here
     256APPKIT_EXTERN NSString *NSWindowDidChangeScreenProfileNotification  AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
     257                        ^
     258/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:288:86: error: use of undeclared identifier 'NSWindowWillEnterFullScreenNotification'
     259        [center addObserver:self selector:@selector(windowWillEnterFullScreen:) name:NSWindowWillEnterFullScreenNotification object:window];
     260                                                                                     ^
     261/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:289:85: error: use of undeclared identifier 'NSWindowDidEnterFullScreenNotification'; did you mean 'NSWindowDidChangeScreenNotification'?
     262        [center addObserver:self selector:@selector(windowDidEnterFullScreen:) name:NSWindowDidEnterFullScreenNotification object:window];
     263                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     264                                                                                    NSWindowDidChangeScreenNotification
     265/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:712:25: note: 'NSWindowDidChangeScreenNotification' declared here
     266APPKIT_EXTERN NSString *NSWindowDidChangeScreenNotification;
     267                        ^
     268/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:290:85: error: use of undeclared identifier 'NSWindowWillExitFullScreenNotification'
     269        [center addObserver:self selector:@selector(windowWillExitFullScreen:) name:NSWindowWillExitFullScreenNotification object:window];
     270                                                                                    ^
     271/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:291:84: error: use of undeclared identifier 'NSWindowDidExitFullScreenNotification'; did you mean 'NSWindowDidChangeScreenNotification'?
     272        [center addObserver:self selector:@selector(windowDidExitFullScreen:) name:NSWindowDidExitFullScreenNotification object:window];
     273                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     274                                                                                   NSWindowDidChangeScreenNotification
     275/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:712:25: note: 'NSWindowDidChangeScreenNotification' declared here
     276APPKIT_EXTERN NSString *NSWindowDidChangeScreenNotification;
     277                        ^
     278/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:382:37: error: use of undeclared identifier 'NSWindowCollectionBehaviorFullScreenPrimary'; did you mean 'NSWindowCollectionBehaviorStationary'?
     279    [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
     280                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     281                                    NSWindowCollectionBehaviorStationary
     282/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:96:2: note: 'NSWindowCollectionBehaviorStationary' declared here
     283 NSWindowCollectionBehaviorStationary = 1 << 4,         // unaffected by exposé.  Stays visible and stationary, like desktop window
     284 ^
     285/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:418:42: error: use of undeclared identifier 'NSWindowDidChangeBackingPropertiesNotification'; did you mean 'NSWindowDidChangeScreenProfileNotification'?
     286        [center removeObserver:self name:NSWindowDidChangeBackingPropertiesNotification object:window];
     287                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     288                                         NSWindowDidChangeScreenProfileNotification
     289/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:726:25: note: 'NSWindowDidChangeScreenProfileNotification' declared here
     290APPKIT_EXTERN NSString *NSWindowDidChangeScreenProfileNotification  AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER;
     291                        ^
     292/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:419:42: error: use of undeclared identifier 'NSWindowWillEnterFullScreenNotification'
     293        [center removeObserver:self name:NSWindowWillEnterFullScreenNotification object:window];
     294                                         ^
     295/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:420:42: error: use of undeclared identifier 'NSWindowDidEnterFullScreenNotification'; did you mean 'NSWindowDidChangeScreenNotification'?
     296        [center removeObserver:self name:NSWindowDidEnterFullScreenNotification object:window];
     297                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     298                                         NSWindowDidChangeScreenNotification
     299/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:712:25: note: 'NSWindowDidChangeScreenNotification' declared here
     300APPKIT_EXTERN NSString *NSWindowDidChangeScreenNotification;
     301                        ^
     302/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:421:42: error: use of undeclared identifier 'NSWindowWillExitFullScreenNotification'
     303        [center removeObserver:self name:NSWindowWillExitFullScreenNotification object:window];
     304                                         ^
     305/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:422:42: error: use of undeclared identifier 'NSWindowDidExitFullScreenNotification'; did you mean 'NSWindowDidChangeScreenNotification'?
     306        [center removeObserver:self name:NSWindowDidExitFullScreenNotification object:window];
     307                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     308                                         NSWindowDidChangeScreenNotification
     309/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:712:25: note: 'NSWindowDidChangeScreenNotification' declared here
     310APPKIT_EXTERN NSString *NSWindowDidChangeScreenNotification;
     311                        ^
     312/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:626:65: error: use of undeclared identifier 'NSBackingPropertyOldScaleFactorKey'
     313    NSNumber *oldscale = [[aNotification userInfo] objectForKey:NSBackingPropertyOldScaleFactorKey];
     314                                                                ^
     315/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:632:52: warning: instance method '-backingScaleFactor' not found (return type defaults to 'id') [-Wobjc-method-access]
     316    if ([oldscale doubleValue] != [_data->nswindow backingScaleFactor]) {
     317                                                   ^~~~~~~~~~~~~~~~~~
     318/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:156:12: note: receiver is instance of class declared here
     319@interface NSWindow : NSResponder
     320           ^
     321/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:632:32: error: invalid operands to binary expression ('double' and 'id')
     322    if ([oldscale doubleValue] != [_data->nswindow backingScaleFactor]) {
     323        ~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     324/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:740:45: error: use of undeclared identifier 'NSWindowCollectionBehaviorFullScreenPrimary'; did you mean 'NSWindowCollectionBehaviorStationary'?
     325            [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
     326                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     327                                            NSWindowCollectionBehaviorStationary
     328/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:96:2: note: 'NSWindowCollectionBehaviorStationary' declared here
     329 NSWindowCollectionBehaviorStationary = 1 << 4,         // unaffected by exposé.  Stays visible and stationary, like desktop window
     330 ^
     331/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:764:16: error: use of undeclared identifier 'NSApplicationPresentationFullScreen'
     332        return NSApplicationPresentationFullScreen | NSApplicationPresentationHideDock | NSApplicationPresentationHideMenuBar;
     333               ^
     334/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:1255:51: error: use of undeclared identifier 'NSAppKitVersionNumber10_6'; did you mean 'NSAppKitVersionNumber'?
     335        SDL_assert(floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_6);
     336                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
     337                                                  NSAppKitVersionNumber
     338include/SDL_assert.h:167:54: note: expanded from macro 'SDL_assert'
     339#   define SDL_assert(condition) SDL_disabled_assert(condition)
     340                                                     ^
     341include/SDL_assert.h:98:26: note: expanded from macro 'SDL_disabled_assert'
     342    do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION)
     343                         ^
     344/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:21:28: note: 'NSAppKitVersionNumber' declared here
     345APPKIT_EXTERN const double NSAppKitVersionNumber;
     346                           ^
     347/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:1260:45: error: use of undeclared identifier 'NSWindowCollectionBehaviorFullScreenPrimary'; did you mean 'NSWindowCollectionBehaviorStationary'?
     348            [nswindow setCollectionBehavior:NSWindowCollectionBehaviorFullScreenPrimary];
     349                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     350                                            NSWindowCollectionBehaviorStationary
     351/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:96:2: note: 'NSWindowCollectionBehaviorStationary' declared here
     352 NSWindowCollectionBehaviorStationary = 1 << 4,         // unaffected by exposé.  Stays visible and stationary, like desktop window
     353 ^
     354/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:1271:26: warning: instance method '-setWantsBestResolutionOpenGLSurface:' not found (return type defaults to 'id') [-Wobjc-method-access]
     355            [contentView setWantsBestResolutionOpenGLSurface:YES];
     356                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     357/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5/src/video/cocoa/SDL_cocoawindow.m:1067:12: note: receiver is instance of class declared here
     358@interface SDLView : NSView {
     359           ^
     3602 warnings and 19 errors generated.
     361make: *** [build/SDL_cocoawindow.lo] Error 1
     362make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5'
     363Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.5" && /usr/bin/make -w all
     364Exit code: 2
     365}}}
     366starting from `src/video/cocoa/SDL_cocoawindow.m` at
     367{{{
     368#!objc
     369#if MAC_OS_X_VERSION_MAX_ALLOWED < 1070
     370# error SDL for Mac OS X must be built with a 10.7 SDK or above.
     371#endif /* MAC_OS_X_VERSION_MAX_ALLOWED < 1070 */
     372}}}