From 75562c794345007476c72c8012d108fecbcbe5e3 Mon Sep 17 00:00:00 2001 From: "kmillikin@chromium.org" Date: Fri, 31 Jul 2009 12:19:20 +0000 Subject: [PATCH] Enable C++ missing virtual destructor warning. -Wnon-virtual-dtor is part of -Wall on gcc 4.0.3, but not on 4.2.4. Enable it specifically. Review URL: http://codereview.chromium.org/160450 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2600 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- SConstruct | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index dbcd616..0e7453d 100644 --- a/SConstruct +++ b/SConstruct @@ -218,8 +218,11 @@ V8_EXTRA_FLAGS = { 'gcc': { 'all': { 'CXXFLAGS': [], #['-fvisibility=hidden'], - 'WARNINGFLAGS': ['-Wall', '-Werror', '-W', - '-Wno-unused-parameter'] + 'WARNINGFLAGS': ['-Wall', + '-Werror', + '-W', + '-Wno-unused-parameter', + '-Wnon-virtual-dtor'] }, 'os:win32': { 'WARNINGFLAGS': ['-pedantic', '-Wno-long-long'] -- 2.7.4