From: Florian Krohm Date: Sun, 2 Aug 2015 20:05:41 +0000 (+0000) Subject: GCC 5.1 issues warnings about static variables declared within non-static X-Git-Tag: svn/VALGRIND_3_11_0~184 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c333d2287e36457a964651e5598b7c1438464ef;p=thirdparty%2Fvalgrind.git GCC 5.1 issues warnings about static variables declared within non-static inline functions. There is no command line flag so suppress that particular warnings. So let's suppress all warnings for this testcase. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15473 --- diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index b0e1d814ba..0a850a2ed4 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -442,7 +442,7 @@ fprw_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ inits_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ -inlinfo_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ @FLAG_W_NO_STATIC_LOCAL_IN_INLINE@ +inlinfo_CFLAGS = $(AM_CFLAGS) -w inltemplate_SOURCES = inltemplate.cpp inltemplate_CXXFLAGS = $(AM_CXXFLAGS) @FLAG_W_NO_UNINITIALIZED@