[cfe-commits] [libcxx] r151451 - /libcxx/trunk/test/depr/depr.c.headers/stdio_h.pass.cpp
Howard Hinnant
hhinnant at apple.com
Sat Feb 25 12:04:11 PST 2012
Author: hhinnant
Date: Sat Feb 25 14:04:11 2012
New Revision: 151451
URL: http://llvm.org/viewvc/llvm-project?rev=151451&view=rev
Log:
Silence some warnings in a test.
Modified:
libcxx/trunk/test/depr/depr.c.headers/stdio_h.pass.cpp
Modified: libcxx/trunk/test/depr/depr.c.headers/stdio_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/depr/depr.c.headers/stdio_h.pass.cpp?rev=151451&r1=151450&r2=151451&view=diff
==============================================================================
--- libcxx/trunk/test/depr/depr.c.headers/stdio_h.pass.cpp (original)
+++ libcxx/trunk/test/depr/depr.c.headers/stdio_h.pass.cpp Sat Feb 25 14:04:11 2012
@@ -78,6 +78,8 @@
#include <cstdarg>
+#pragma clang diagnostic ignored "-Wformat-zero-length"
+
int main()
{
FILE* fp = 0;
More information about the cfe-commits
mailing list