]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove warning caused by D demangle testcase
authorPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 30 Jan 2023 20:13:13 +0000 (21:13 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 30 Jan 2023 20:13:13 +0000 (21:13 +0100)
memcheck/tests/Makefile.am

index 1be744ebaca12bcf25df7553a4ebdbf99bde2853..e5b2ae58633f325cf5255ad9e2e07407a95f68a6 100644 (file)
@@ -466,6 +466,7 @@ check_PROGRAMS += dw4
 endif
 
 bug464969_d_demangle_SOURCES = bug464969_d_demangle.cpp
+bug464969_d_demangle_CXXFLAGS = $(AM_CXXFLAGS) @FLAG_W_NO_UNINITIALIZED@
 
 if GZ_ZLIB
 check_PROGRAMS += cdebug_zlib
@@ -526,12 +527,12 @@ leak_cpp_interior_SOURCES = leak_cpp_interior.cpp
 # Suppress various gcc warnings which are correct, but for things
 # we are actually testing for at runtime.
 accounting_CFLAGS      = $(AM_CFLAGS) -Wno-alloc-size-larger-than
-badfree_CFLAGS         = $(AM_CFLAGS) -Wno-free-nonheap-object
+badfree_CFLAGS         = $(AM_CFLAGS) @FLAG_W_NO_FREE_NONHEAP_OBJECT@
 bug155125_CFLAGS       = $(AM_CFLAGS) -Wno-unused-result -Wno-alloc-size-larger-than
 mallinfo_CFLAGS                = $(AM_CFLAGS) -Wno-deprecated-declarations
 malloc3_CFLAGS         = $(AM_CFLAGS) -Wno-alloc-size-larger-than
 sbfragment_CFLAGS      = $(AM_CFLAGS) -Wno-deprecated-declarations
-strchr_CFLAGS          = $(AM_CFLAGS) -Wno-uninitialized
+strchr_CFLAGS          = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@
 
 big_debuginfo_symbol_SOURCES = big_debuginfo_symbol.cpp
 big_debuginfo_symbol_CXXFLAGS = $(AM_CXXFLAGS) -std=c++0x