Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/ExceptionTests.cpp
diff options
context:
space:
mode:
authorPhil Nash2012-08-16 18:47:41 +0100
committerPhil Nash2012-08-16 18:47:41 +0100
commitcda21492a8322e61445025d8c34c46a024e563d6 (patch)
tree5a3f1c4f1e64052471a509b4d53e8eceb204c994 /projects/SelfTest/ExceptionTests.cpp
parentc1dbc9c22bda91b586919333fd0b946450ad3067 (diff)
downloadcatch3-cda21492a8322e61445025d8c34c46a024e563d6.tar.gz
Conditionally compile clang pragmas
Diffstat (limited to 'projects/SelfTest/ExceptionTests.cpp')
-rw-r--r--projects/SelfTest/ExceptionTests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/SelfTest/ExceptionTests.cpp b/projects/SelfTest/ExceptionTests.cpp
index a6c2a60f..6165decf 100644
--- a/projects/SelfTest/ExceptionTests.cpp
+++ b/projects/SelfTest/ExceptionTests.cpp
@@ -6,7 +6,9 @@
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
+#ifdef __clang__
#pragma clang diagnostic ignored "-Wpadded"
+#endif
#include "catch.hpp"