aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-03-26 19:06:45 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-03-26 19:06:45 +0000
commit3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee (patch)
treebea98a1704d173263e559d949c63289bec30d9f9 /make
parent68be111b4c82d3422ba2b83a8651033300ad4900 (diff)
downloadgoogletest-3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee.tar.gz
googletest-3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee.tar.bz2
googletest-3fbd2dd020819fcfd7cef2aa6a17fad73c41a0ee.zip
Makes gmock compile with gcc -Wall -Wextra -Wno-unused-parameter.
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 85c8b38b..0c30ebfc 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -31,7 +31,7 @@ CPPFLAGS += -I$(GMOCK_DIR) -I$(GMOCK_DIR)/include \
-I$(GTEST_DIR) -I$(GTEST_DIR)/include
# Flags passed to the C++ compiler.
-CXXFLAGS += -g
+CXXFLAGS += -g -Wall -Wextra -Wno-unused-parameter
# All tests produced by this Makefile. Remember to add new tests you
# created to the list.