Commit 3487ac49 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

close[t:4602] Make gcc 4.6.2 stop complaining about valgrind 3.6.1...

close[t:4602] Make gcc 4.6.2 stop complaining about valgrind 3.6.1 {{{unused-but-set-variable}}} warnings ({{{svn merge -c 40646 ../tokudb.4594/}}}. Closes #4602.

git-svn-id: file:///svn/toku/tokudb@40647 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9a48f7b0
......@@ -165,7 +165,11 @@ else ifeq ($(GCCVERSION),4.4.1)
else ifeq ($(GCCVERSION),4.4.0)
CFLAGS += -Wno-strict-aliasing
else ifeq ($(GCCVERSION),4.6.2)
CFLAGS += -Wno-error=deprecated-declarations
# Valgrind 3.6.1 annotations have unused but set variables. Valgrind 3.7.0 fixed this problem.
CFLAGS += \
-Wno-error=deprecated-declarations \
-Wno-unused-but-set-variable
#empty line
endif
LIBTOKUDB=tokudb
LIBTOKUPORTABILITY=tokuportability
......
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