mirror of
https://github.com/catchorg/Catch2.git
synced 2025-12-21 17:42:11 +01:00
Conditionally compile clang pragmas
This commit is contained in:
@@ -56,7 +56,9 @@ TEST_CASE( "meta/Misc/Sections", "looped tests" ) {
|
||||
CHECK( totals.assertions.failed == 1 );
|
||||
}
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic ignored "-Wweak-vtables"
|
||||
#endif
|
||||
|
||||
#include "../../include/internal/catch_commandline.hpp"
|
||||
#include "../../include/reporters/catch_reporter_basic.hpp"
|
||||
|
||||
Reference in New Issue
Block a user