[LLVMbugs] [Bug 4670] New: printf-style parameter types not checked

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Aug 1 21:18:19 PDT 2009


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

           Summary: printf-style parameter types not checked
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: ASSIGNED
          Severity: minor
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: parseerror at gmail.com
        ReportedBy: parseerror at gmail.com
                CC: llvmbugs at cs.uiuc.edu


clang does not warn about a mismatch between format string and parameter types,
allowing things like, i.e.

printf("%s", 1);

i will work on getting some basic checking running, with warnings based on
GCC's behavior.


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