Index: libcxx/trunk/test/std/utilities/time/date.time/ctime.pass.cpp =================================================================== --- libcxx/trunk/test/std/utilities/time/date.time/ctime.pass.cpp +++ libcxx/trunk/test/std/utilities/time/date.time/ctime.pass.cpp @@ -26,6 +26,10 @@ #endif #endif +#if defined(__GNUC__) +#pragma GCC diagnostic ignored "-Wformat-zero-length" +#endif + int main() { std::clock_t c = 0;