harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov" <alexei.zakha...@gmail.com>
Subject Re: [classlib][build] compiler error with Visual Studio 2005
Date Wed, 02 May 2007 13:29:44 GMT
Hi Naveen,

MSVS 2005 is not currently supported on Win32. However, this task is
in TODO list. Currently supported configurations are:
- MSVS 2003 on win32
- MSVS 2005 on *win64*
So if you find the way to build working Harmony snapshot using MSVS
2005 on win32 it will be really cool.

Regards,

2007/5/1, Naveen Neelakantam <neelakan@uiuc.edu>:
> updated subject line
>
> On Apr 30, 2007, at 8:57 PM, Naveen Neelakantam wrote:
>
> > I am seeing the following error whenever trying to build the
> > classlib using Visual Studio 2005 on 32-bit Windows XP.  I realize
> > that VS2003 is the "recommended" SDK, but I don't have access to it.
> >
> > I tried adding "#define _CRT_SECURE_NO_DEPRECATE 1" to strhelp.c,
> > but that didn't help.  Has anyone else seen this?
> >
> > Naveen
> >
> > -build-native:
> >      [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS
> > -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95 -
> > D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -
> > DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400  -D_DLL -D_MT -
> > D_WINSOCKAPI_   /IC:\Sandbox\Harmony\trunk\working_classlib\deploy
> > \include /IC:\Sandbox\Harmony\trunk\working_classlib\deploy\jdk
> > \include /I. /I..\shared\ -Fo..\shared\strhelp.obj ..\shared\strhelp.c
> >      [exec] strhelp.c
> >      [exec] ..\shared\strhelp.c(73) : error C2220: warning treated
> > as error - no 'object' file generated
> >      [exec] ..\shared\strhelp.c(73) : warning C4996: 'strcat' was
> > declared deprecated
> >      [exec]         C:\Program Files\Microsoft Visual Studio 8\VC
> > \INCLUDE\string.h(78) : see declaration of 'strcat'
> >      [exec]         Message: 'This function or variable may be
> > unsafe. Consider using strcat_s instead. To disable deprecation,
> > use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
> >      [exec] NMAKE : fatal error U1077: '"C:\Program Files\Microsoft
> > Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
> >      [exec] Stop.


-- 
Alexei Zakharov,
Intel ESSD

Mime
View raw message