Revision: 2600
Author: [email protected]
Date: Fri Jul 31 05:19:20 2009
Log: 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
http://code.google.com/p/v8/source/detail?r=2600

Modified:
  /branches/bleeding_edge/SConstruct

=======================================
--- /branches/bleeding_edge/SConstruct  Thu Jul 16 15:41:28 2009
+++ /branches/bleeding_edge/SConstruct  Fri Jul 31 05:19:20 2009
@@ -218,8 +218,11 @@
    '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']

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to