mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-02 16:11:50 +01:00
Conditionally compile clang pragmas
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user