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