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

awt_PopupMenu.cpp is causing troubles during the VC7 build

XMLWordPrintable

    • b39
    • generic
    • generic

      We getting the below error during the fastdebug build in the j2se workspace.
      We have the same issue with awt_Window.cpp as well.

      awt_PopupMenu.cpp
      awt_PopupMenu.cpp
      ../../../src\windows\native\sun\windows\awt_PopupMenu.cpp(272) : error C2220: wa
      rning treated as error - no object file generated
      ../../../src\windows\native\sun\windows\awt_PopupMenu.cpp(272) : warning C4345:
      behavior change: an object of POD type constructed with an initializer of the fo
      rm () will be default-initialized
      make[6]: *** [c:/b38/control/build/windows-i586-fastdebug/tmp/sun/sun.awt/awt/ob
      j/awt_PopupMenu.obj] Error 2
      make[6]: Leaving directory `/cygdrive/c/b38/j2se/make/sun/awt'
      make[5]: *** [all] Error 1
      make[5]: Leaving directory `/cygdrive/c/b38/j2se/make/sun'
      make[4]: *** [all] Error 1
      make[4]: Leaving directory `/cygdrive/c/b38/j2se/make'
      make[3]: *** [j2se-build] Error 2
      make[3]: Leaving directory `/cygdrive/c/b38/control/make'
      make[2]: *** [generic_debug_build] Error 2
      make[2]: Leaving directory `/cygdrive/c/b38/control/make'
      make[1]: *** [fastdebug_build] Error 2
      make[1]: Leaving directory `/cygdrive/c/b38/control/make'
      make: *** [scsl-build] Error 2
      ###@###.### 2005-06-01 18:32:54 GMT
      ###@###.### 2005-06-01 20:07:34 GMT

      awt_Window.cpp
      ../../../src\windows\native\sun\windows\awt_Window.cpp(1930) : error C2220: warn
      ing treated as error - no object file generated
      ../../../src\windows\native\sun\windows\awt_Window.cpp(1930) : warning C4345: be
      havior change: an object of POD type constructed with an initializer of the form
      () will be default-initialized
      ../../../src\windows\native\sun\windows\awt_Window.cpp(1954) : warning C4345: be
      havior change: an object of POD type constructed with an initializer of the form
      () will be default-initialized
      make[6]: *** [c:/b38/control/build/windows-i586-fastdebug/tmp/sun/sun.awt/awt/ob
      j/awt_Window.obj] Error 2
      make[6]: Leaving directory `/cygdrive/c/b38/j2se/make/sun/awt'
      make[5]: *** [all] Error 1
      make[5]: Leaving directory `/cygdrive/c/b38/j2se/make/sun'
      make[4]: *** [all] Error 1
      make[4]: Leaving directory `/cygdrive/c/b38/j2se/make'
      make[3]: *** [j2se-build] Error 2
      make[3]: Leaving directory `/cygdrive/c/b38/control/make'
      make[2]: *** [generic_debug_build] Error 2
      make[2]: Leaving directory `/cygdrive/c/b38/control/make'
      make[1]: *** [fastdebug_build] Error 2
      make[1]: Leaving directory `/cygdrive/c/b38/control/make'
      make: *** [scsl-build] Error 2

      ###@###.### 2005-06-01 20:07:53 GMT

            vjayaramsunw Vijayan Jayaraman (Inactive)
            vjayaramsunw Vijayan Jayaraman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: