-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
9
-
Mac OS X 10.10.3 with Xcode 6.3.1
-
os_x
/Volumes/Work/current/jdks/jdk9/jdk/src/java.desktop/macosx/native/libsplashscreen/splashscreen_sys.m:278:20: error: 'setScalesWhenResized:' is deprecated: first deprecated in OS X 10.6 [-Werror,-Wdeprecated-declarations]
[image setScalesWhenResized:YES];
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:255:1: note: 'setScalesWhenResized:' has been explicitly marked deprecated here
- (void)setScalesWhenResized:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_6);
^
1 error generated.
make[3]: *** [/Volumes/Work/current/jdks/jdk9/build/macosx-x86_64-normal-server-fastdebug/support/native/java.desktop/libsplashscreen/splashscreen_sys.o] Error 1
make[2]: *** [java.desktop-libs] Error 2
make[2]: *** Waiting for unfinished jobs....
ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-normal-server-fastdebug' (exit code 2)
Hint: If caused by a warning, try configure --disable-warnings-as-errors
make[1]: *** [main] Error 2
make: *** [images] Error 2
[image setScalesWhenResized:YES];
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:255:1: note: 'setScalesWhenResized:' has been explicitly marked deprecated here
- (void)setScalesWhenResized:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_6);
^
1 error generated.
make[3]: *** [/Volumes/Work/current/jdks/jdk9/build/macosx-x86_64-normal-server-fastdebug/support/native/java.desktop/libsplashscreen/splashscreen_sys.o] Error 1
make[2]: *** [java.desktop-libs] Error 2
make[2]: *** Waiting for unfinished jobs....
ERROR: Build failed for target 'images' in configuration 'macosx-x86_64-normal-server-fastdebug' (exit code 2)
Hint: If caused by a warning, try configure --disable-warnings-as-errors
make[1]: *** [main] Error 2
make: *** [images] Error 2
- duplicates
-
JDK-8080993 Compilation errors with recent clang in awt_parseImage.c and splashscreen_sys.m
-
- Resolved
-