Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jan 2011 15:39:30 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Alexander Best <arundel@freebsd.org>
Cc:        freebsd-toolchain@freebsd.org
Subject:   Re: searchpath for clang
Message-ID:  <4D29C8A2.8080800@FreeBSD.org>
In-Reply-To: <20110109143147.GA19023@freebsd.org>
References:  <20110109005017.GA8384@freebsd.org> <4D299E37.7080103@FreeBSD.org> <20110109143147.GA19023@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D29C8A2.8080800>