[LLVMbugs] [Bug 4468] New: printf format attribute is not implemented

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 26 22:14:48 PDT 2009


           Summary: printf format attribute is not implemented
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: tss at iki.fi
                CC: llvmbugs at cs.uiuc.edu

This code should give a warning:

void foo(const char *format, ...) __attribute__((format(printf, 1, 2)));

void test(void)
        foo("%s", 1234);

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