Skip to content

Commit

Permalink
Do not attempt to use pragmas for disabling warnings locally before g…
Browse files Browse the repository at this point in the history
…cc 4.8.
  • Loading branch information
rmanfredi committed Mar 6, 2016
1 parent ddad567 commit e6f3adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@
* warning purposedly for some section of the file and then later restore
* the original warnings.
*/
#if HAS_GCC(3, 0)
#if HAS_GCC(4, 8)
#define G_IGNORE_PUSH(x) \
G_PRAGMA(GCC diagnostic push) \
G_PRAGMA(GCC diagnostic ignored #x)
Expand Down

0 comments on commit e6f3adc

Please sign in to comment.