From owner-freebsd-java Sun Jul 28 3:49: 4 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62ADD37B409 for ; Sun, 28 Jul 2002 03:48:57 -0700 (PDT) Received: from ns.gddsn.org.cn (ns.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD4A243E4A for ; Sun, 28 Jul 2002 03:48:56 -0700 (PDT) (envelope-from hwh@ns.gddsn.org.cn) Received: from mail.gddsn.org.cn (gw [210.21.6.34]) by ns.gddsn.org.cn (Postfix) with ESMTP id 222B75F; Sun, 28 Jul 2002 18:48:49 +0800 (CST) Message-ID: <3D43CC10.7040904@mail.gddsn.org.cn> Date: Sun, 28 Jul 2002 18:48:48 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.0.0) Gecko/20020614 X-Accept-Language: zh-cn, zh-tw, en-us MIME-Version: 1.0 To: "Bill Huey (Hui)" Cc: freebsd-java@freebsd.org Subject: Re: a gcc3.1 bug ? References: <3D4391CF.1020504@mail.gddsn.org.cn> <20020728101101.GA4466@gnuppy.monkey.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bill Huey (Hui) ??: >On Sun, Jul 28, 2002 at 02:40:15PM +0800, Huang wen hui wrote: > > >>/usr/ports/java/jdk13/work/hotspot1.3.1/src/os_cpu/linux_i486/vm/os_linux_i486.cpp:41: >>/usr/src/lib/libc_r/uthread/pthread_private.h:947: parse error before >>`__null' >>/usr/src/lib/libc_r/uthread/pthread_private.h:957: parse error before >>`__null' >>/usr/src/lib/libc_r/uthread/pthread_private.h:965: parse error before >>`__null' >> >> >... > > >>but if I change " pthread_attr pthread_attr_default " to other name, the >>compiler will pass. >> >>Does gcc31 have bug ? >> >> > >"Revisited" > >Do it like this: > > #undef pthread_attr_default > #undef pthread_mutexattr_default > #undef pthread_condattr_default > > #include > >before the header files is included. > >I'm a bit surprised that my changes to those source files (HotSpot) weren't >included in the latest release. Building it otherwise is just going to >be pure hell. > >bill > > > > > OK, I have done. thanks. --hwh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message