harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1142) [classlib][build] compile error on msvc 2005
Date Thu, 15 Mar 2007 13:17:09 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Varlamov updated HARMONY-1142:
-------------------------------------

    Component/s:     (was: build - test - ci)
                 Classlib
        Summary: [classlib][build] compile error on msvc 2005  (was: compile classlib error)

> [classlib][build] compile error on msvc 2005
> --------------------------------------------
>
>                 Key: HARMONY-1142
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1142
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: windows 2003 server+ visual studio 2005+ jdk 1.5
>            Reporter: chenjianghong
>
>      [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
-Ogity
> b1 -W3 -GF -Gs -MD -Zi -Zm400  -D_DLL -D_MT -DWIN32 -D_WIN32_WINNT=0x0501 -D_WINSOCKAPI_
-DWINVER=0x0400   /IF:\OpenSource\apache.org\src\incubator\harmony\enhanced\classlib\deploy\include
/IF:\OpenSo
> urce\apache.org\src\incubator\harmony\enhanced\classlib\deploy\jdk\include /I.  /Iinclude
/I..\..\gl\windows\include  -DUNICODE -D_UNICODE -FowinFont.obj winFont.cpp
>      [exec] cl : Command line warning D9035 : option 'Og' has been deprecated and will
be removed in a future release
>      [exec] winFont.cpp
>      [exec] winFont.cpp(201) : warning C4996: 'wcscpy' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(250)
: see declaration of 'wcscpy'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
>      [exec] winFont.cpp(240) : warning C4996: '_snwprintf' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\stdio.h(450)
: see declaration of '_snwprintf'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
_snwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help
for details.'
>      [exec] winFont.cpp(242) : warning C4996: 'wcsncpy' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(270)
: see declaration of 'wcsncpy'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
>      [exec] winFont.cpp(335) : warning C4996: 'wcsncpy' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(270)
: see declaration of 'wcsncpy'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
>      [exec] winFont.cpp(378) : error C2664: 'JNIEnv_::NewString' : cannot convert parameter
1 from 'TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(432) : error C2664: 'JNIEnv_::NewString' : cannot convert parameter
1 from 'TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(470) : error C2664: 'JNIEnv_::ReleaseStringCritical' : cannot
convert parameter 2 from 'const TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(551) : error C2440: '=' : cannot convert from 'jchar *' to 'const
TCHAR *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(561) : error C2664: 'JNIEnv_::ReleaseStringCritical' : cannot
convert parameter 2 from 'const TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(682) : warning C4996: 'wcscpy' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(250)
: see declaration of 'wcscpy'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
>      [exec] winFont.cpp(684) : error C2664: 'JNIEnv_::NewString' : cannot convert parameter
1 from 'TCHAR [64]' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(717) : warning C4996: 'wcscpy' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(250)
: see declaration of 'wcscpy'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
>      [exec] winFont.cpp(719) : error C2664: 'JNIEnv_::NewString' : cannot convert parameter
1 from 'TCHAR [64]' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(759) : error C2664: 'JNIEnv_::ReleaseStringCritical' : cannot
convert parameter 2 from 'const TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(874) : error C2440: '=' : cannot convert from 'const wchar_t
*' to 'TCHAR *'
>      [exec]         Conversion loses qualifiers
>      [exec] winFont.cpp(900) : error C2664: 'JNIEnv_::NewString' : cannot convert parameter
1 from 'TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(1217) : error C2664: 'JNIEnv_::ReleaseStringCritical' : cannot
convert parameter 2 from 'TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(1402) : warning C4996: 'wcscat' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(243)
: see declaration of 'wcscat'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
wcscat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
>      [exec] winFont.cpp(1405) : warning C4996: 'wcscat' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(243)
: see declaration of 'wcscat'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
wcscat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
>      [exec] winFont.cpp(1406) : warning C4996: 'wcscat' was declared deprecated
>      [exec]         E:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\string.h(243)
: see declaration of 'wcscat'
>      [exec]         Message: 'This function or variable may be unsafe. Consider using
wcscat_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for
details.'
>      [exec] winFont.cpp(1437) : error C2664: 'JNIEnv_::NewString' : cannot convert parameter
1 from 'TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(1481) : error C2440: '=' : cannot convert from 'jchar *' to 'const
TCHAR *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] winFont.cpp(1489) : error C2664: 'JNIEnv_::ReleaseStringCritical' : cannot
convert parameter 2 from 'const TCHAR *' to 'const jchar *'
>      [exec]         Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
>      [exec] NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.EXE"'
: return code '0x2'
>      [exec] Stop.
> BUILD FAILED
> F:\OpenSource\apache.org\src\incubator\harmony\enhanced\classlib\build.xml:95: The following
error occurred while executing this line:
> F:\OpenSource\apache.org\src\incubator\harmony\enhanced\classlib\make\build-native.xml:78:
The following error occurred while executing this line:
> F:\OpenSource\apache.org\src\incubator\harmony\enhanced\classlib\modules\awt\build.xml:143:
The following error occurred while executing this line:
> F:\OpenSource\apache.org\src\incubator\harmony\enhanced\classlib\make\properties.xml:224:
exec returned: 2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message