test: silence warnings on clang under clang-cl
When running under clang-cl mode, we do not define `__GNUC__`, resulting in the test failing. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@295560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
|
||||
#include <cstdarg>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#pragma GCC diagnostic ignored "-Wformat-zero-length"
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // for tmpnam
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user