commit | fc045f9a6b701decbd932f551a5c2d45c9e2078e | [log] [tgz] |
---|---|---|
author | Tom Rollet <tom.rollet@huawei.com> | Thu Jul 29 17:14:18 2021 +0200 |
committer | Bobby R. Bruce <bbruce@ucdavis.edu> | Wed Sep 08 17:26:12 2021 +0000 |
tree | d83f8d3260e7ea719d46c1dad7d0da89429a33cb | |
parent | 87c121fd954ea5a6e6b0760d693a2e744c2200de [diff] |
scons: fix hook for 'deprecated' attribute On the new release, the compilation is polluted by the same warning: > ''deprecated' attribute directive ignored It seems that the hook added in this patch does not work: https://gem5-review.googlesource.com/c/public/gem5/+/45246/1..7 The snippet of code compile with TryCompile on g++{8,9}. It probably comes from the fact that the compilation only creates a warning and not an error. By adding temporarily '-Werror' for this compilation test, it filters the faulty gcc versions. Change-Id: I2b8b7a1a7e06df437b76e98d212947f4f9452311 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48843 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> (cherry picked from commit a366e66272b7c4b01037d68a7723922b49f506cd) Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50028 Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>