mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 22:19:25 +00:00
Conditionally compile clang pragmas
This commit is contained in:
parent
c1dbc9c22b
commit
cda21492a8
9 changed files with 25 additions and 1 deletions
|
@ -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
|
||||
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch_self_test.hpp"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue