-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:
Adam Strzelecki 2012-10-19 01:14:35 +02:00
parent 9bcbe8c361
commit 92f700075f

View File

@ -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