1diff -r a5e72dd0ecf3 test/gtest/include/gtest/gtest-typed-test.h 2--- a/test/gtest/include/gtest/gtest-typed-test.h Mon Nov 04 11:47:43 2013 -0800 3+++ b/test/gtest/include/gtest/gtest-typed-test.h Mon Nov 04 11:49:12 2013 -0800 4@@ -31,6 +31,7 @@ 5 6 #ifndef GTEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_ 7 #define GTEST_INCLUDE_GTEST_GTEST_TYPED_TEST_H_ 8+#pragma GCC system_header 9 10 // This header implements typed tests and type-parameterized tests. 11 12diff -r a5e72dd0ecf3 test/gtest/src/gtest.cc 13--- a/test/gtest/src/gtest.cc Mon Nov 04 11:47:43 2013 -0800 14+++ b/test/gtest/src/gtest.cc Mon Nov 04 11:49:12 2013 -0800 15@@ -33,6 +33,7 @@ 16 17 #include "gtest/gtest.h" 18 #include "gtest/gtest-spi.h" 19+#pragma GCC system_header 20 21 #include <ctype.h> 22 #include <math.h> 23diff -r c33b44f8a9a1 test/gtest/include/gtest/internal/gtest-port.h 24--- a/test/gtest/include/gtest/internal/gtest-port.h Wed Nov 06 11:23:38 2013 -0800 25+++ b/test/gtest/include/gtest/internal/gtest-port.h Wed Nov 06 17:12:57 2013 -0800 26@@ -39,6 +39,7 @@ 27 28 #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_ 29 #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_H_ 30+#pragma GCC system_header 31 32 // The user can define the following macros in the build script to 33 // control Google Test's behavior. If the user doesn't define a macro 34diff -r e980730656c1 test/gtest/include/gtest/gtest-printers.h 35--- a/test/gtest/include/gtest/gtest-printers.h Wed Nov 06 17:13:57 2013 -0800 36+++ b/test/gtest/include/gtest/gtest-printers.h Thu Nov 07 09:29:28 2013 -0800 37@@ -94,6 +94,7 @@ 38 39 #ifndef GTEST_INCLUDE_GTEST_GTEST_PRINTERS_H_ 40 #define GTEST_INCLUDE_GTEST_GTEST_PRINTERS_H_ 41+#pragma GCC system_header 42 43 #include <ostream> // NOLINT 44 #include <sstream> 45