Skip to content
Permalink
Browse files

Merge pull request eranpeer#161 from Stannieman/feature/160-Pragma_GC…

…C_diagnostic_push_missing

160 Add pragma GCC diagnostic push.
  • Loading branch information...
eranpeer committed Nov 9, 2018
2 parents 03c78d5 + f89072d commit 362271de8f59178aaf12fc0c27de1a814ee5a98d
Showing with 1 addition and 0 deletions.
  1. +1 −0 include/mockutils/FakeObject.hpp
@@ -15,6 +15,7 @@ namespace fakeit {
// silent GCC compiler warning: iso c++ forbids zero-size array [-Wpedantic]
#ifdef __GNUG__
#ifndef __clang__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#endif
#endif

0 comments on commit 362271d

Please sign in to comment.
You can’t perform that action at this time.