mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-16 18:52:25 +01:00
-Wglobal-constructors should be ignored after push
Actually it is -Wglobal-constructors which is supposed to be ignored, not -Wno-global-constructors. Moreover we should ignore it after push, otherwise we will ruin user settings.
This commit is contained in:
parent
9bcbe8c361
commit
92f700075f
@ -10,9 +10,8 @@
|
||||
#define TWOBLUECUBES_CATCH_HPP_INCLUDED
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic ignored "-Wno-global-constructors"
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wglobal-constructors"
|
||||
#pragma clang diagnostic ignored "-Wpadded"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user