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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to