Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 70013 invoked from network); 8 Nov 2006 12:09:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2006 12:09:14 -0000 Received: (qmail 1027 invoked by uid 500); 8 Nov 2006 12:09:25 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 908 invoked by uid 500); 8 Nov 2006 12:09:25 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 886 invoked by uid 99); 8 Nov 2006 12:09:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 04:09:25 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 04:09:13 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 212307142F7 for ; Wed, 8 Nov 2006 04:08:53 -0800 (PST) Message-ID: <11760029.1162987733133.JavaMail.jira@brutus> Date: Wed, 8 Nov 2006 04:08:53 -0800 (PST) From: "Tim Ellison (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-1142) compile classlib error In-Reply-To: <22978290.1155223633920.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-1142?page=comments#action_12448116 ] Tim Ellison commented on HARMONY-1142: -------------------------------------- Please can you check with a more recent version of the harmony code to see if this problem still exists. Note that there are now instructions on the website for building the code http://incubator.apache.org/harmony/quickhelp_contributors.html > compile classlib error > ---------------------- > > Key: HARMONY-1142 > URL: http://issues.apache.org/jira/browse/HARMONY-1142 > Project: Harmony > Issue Type: Bug > Components: build - test - ci > 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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira