diff options
| author | Phil Nash | 2012-08-16 18:47:41 +0100 |
|---|---|---|
| committer | Phil Nash | 2012-08-16 18:47:41 +0100 |
| commit | cda21492a8322e61445025d8c34c46a024e563d6 (patch) | |
| tree | 5a3f1c4f1e64052471a509b4d53e8eceb204c994 /projects/SelfTest/ExceptionTests.cpp | |
| parent | c1dbc9c22bda91b586919333fd0b946450ad3067 (diff) | |
| download | catch3-cda21492a8322e61445025d8c34c46a024e563d6.tar.gz | |
Conditionally compile clang pragmas
Diffstat (limited to 'projects/SelfTest/ExceptionTests.cpp')
| -rw-r--r-- | projects/SelfTest/ExceptionTests.cpp | 2 |
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" |