Commit ec644604 authored by JINMEI Tatuya's avatar JINMEI Tatuya

[trac931_2] make sure the workaround -Wno-unused-parameter follows -Wextra

parent 990a0cff
......@@ -16,10 +16,13 @@ libfake_session_la_SOURCES = fake_session.h fake_session.cc
TESTS =
if HAVE_GTEST
# We build this file with disabled warnings because of asio
# We build this file with disabled warnings because of ASIO
lib_LTLIBRARIES += libasiobased.la
libasiobased_la_SOURCES = ccsession_unittests.cc
libasiobased_la_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES) -Wno-unused-parameter
libasiobased_la_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
# Note: the ordering matters: -Wno-... must follow -Wextra (defined in
# B10_CXXFLAGS)
libasiobased_la_CXXFLAGS = $(AM_CXXFLAGS) -Wno-unused-parameter
libasiobased_la_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
TESTS += run_unittests
......
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