summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-03-25 03:55:18 (GMT)
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-03-25 03:55:18 (GMT)
commitf3c6efd8d78f96a9a500b3ba7e024de122b9afa1 (patch)
tree632b58b9180caa30a8fd3ed1752db194a5a66aba /make
parent2c0fc6d415343b732a4ae39cce1458be1170b9f6 (diff)
downloadgoogletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.zip
googletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.tar.gz
googletest-f3c6efd8d78f96a9a500b3ba7e024de122b9afa1.tar.bz2
Makes gtest compile without warning with gcc 4.0.3 and -Wall -Wextra.
Diffstat (limited to 'make')
-rw-r--r--make/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/Makefile b/make/Makefile
index bf7e978..2d8806e 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -23,7 +23,7 @@ USER_DIR = ../samples
CPPFLAGS += -I$(GTEST_DIR) -I$(GTEST_DIR)/include
# Flags passed to the C++ compiler.
-CXXFLAGS += -g
+CXXFLAGS += -g -Wall -Wextra
# All tests produced by this Makefile. Remember to add new tests you
# created to the list.