Seems this commit is the cause, at least r542961 works for me, but r542962
doesn't.
r542962: Patch for HARMONY-3054 "[classlib][archive] EUT intermittently fail
in org.eclipse.jdt.core.tests.compiler.parser.TestAll"
2007/5/31, Yang Paulex <[EMAIL PROTECTED]>:
Hi, All
I failed to rebuild Harmony natives from tomorrow morning, but I'm not
sure yet from which revision it started to fail, because I generally doesn't
rebuild all classlib trunk.
Step to reproduce:
cd <classlib working copy>
ant clean-native
ant build-native
error messages look like:
" ....
[exec] cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -
FIsehmap.h -D_X
86_=1 -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM
-D_WI
N32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400 -D_DLL -D_MT
-D_WI
NSOCKAPI_
/ID:\projects\harmony\subversion\working_classlib\deploy\include /ID
:\projects\harmony\subversion\working_classlib\deploy\jdk\include /I.
/I..\share
d\ /Icommon /I..\..\zlib_dist /I..\..\include\shared
-Fo..\shared\jarfile.obj .
.\shared\jarfile.c
[exec] jarfile.c
[exec] ..\shared\jarfile.c(94) : error C2220: warning treated as
error - no
object file generated
[exec] ..\shared\jarfile.c(94) : warning C4005: 'MAX_PATH' : macro
redefini
tion
[exec] C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\Platf
ormSDK\Include\WinDef.h(52) : see previous definition of 'MAX_PATH'
[exec] NMAKE : fatal error U1077: 'cl' : return code '0x2'
[exec] Stop."
Anyone others saw similar errors?
Environment:
IA32
WinXP SP2
VS2003
It cannot be reproduced in Linux.IA32
--
Paulex Yang
China Software Development laboratory
IBM
--
Paulex Yang
China Software Development laboratory
IBM