From owner-freebsd-current@FreeBSD.ORG Sat Jul 7 19:55:02 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C575D16A46E for ; Sat, 7 Jul 2007 19:55:02 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 571E513C465 for ; Sat, 7 Jul 2007 19:55:01 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so1038799uge for ; Sat, 07 Jul 2007 12:55:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=e/rHI30wkZkkLwHSB1bOmEA5KM3uTOYPYRr0+OVN9kecgGAtW1fCWRroCKtxUB3shawfl9VF1txGZ0AUzB6wDpso6NS9zaVJxI9TuxoaFEJSieSiUNaUTBQTbN0ZCXFy/rRNdVAySa/5FiFLYz4b/622INK0+gqUplrbnDrQ/nU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qV4N7DWfNeazDtztDqCZ3IszOE+8QXqCti9pI4F5osNHnWsS6vXtWUcc4KhaTZQp+Ir0qP1fYeUezI0ypn0x96in0qyJS49GFnAdNfX8w9FRP7kDpD3b3xbkvWXn75npOihl4xN8ux+Z0LGu+s51nEKPtPnOux8mUm540IOwLhM= Received: by 10.78.166.7 with SMTP id o7mr874867hue.1183838100700; Sat, 07 Jul 2007 12:55:00 -0700 (PDT) Received: by 10.78.97.18 with HTTP; Sat, 7 Jul 2007 12:55:00 -0700 (PDT) Message-ID: <3bbf2fe10707071255p23822ebcy551ec90e2798437c@mail.gmail.com> Date: Sat, 7 Jul 2007 21:55:00 +0200 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Joe Marcus Clarke" In-Reply-To: <1183836202.82695.12.camel@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1183833146.1978.12.camel@localhost> <1183836202.82695.12.camel@shumai.marcuscom.com> X-Google-Sender-Auth: e734e109fdf3841e Cc: Tom McLaughlin , FreeBSD Current Subject: Re: sysutils/xsi not building on -CURRENT with new gcc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2007 19:55:02 -0000 2007/7/7, Joe Marcus Clarke : > On Sat, 2007-07-07 at 14:32 -0400, Tom McLaughlin wrote: > > Hi all, > > > > I updated sysutils/xsi to a new version and I just found it will not > > build on -CURRENT (July 2nd) in my tinderbox. I'm getting the following > > fail: > > > > > > if c++ -DHAVE_CONFIG_H -I. -I. -I. -I../lib -I/usr/local/include/libxml2 > > -I/usr/local/include -O1 -pipe -MT freebsd.o -MD -MP -MF > > ".deps/freebsd.Tpo" -c -o freebsd.o freebsd.cpp; then mv -f > > ".deps/freebsd.Tpo" ".deps/freebsd.Po"; else rm -f ".deps/freebsd.Tpo"; > > exit 1; fi > > In file included from /usr/include/sys/sx.h:37, > > from /usr/include/sys/filedesc.h:40, > > from /usr/include/sys/proc.h:44, > > from /usr/include/sys/user.h:47, > > from freebsd.cpp:35: > > /usr/include/sys/lock_profile.h:156: error: expected ',' or '...' before 'class' > > Seems like a bug in lock_profile.h to me. We should not be using > reserved words like "class". kmacy added this function to > lock_profile.h in rev 1.6. You might want to ping him about it. Could you please try this: http://users.gufi.org/~rookie/works/patches/lock_profile.diff Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein