Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 39752 invoked from network); 9 Mar 2008 05:23:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2008 05:23:56 -0000 Received: (qmail 65126 invoked by uid 500); 9 Mar 2008 05:23:52 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 65106 invoked by uid 500); 9 Mar 2008 05:23:52 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 65097 invoked by uid 99); 9 Mar 2008 05:23:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2008 21:23:51 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.harmony@gmail.com designates 209.85.146.183 as permitted sender) Received: from [209.85.146.183] (HELO wa-out-1112.google.com) (209.85.146.183) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Mar 2008 05:23:14 +0000 Received: by wa-out-1112.google.com with SMTP id k22so1592756waf.18 for ; Sat, 08 Mar 2008 21:23:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=6MOU/CNb9GVH3ghH04aAK+TStvXcv6NUiVHCHhvYPZc=; b=ptx/8QBz5LZjV/fCV2bW1T+NFtZ5det1QlM9v7nk4AZfG6hsRM+TqiMrLmRHDZJ165js7yWpX7Y910EsdGdp1ceVpkQ5Z1xZBwJ1MDg5YDbgrVEeBZ3sQdPuFe9zmVCql438DVUJ45nPHnvlf2QR2JIWTrsO2XqnY6qh6IAL3gI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=PBoCzC0krQV4nJOAu/swDD9hO91OrRdzpvb+G0jr1ugjgB1FNhvkrLrv0PjHvNxys/HjO90xB2tS70EAUliaglgTAasT7ZOnoNOVi+0i6iZiy0BtqYBjXfOW5LURY7wqjvpYwbL1k/rqpCqW/YAISho8UXZxGL6Wd+twHz2+n9w= Received: by 10.114.158.1 with SMTP id g1mr2324624wae.111.1205040204043; Sat, 08 Mar 2008 21:23:24 -0800 (PST) Received: by 10.114.161.10 with HTTP; Sat, 8 Mar 2008 21:23:23 -0800 (PST) Message-ID: <3db9f87f0803082123v4ecf8a5eg89c90553f74f20f@mail.gmail.com> Date: Sun, 9 Mar 2008 13:23:23 +0800 From: "Simon Chow" To: dev@harmony.apache.org Subject: Re: [drlvm][build] A build error using MS.Net2005 In-Reply-To: <4bebff790803060244h6673beeboe53cff19cd5337f3@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29848_16906770.1205040204036" References: <3db9f87f0803060015n60f3df86kb1cb97fa0eded38c@mail.gmail.com> <58ec45690803060047n1a27496aw8ac95cb2e53498b3@mail.gmail.com> <4bebff790803060244h6673beeboe53cff19cd5337f3@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_29848_16906770.1205040204036 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thank for your advice! I changed the to in common-vm.xml then, the error message is removed. but when building vmcore build: [echo] ## Building 'vmcore' [compile-asm] Skipping fileset for directory D:\Developing\JOpen64\Harmony\Code\ trunk\working_vm\vm\vmcore. It is empty. [compile-cc] Starting dependency analysis for 13 files. [compile-cc] 13 files are up to date. [compile-cc] 0 files to be recompiled from dependency analysis. [compile-cc] 167 total files to be compiled. [compile-cc] cl : Command line warning D9035 : option 'GZ' has been deprecated a nd will be removed in a future release [compile-cc] cl : Command line warning D9036 : use 'RTC1' instead of 'GZ' [compile-cc] org_apache_harmony_drlvm_VMHelper.cpp [compile-cc] C:\Program Files\Microsoft Visual Studio 8\VC\include\ivec.h(233) : error C2733: second C linkage of overloaded function 'cmpeq' not allowed [compile-cc] C:\Program Files\Microsoft Visual Studio 8\VC\include\ivec.h(233) : see declaration of 'cmpeq' ....blabla thousands of C2733 errors It seems that the 'cl' compiler compiles this .h as a pure C language. However, there is no 'extern "C"' declare can be found... On 06/03/2008, Aleksey Shipilev wrote: > > Hi, > > The problem here is warning that are treated as error, right. You can > probably try to suppress these warnings by listing their codes in > corresponding make/vm/*.xml. This is part of make/vm/jitrino.xml for > ICL compiler warning suppression: > > ---- CUT ---- > unless="is.cfg.debug"/> > value="/Qww1,82,111,172,181,279,280,373,424,593,654,858" if="is.icl"/> > > value="/Qwd82,193,271,304,373,383,424,444,654,869,981,1125,1418,1419,1572,1683" > if="is.icl"/> >