From owner-freebsd-ports@FreeBSD.ORG Mon Sep 5 11:46:33 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E2D510656DC for ; Mon, 5 Sep 2011 11:46:33 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward13.mail.yandex.net (forward13.mail.yandex.net [IPv6:2a02:6b8:0:801::3]) by mx1.freebsd.org (Postfix) with ESMTP id 7F9DD8FC16 for ; Mon, 5 Sep 2011 11:46:32 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward13.mail.yandex.net (Yandex) with ESMTP id A8159141D54; Mon, 5 Sep 2011 15:46:30 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1315223190; bh=qQ5bz2/gxG+Q7h0uG4QoIhCUuzpdpzIVlJby7b1LmlY=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=lYqBlZejugLuQM2zlIbipobwdcbDG2nwmBE2aRSfP71UjHMF02cvnpjTluGS7d8vF qvZOTNGBBWkqw7Ot2FTE5eRLAxOYLdy7eEfhqVLqm99KyUrLhEpPA7JYgsyFoed2Bc JuvZMi1mInUaTKilHo16TyIyB2vIhXu1wmwp+vFQ= Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id 90C7C16A03AD; Mon, 5 Sep 2011 15:46:30 +0400 (MSD) Received: from unknown (unknown [213.27.65.65]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id kTkWvrF2; Mon, 5 Sep 2011 15:46:30 +0400 X-Yandex-Spam: 1 Message-ID: <4E64B68F.5060200@yandex.ru> Date: Mon, 05 Sep 2011 15:46:23 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:6.0) Gecko/20110828 Thunderbird/6.0 MIME-Version: 1.0 To: Michel Talon References: <20110904072933.GA61465@lpthe.jussieu.fr> In-Reply-To: <20110904072933.GA61465@lpthe.jussieu.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: [ANNOUNCE]: clang compiling ports, take 2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2011 11:46:33 -0000 Michel Talon wrote on 04.09.2011 11:29: > > Ruslan wrote: >> Hi, i maintain port (sysutils/rdup) that is failing with clang: > > I have looked at the problem, it is indeed in rdup source. If you look > at rdup git history for rdup-tr.c you will see > > remove rdup_entry_c from the code, totally unneeded > > in this modification, the line > rdup_entry_c = rdup_entry; > which makes sense is (probably automatically) replaced by the line > rdup_entry = rdup_entry; > which is superfluous. > gcc doesn't bark at that while clang does. Thanks, i'll look at this. As i understand, all will be fine if i just revert this line. -- Regards, Ruslan Tinderboxing kills... the drives.