|Subject:||Re: security format patch|
|Date:||Tue, 3 Dec 2013 16:30:55 +0000|
On 12/03/2013 04:19 PM, Ivailo wrote:Thankgs for testing. Going with this so:
> Thanks, but I'm afraid you will have to add -Wformat-security to the
> pragmas. I've tested the patch adapted for diffutils and the gnulib
> test suite still fails the same way, unless I add the pragma my self
> that is.
+/* Tell GCC not to warn about the specific edge cases tested here. */
+#if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__
+# pragma GCC diagnostic ignored "-Wformat-zero-length"
+# pragma GCC diagnostic ignored "-Wformat-nonliteral"
+# pragma GCC diagnostic ignored "-Wformat-security"
|[Prev in Thread]||Current Thread||[Next in Thread]|