Conditionally compile clang pragmas

This commit is contained in:
Phil Nash 2012-08-16 18:47:41 +01:00
parent c1dbc9c22b
commit cda21492a8
9 changed files with 25 additions and 1 deletions

View file

@ -5,7 +5,10 @@
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* 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"
#include "catch_self_test.hpp"