Makes gtest compile without warning with gcc 4.0.3 and -Wall -Wextra.

This commit is contained in:
zhanyong.wan
2009-03-25 03:55:18 +00:00
parent 2c0fc6d415
commit f3c6efd8d7
4 changed files with 11 additions and 10 deletions

View File

@@ -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.