scons: Add warning delete with non-virtual destructor
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 19 Feb 2013 10:56:07 +0000 (05:56 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 19 Feb 2013 10:56:07 +0000 (05:56 -0500)
commit5eddb6387765240730bfb1c57f481133d3a3c737
tree096d1415304e2bcc33832c38bcc9ff77f1a5fdf8
parent319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf
scons: Add warning delete with non-virtual destructor

This patch enables a warning for deleting derived classes that do not
have a virtual destructor. The patch merely adds additional checks,
and there are currently no cases that had to be fixed.
src/SConscript