http://llvm.org/bugs/show_bug.cgi?id=2631

           Summary: va_list + va_arg breaks clang on FreeBSD
           Product: clang
           Version: unspecified
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


Created an attachment (id=1886)
 --> (http://llvm.org/bugs/attachment.cgi?id=1886)
C code which breaks

$ ~/llvm/tools/clang/utils/ccc -o testme testme.c
testme.c
clang -emit-llvm-bc -o testme.o testme.c
testme.c:12:8: error: first argument to 'va_arg' is of type 'struct
__va_list_tag *' and not 'va_list'
                        s = va_arg(ap, char *);
                            ^~~~~~
1 diagnostic 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