]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disable gcc warnings about shadowed variables when compiling varinfo2.c.
authorBart Van Assche <bvanassche@acm.org>
Sun, 4 May 2008 08:09:44 +0000 (08:09 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 4 May 2008 08:09:44 +0000 (08:09 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8003

memcheck/tests/Makefile.am

index fe81898ae9620e5989f4e8b8769bf00b9612d5b1..06320b959c80f5038ffbfd15fc5b690509992413 100644 (file)
@@ -248,7 +248,7 @@ supp2_SOURCES               = supp.c
 # To make it a bit more realistic, have some optimisation enabled
 # for the varinfo tests.  We still expect sane results.
 varinfo1_CFLAGS                = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O -g
-varinfo2_CFLAGS                = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O -g
+varinfo2_CFLAGS                = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O -g -Wno-shadow
 varinfo3_CFLAGS                = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O -g
 varinfo4_CFLAGS                = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O -g
 varinfo5_CFLAGS                = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O -g