Index: src/IceCompileServer.cpp |
diff --git a/src/IceCompileServer.cpp b/src/IceCompileServer.cpp |
index 1da36b5d7b117508f4cfdf66a7529027fabf7978..2e64f0b3416fd057443ec5368f6b992327e3f34e 100644 |
--- a/src/IceCompileServer.cpp |
+++ b/src/IceCompileServer.cpp |
@@ -19,15 +19,21 @@ |
#include "IceELFStreamer.h" |
#include "IceGlobalContext.h" |
+#ifdef __clang__ |
#pragma clang diagnostic push |
#pragma clang diagnostic ignored "-Wunused-parameter" |
+#endif // __clang__ |
+ |
#include "llvm/Bitcode/NaCl/NaClBitcodeMungeUtils.h" |
#include "llvm/Support/FileSystem.h" |
#include "llvm/Support/raw_os_ostream.h" |
#include "llvm/Support/Signals.h" |
#include "llvm/Support/SourceMgr.h" |
#include "llvm/Support/StreamingMemoryObject.h" |
+ |
+#ifdef __clang__ |
#pragma clang diagnostic pop |
+#endif // __clang__ |
#include <cstdio> |
#include <fstream> |