Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8035287

gcc warnings compiling various libraries files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
      None
    • Resolved In Build:
      b06
    • CPU:
      x86
    • OS:
      linux

      Description

      jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp:456:1: warning: missing initializer for member ‘band_init::defc’ [-Wmissing-field-initializers]
      jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp:456:1: warning: missing initializer for member ‘band_init::index’ [-Wmissing-field-initializers]
      jdk/src/share/native/sun/java2d/opengl/OGLContext.c:1058:9: warning: implicit declaration of function ‘jio_snprintf’ [-Wimplicit-function-declaration]
      jdk/src/solaris/native/sun/awt/awt_Font.c:503:50: warning: comparison with string literal results in unspecified behavior [-Waddress]
      jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c:270:1: warning: type defaults to ‘int’ in declaration of ‘getAwtLockFunctions_type’ [-Wimplicit-int]
      jdk/src/solaris/native/sun/awt/awt_LoadLibrary.c:276:1: warning: type defaults to ‘int’ in declaration of ‘getAwtData_type’ [-Wimplicit-int]
      jdk/src/solaris/native/sun/java2d/x11/X11SurfaceData.c:513:17: warning: assignment makes integer from pointer without a cast [enabled by default]
      jdk/src/solaris/native/sun/xawt/XToolkit.c:702:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘uint32_t’ [-Wformat]

        Activity

        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/b97e0a836dc0
        User: prr
        Date: 2014-02-19 02:19:20 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/b97e0a836dc0 User: prr Date: 2014-02-19 02:19:20 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b97e0a836dc0
        User: lana
        Date: 2014-03-25 20:49:04 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/b97e0a836dc0 User: lana Date: 2014-03-25 20:49:04 +0000

          People

          • Assignee:
            mikael Mikael Vidstedt
            Reporter:
            mikael Mikael Vidstedt
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: