[LLVMbugs] [Bug 13595] New: __builtin_va_list not defined when using -undef flag
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Aug 13 10:21:52 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13595
Bug #: 13595
Summary: __builtin_va_list not defined when using -undef flag
Product: clang
Version: 3.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: jkehres at rim.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Steps to reproduce:
1. Create a file called test.c with the following content:
typedef __builtin_va_list foobar;
2. Compile the file using the -undef flag:
clang -undef -c test.c
Expected result:
Clang successfully compiles the test file - just as gcc does.
Actual result:
test.c:1:9: error: unknown type name '__builtin_va_list'
typedef __builtin_va_list foobar;
^
1 error generated.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list