]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
GCC 5.1 issues warnings about static variables declared within non-static
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 2 Aug 2015 20:05:41 +0000 (20:05 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 2 Aug 2015 20:05:41 +0000 (20:05 +0000)
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

memcheck/tests/Makefile.am

index b0e1d814ba8b48acce6d657af25b14a54950a3d8..0a850a2ed4a606c748066bf55f0a67f23a948384 100644 (file)
@@ -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@