Commit 6ec2511e authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Make the -Wno-unused-result problem go away. Refs #2850. [t:2850]

git-svn-id: file:///svn/toku/tokudb@22720 c7de825b-a66e-492c-adef-691d508d4ae1
parent 36d4e324
......@@ -100,10 +100,11 @@ endif
# -Wno-deprecated is needed on gcc 4.4.{1,2} to make the #ident complaints go away.
# -Wno-strict-aliasing is needed on gcc 4.4.{1,2} to make certain gratuitous warnings go away.
# -Wno-unused-result is needed on gcc 4.4.1 to make warnings about ignoring the results of certain system calls go away.
ifeq ($(GCCVERSION),4.4.2)
GCC_VERSION_SPECIFIC = -Wno-deprecated
else ifeq ($(GCCVERSION),4.4.1)
GCC_VERSION_SPECIFIC = -Wno-deprecated
GCC_VERSION_SPECIFIC = -Wno-deprecated -Wno-unused-result
endif
WALL = $(GCC_VERSION_SPECIFIC) -Wall -Wextra -Wcast-align -Wbad-function-cast -Wno-missing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment