libv8 fails to compile with GCC-4.8 #90

Closed
perestoronin opened this Issue Mar 29, 2013 · 2 comments

Projects

None yet

2 participants

@ignisf
Collaborator

Thank you @perestoronin

@ignisf ignisf reopened this Apr 1, 2013
@ignisf
Collaborator
--- vendor/v8/build/common.gypi.orig    2013-03-26 18:51:02.000000000 +0400
+++ vendor/v8/build/common.gypi 2013-03-31 10:16:12.265303559 +0400
@@ -372,7 +372,8 @@
           }],
           ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
             'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
-                        '-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
+                        '-Wnon-virtual-dtor', '-Woverloaded-virtual',
+                        '-Wno-unused-local-typedefs' ],
           }],
           ['OS=="linux" and v8_enable_backtrace==1', {
             # Support for backtrace_symbols.
--- vendor/v8/build/standalone.gypi.orig    2013-03-26 18:51:02.000000000 +0400
+++ vendor/v8/build/standalone.gypi 2013-03-31 10:17:26.471972406 +0400
@@ -97,7 +97,8 @@
       'target_defaults': {
         'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
                     '-Wnon-virtual-dtor', '-pthread', '-fno-rtti',
-                    '-fno-exceptions', '-pedantic' ],
+                    '-fno-exceptions', '-pedantic',
+                    '-Wno-unused-local-typedefs' ],
         'ldflags': [ '-pthread', ],
         'conditions': [
           [ 'OS=="linux"', {

for future reference

@ignisf ignisf closed this in #95 May 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment