[LLVMbugs] [Bug 3814] New: clang is very noisy by default on projects using gettext
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Mar 15 04:49:13 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=3814
Summary: clang is very noisy by default on projects using gettext
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: kremenek at apple.com, llvmbugs at cs.uiuc.edu
clang is very noisy by default on projects using gettext, because the format
string literal warning is on by default, and it warns about code like
--
printf(_("some string"), ...);
--
where _ is a macro for some gettext function.
How crude would it be to recognize this pattern explicitly? I.e. printf of a
direct call of a function taking a single literal string and returning a const
char*.
--
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