Bug#664242: redefinition of typedef 'va_list' is invalid in C

Robert Millan rmh at debian.org
Fri Mar 16 23:32:56 UTC 2012


Package: libclang-common-dev
Version: 3.0-6+b1
Severity: normal
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Definition of va_list in /usr/include/clang/3.0/include/stdarg.h conflicts
with the one in <stdio.h>:

$ cat /tmp/test.c
#include <stdarg.h>
#include <stdio.h>
$ clang /tmp/test.c -Wsystem-headers
In file included from /tmp/test.c:2:
/usr/include/stdio.h:80:20: error: redefinition of typedef 'va_list' is invalid in C [-Wtypedef-redefinition]
typedef _G_va_list va_list;
                   ^
/usr/include/clang/3.0/include/stdarg.h:30:27: note: previous definition is here
typedef __builtin_va_list va_list;
                          ^
1 error generated.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.1-1-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-llvm-team mailing list