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

           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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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

Reply via email to