--- old/src/share/vm/gc_implementation/g1/g1HRPrinter.cpp 2014-04-29 16:53:25.000000000 -0400 +++ new/src/share/vm/gc_implementation/g1/g1HRPrinter.cpp 2014-04-29 16:53:25.000000000 -0400 @@ -27,6 +27,8 @@ #include "gc_implementation/g1/heapRegion.hpp" #include "utilities/ostream.hpp" +PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC + const char* G1HRPrinter::action_name(ActionType action) { switch(action) { case Alloc: return "ALLOC";