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

VS2008 errors compiling UnicowsLoader.h and fatal error in awtmsg.h

XMLWordPrintable

    • b48
    • x86
    • windows_xp
    • Not verified

      Windows compiler update project:
      Attempting a build on Windows XP using Visual Studio 2008
       
      (full build log attached as product_build.log)

      make[4]: Entering directory `/cygdrive/g/tbell/6523947/jdk/make/sun/awt'
      [... snip ...]
      C:/PROGRA~1/MICROS~1.0/VC/bin/cl -O2 -Zi -nologo -MD /D _STATIC_CPPLIB -Fdg:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/obj/OGLPaints.pdb -Fmg:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/obj/OGLPaints.map -W3 -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES -EHsc -DMLIB_NO_LIBSUNMATH -DUNICODE -D_UNICODE -EHsc -DUNICODE -D_UNICODE -DWIN32 -DIAL -D_LITTLE_ENDIAN -DWIN32 -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -Ig:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/windows/javavm/include -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/awt -I../../../src/windows/native/sun/awt -Ig:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/CClassHeaders/../../java/jvm -Ig:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/obj -I../../../src/share/native/common -I../../../src/windows/native/sun/windows -Ic:/PROGRA~1/MICROS~1.0SD/Include -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/java2d -I../../../src/windows/native/sun/java2d -I../../../src/share/native/sun/java2d/opengl -I../../../src/windows/native/sun/java2d/d3d -I../../../src/windows/native/sun/java2d/opengl -I../../../src/windows/native/sun/java2d/windows -I../../../src/share/native/sun/font -I../../../src/share/native/sun/java2d/pipe -I../../../src/share/native/sun/dc/path -I../../../src/share/native/sun/dc/doe -I../../../src/share/native/sun/awt/debug -I../../../src/windows/native/sun/awt -I../../../src/share/native/sun/awt/medialib -DINTERNAL_BUILD -c
      [... snip ...]
      C:/PROGRA~1/MICROS~1.0/VC/bin/cl -O2 -Zi -nologo -MD /D _STATIC_CPPLIB -Fdg:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/obj/CmdIDList.pdb -Fmg:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/obj/CmdIDList.map -W3 -DD3D_OVERLOADS -EHsc -DUNICODE -D_UNICODE -DWIN32 -DIAL -D_LITTLE_ENDIAN -DWIN32 -D_X86_ -Dx86 -DWIN32_LEAN_AND_MEAN -I. -Ig:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/CClassHeaders -I../../../src/windows/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/windows/javavm/include -I../../../src/share/native/common -I../../../src/windows/native/common -I../../../src/share/native/sun/awt -I../../../src/windows/native/sun/awt -Ig:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/CClassHeaders/../../java/jvm -Ig:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/obj -I../../../src/share/native/common -I../../../src/windows/native/sun/windows -Ic:/PROGRA~1/MICROS~1.0SD/Include -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/java2d -I../../../src/windows/native/sun/java2d -I../../../src/share/native/sun/java2d/opengl -I../../../src/windows/native/sun/java2d/d3d -I../../../src/windows/native/sun/java2d/opengl -I../../../src/windows/native/sun/java2d/windows -I../../../src/share/native/sun/font -I../../../src/share/native/sun/java2d/pipe -I../../../src/share/native/sun/dc/path -I../../../src/share/native/sun/dc/doe -I../../../src/share/native/sun/awt/debug -I../../../src/windows/native/sun/awt -I../../../src/share/native/sun/awt/medialib -DINTERNAL_BUILD -c -Fog:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/obj/CmdIDList.obj ../../../src/windows/native/sun/windows/CmdIDList.cpp
      CmdIDList.cpp
      g:\tbell\6523947\jdk\src\windows\native\sun\windows\UnicowsLoader.h(163) : warning C4005: '_wstat' : macro redefinition
              C:\PROGRA~1\MICROS~1.0\VC\INCLUDE\wchar.h(579) : see previous definition of '_wstat'
      g:\tbell\6523947\jdk\src\windows\native\sun\windows\UnicowsLoader.h(164) : warning C4005: '_wstati64' : macro redefinition
              C:\PROGRA~1\MICROS~1.0\VC\INCLUDE\wchar.h(580) : see previous definition of '_wstati64'
      g:\tbell\6523947\jdk\src\windows\native\sun\windows\UnicowsLoader.h(173) : warning C4005: '_wfindfirst' : macro redefinition
              C:\PROGRA~1\MICROS~1.0\VC\INCLUDE\wchar.h(143) : see previous definition of '_wfindfirst'
      g:\tbell\6523947\jdk\src\windows\native\sun\windows\UnicowsLoader.h(175) : warning C4005: '_wfindnext' : macro redefinition
              C:\PROGRA~1\MICROS~1.0\VC\INCLUDE\wchar.h(144) : see previous definition of '_wfindnext'
      g:\tbell\6523947\jdk\src\windows\native\sun\windows\awtmsg.h(193) : fatal error C1189: #error : Unexpected value of WM_MOUSELAST
      make[4]: *** [g:/tbell/6523947/build/windows-i586/tmp/sun/sun.awt/awt/obj/CmdIDList.obj] Error 2
      make[4]: Leaving directory `/cygdrive/g/tbell/6523947/jdk/make/sun/awt'
      make[3]: *** [all] Error 1
      make[3]: Leaving directory `/cygdrive/g/tbell/6523947/jdk/make/sun'
      make[2]: *** [all] Error 1
      make[2]: Leaving directory `/cygdrive/g/tbell/6523947/jdk/make'
      make[1]: *** [jdk-build] Error 2
      make[1]: Leaving directory `/cygdrive/g/tbell/6523947'
      make: *** [product_build] Error 2

            art Artem Ananiev (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: