[LLVMbugs] [Bug 3814] clang is very noisy by default on projects using gettext

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 18 17:33:06 PDT 2012


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

Kaelyn Uhrain <rikka at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rikka at google.com
         Resolution|                            |FIXED

--- Comment #8 from Kaelyn Uhrain <rikka at google.com> 2012-06-18 19:33:06 CDT ---
Not sure when the format string warnings were improved, but as of r158689 clang
only warns on code like
    printf(_("some string"), ...);
if there are no additional arguments passed to printf (i.e. "printf(_("foo"),
4);" won't have the warning but just "printf(_("foo"));" will), and the warning
can be disabled entirely with -Wno-format-security.

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