searchpath for clang

Dimitry Andric dim at FreeBSD.org
Sun Jan 9 14:39:25 UTC 2011


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...


More information about the freebsd-toolchain mailing list