From b383997d4a9c642dd4356bfc4554ac7ae183ae62 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 5 Mar 2020 17:43:28 -0800 Subject: [PATCH] base: Disable a warning in hdf5.cc which comes from an external header. This warning comes from an external header which we don't have the ability to fix directly. We can disable it in hdf5.cc specifically which should keep things building without defeating the warning in cases where we could fix it. Jira Issue: https://gem5.atlassian.net/browse/GEM5-365 Change-Id: Ie1f4d91340e68cee7514beab9d03bba1d1c9bb38 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26325 Reviewed-by: Ciro Santilli Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black Tested-by: kokoro --- src/base/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/SConscript b/src/base/SConscript index 4082c06b8..f2fb91cad 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -90,7 +90,7 @@ Source('loader/symtab.cc') Source('stats/group.cc') Source('stats/text.cc') if env['USE_HDF5']: - Source('stats/hdf5.cc') + Source('stats/hdf5.cc', append={'CXXFLAGS': '-Wno-deprecated-copy'}) GTest('addr_range.test', 'addr_range.test.cc') GTest('addr_range_map.test', 'addr_range_map.test.cc') -- 2.30.2