[LLVMbugs] [Bug 7391] New: printf type checking doesn't handle %c

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 16 15:01:25 PDT 2010


           Summary: printf type checking doesn't handle %c
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: tss at iki.fi
                CC: llvmbugs at cs.uiuc.edu

#include <stdio.h>

int main(void)
    printf("%c\n", "x");
    printf("%c\n", 1.23);
    return 0;

gives no warnings.

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