From owner-freebsd-toolchain@FreeBSD.ORG Sun Jan 9 14:39:24 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2240106564A; Sun, 9 Jan 2011 14:39:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id A44DD8FC18; Sun, 9 Jan 2011 14:39:24 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:7c79:31ca:edb:edcd] (unknown [IPv6:2001:7b8:3a7:0:7c79:31ca:edb:edcd]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 751D45C5A; Sun, 9 Jan 2011 15:39:23 +0100 (CET) Message-ID: <4D29C8A2.8080800@FreeBSD.org> Date: Sun, 09 Jan 2011 15:39:30 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.14pre) Gecko/20110104 Lanikai/3.1.8pre MIME-Version: 1.0 To: Alexander Best References: <20110109005017.GA8384@freebsd.org> <4D299E37.7080103@FreeBSD.org> <20110109143147.GA19023@freebsd.org> In-Reply-To: <20110109143147.GA19023@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-toolchain@freebsd.org Subject: Re: searchpath for clang X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jan 2011 14:39:25 -0000 On 2011-01-09 15:31, Alexander Best wrote: ... > i really cannot spot the problem on my system. :( ... > In file included from /usr/subversion-src/usr.bin/make/parse.c:75: > /usr/local/bin/../lib/clang/2.9/include/stdarg.h:47:9: warning: '__GNUC_VA_LIST' macro redefined > #define __GNUC_VA_LIST 1 > ^ From /usr/local/lib/clang/2.9/include, you must remove (or move out of the way) all .h files that already exist in /usr/include, because they clash with our standard includes. Normally the files to be moved are: float.h iso646.h limits.h stdarg.h stdbool.h stddef.h stdint.h tgmath.h varargs.h It would be better if the port already did this, though...