[LLVMbugs] [Bug 2631] New: va_list + va_arg breaks clang on FreeBSD

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Aug 3 21:55:44 PDT 2008


           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: unassignedbugs at nondot.org
        ReportedBy: cperciva at freebsd.org
                CC: llvmbugs at cs.uiuc.edu

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

More information about the llvm-bugs mailing list