- 
    Bug 
- 
    Resolution: Duplicate
- 
     P4 P4
- 
    None
- 
    9
- 
    None
- 
    Mac OS X 10.10.3 with Xcode 6.3.1 
                    # make images
Building target 'images' in configuration 'macosx-x86_64-normal-server-fastdebug'
Updating libawt.dylib from 1 file(s)
Updating libsplashscreen.dylib from 1 file(s)
/Volumes/Work/current/jdks/jdk9/jdk/src/java.desktop/share/native/libawt/awt/image/awt_parseImage.c:856:33: error: comparison of array 'rasterP->sppsm.offsets' not equal to a null pointer is always true [-Werror,-Wtautological-pointer-compare]
else if (rasterP->sppsm.offsets != NULL) {
~~~~~~~~~~~~~~~^~~~~~~ ~~~~
1 error generated.
make[3]: *** [/Volumes/Work/current/jdks/jdk9/build/macosx-x86_64-normal-server-fastdebug/support/native/java.desktop/libawt/awt_parseImage.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [java.desktop-libs] Error 2
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
            
Building target 'images' in configuration 'macosx-x86_64-normal-server-fastdebug'
Updating libawt.dylib from 1 file(s)
Updating libsplashscreen.dylib from 1 file(s)
/Volumes/Work/current/jdks/jdk9/jdk/src/java.desktop/share/native/libawt/awt/image/awt_parseImage.c:856:33: error: comparison of array 'rasterP->sppsm.offsets' not equal to a null pointer is always true [-Werror,-Wtautological-pointer-compare]
else if (rasterP->sppsm.offsets != NULL) {
~~~~~~~~~~~~~~~^~~~~~~ ~~~~
1 error generated.
make[3]: *** [/Volumes/Work/current/jdks/jdk9/build/macosx-x86_64-normal-server-fastdebug/support/native/java.desktop/libawt/awt_parseImage.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [java.desktop-libs] Error 2
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
 
-