-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update catch_suppress_warnings.h #1508
Conversation
fixed "pragma GCC diagnostic push" after "pragma GCC diagnostic ignored"
Codecov Report
@@ Coverage Diff @@
## master #1508 +/- ##
=======================================
Coverage 80.53% 80.53%
=======================================
Files 121 121
Lines 3436 3436
=======================================
Hits 2767 2767
Misses 669 669 |
1 similar comment
Codecov Report
@@ Coverage Diff @@
## master #1508 +/- ##
=======================================
Coverage 80.53% 80.53%
=======================================
Files 121 121
Lines 3436 3436
=======================================
Hits 2767 2767
Misses 669 669 |
Locally suppress hidden warnings on Class and Compile tests that appeared on gcc-4.8 gcc-4.9 and gcc-5.0 |
I found #674 and understand comment above suppression
So I close request. But it would be better to mark this more obviously. Because now it's unclear from comment before. e.g.:
or
|
Ok, I modified the comment somewhat to be clearer. |
fixed "pragma GCC diagnostic push" after "pragma GCC diagnostic ignored"
Description
I found unusual gcc warnings pattern in catch_suppress_warnings.h that obviosly a bug added by someone who doesn't familar with diagnostic push-ignored-pop pattern.
So I just moved "push" before first "ignored"