hai .
i tried to install pyv8 using debian testing..unfortunately this error come out
ollecting git+https://github.com/buffer/pyv8
Cloning https://github.com/buffer/pyv8 to /tmp/pip-fubT50-build
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from PyV8==1.0.dev0)
Installing collected packages: PyV8
Running setup.py install for PyV8 ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-fubT50-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-34elwZ-record/install-record.txt --single-version-externally-managed --compile:
WARN: V8_HOME doesn't exists or point to a wrong folder,
/usr/lib/python2.7/dist-packages/setuptools/dist.py:347: UserWarning: Normalizing '1.0-dev' to '1.0.dev0'
normalized_version,
running install
running build
====================
INFO: Patching the GYP scripts
INFO: skip to patch the Google v8 build/standalone.gypi file
====================
INFO: building Google v8 with GYP for x64 platform with release mode
--------------------
INFO: build v8 from SVN ...
DEBUG: > make -j 8 objectprint=off i18nsupport=off verifyheap=off debuggersupport=on regexp=native vtunejit=off extrachecks=off visibility=on snapshot=on strictaliasing=on liveobjectlist=off backtrace=on gdbjit=off disassembler=off werror=no library=shared x64.release
ERROR: build v8 from SVN failed: code=2
DEBUG: In file included from ../src/../include/v8stdint.h:36:0,
from ../src/globals.h:31,
from ../src/allocation.h:31,
from ../src/allocation.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/globals.h:31:0,
from ../src/allocation.h:31,
from ../src/allocation.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/allocation.h:31:0,
from ../src/allocation.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/allocation-tracker.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/allocation-tracker.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/accessors.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/ast.h:31,
from ../src/allocation-site-scopes.h:31,
from ../src/allocation-site-scopes.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/accessors.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/ast.h:31,
from ../src/allocation-site-scopes.h:31,
from ../src/allocation-site-scopes.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/arguments.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/api.h:31,
from ../src/api.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/arguments.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/api.h:31,
from ../src/api.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/assembler.h:38,
from ../src/assembler.cc:35:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/assembler.h:38,
from ../src/assembler.cc:35:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/ast.h:31,
from ../src/ast.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/ast.h:31,
from ../src/ast.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/allocation-tracker.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/ast.h:31,
from ../src/allocation-site-scopes.h:31,
from ../src/allocation-site-scopes.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/accessors.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/arguments.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/api.h:31,
from ../src/api.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/assembler.h:38,
from ../src/assembler.cc:35:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/ast.h:31,
from ../src/ast.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/atomicops.h:51,
from ../src/atomicops_internals_x86_gcc.cc:33:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/atomicops.h:51,
from ../src/atomicops_internals_x86_gcc.cc:33:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/atomicops.h:52:0,
from ../src/atomicops_internals_x86_gcc.cc:33:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/allocation-tracker.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/allocation-tracker.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/allocation-tracker.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/allocation-tracker.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/arguments.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/arguments.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/arguments.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/arguments.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/ast.h:31,
from ../src/allocation-site-scopes.h:31,
from ../src/allocation-site-scopes.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/ast.h:31,
from ../src/allocation-site-scopes.h:31,
from ../src/allocation-site-scopes.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/ast.h:31,
from ../src/allocation-site-scopes.h:31,
from ../src/allocation-site-scopes.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/ast.h:31,
from ../src/allocation-site-scopes.h:31,
from ../src/allocation-site-scopes.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/accessors.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/accessors.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/accessors.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/accessors.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/assembler.h:38,
from ../src/assembler.cc:35:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/assembler.h:38,
from ../src/assembler.cc:35:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/assembler.h:38,
from ../src/assembler.cc:35:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/assembler.h:38,
from ../src/assembler.cc:35:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/ast.h:31,
from ../src/ast.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/ast.h:31,
from ../src/ast.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/ast.h:31,
from ../src/ast.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/ast.h:31,
from ../src/ast.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/api.h:31,
from ../src/api.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/api.h:31,
from ../src/api.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/api.h:31,
from ../src/api.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/api.h:31,
from ../src/api.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/bignum-dtoa.cc:30:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/bignum-dtoa.cc:30:0:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/allocation.h:31:0,
from ../src/utils.h:36,
from ../src/bignum-dtoa.cc:32:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/bignum.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/bignum.cc:28:0:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/allocation.h:31:0,
from ../src/utils.h:36,
from ../src/bignum.cc:29:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/bootstrapper.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/bootstrapper.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/bootstrapper.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/builtins.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/builtins.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/builtins.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/cached-powers.cc:32:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/cached-powers.cc:32:0:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/cached-powers.cc:33:0:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/checks.h:33,
from ../src/checks.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/checks.h:33:0,
from ../src/checks.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/platform/../atomicops.h:52:0,
from ../src/platform/../once.h:78,
from ../src/platform/../lazy-instance.h:95,
from ../src/platform/mutex.h:31,
from ../src/platform.h:49,
from ../src/checks.cc:38:
../src/platform/../globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/bootstrapper.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/bootstrapper.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/bootstrapper.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/bootstrapper.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/builtins.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/builtins.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/builtins.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/builtins.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/checks.cc:39:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/platform/../atomicops.h:51:0,
from ../src/platform/../once.h:78,
from ../src/platform/../lazy-instance.h:95,
from ../src/platform/mutex.h:31,
from ../src/platform.h:49,
from ../src/checks.cc:38:
../src/platform/../../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/checks.cc:39:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/platform/../atomicops.h:51:0,
from ../src/platform/../once.h:78,
from ../src/platform/../lazy-instance.h:95,
from ../src/platform/mutex.h:31,
from ../src/platform.h:49,
from ../src/checks.cc:38:
../src/platform/../../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/code-stubs.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/code-stubs.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/code-stubs.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/code-stubs-hydrogen.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/code-stubs-hydrogen.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/code-stubs-hydrogen.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
../src/api.cc: In member function ‘bool v8::Value::StrictEquals(v8::Handlev8::Value) const’:
../src/api.cc:2945:37: warning: nonnull argument ‘this’ compared to NULL [-Wnonnull-compare]
if (!Utils::ApiCheck(this != NULL && !that.IsEmpty(),
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
../src/api.cc: In member function ‘bool v8::Value::SameValue(v8::Handlev8::Value) const’:
../src/api.cc:2977:37: warning: nonnull argument ‘this’ compared to NULL [-Wnonnull-compare]
if (!Utils::ApiCheck(this != NULL && !that.IsEmpty(),
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/codegen.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/codegen.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
../src/api.cc: In member function ‘v8::Localv8::Value v8::Script::Run()’:
../src/api.cc:1719:3: warning: nonnull argument ‘this’ compared to NULL [-Wnonnull-compare]
if (this == NULL) return Local();
^~
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/codegen.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
../src/api.cc: In member function ‘v8::Localv8::ObjectTemplate v8::FunctionTemplate::InstanceTemplate()’:
../src/api.cc:1230:23: warning: nonnull argument ‘this’ compared to NULL [-Wnonnull-compare]
if (!Utils::ApiCheck(this != NULL,
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
"v8::FunctionTemplate::InstanceTemplate()",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Reading from empty handle")) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/api.cc: In member function ‘bool v8::Value::Equals(v8::Handlev8::Value) const’:
../src/api.cc:2918:37: warning: nonnull argument ‘this’ compared to NULL [-Wnonnull-compare]
if (!Utils::ApiCheck(this != NULL && !that.IsEmpty(),
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/code-stubs.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/code-stubs.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/code-stubs.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/code-stubs.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/code-stubs-hydrogen.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/code-stubs-hydrogen.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/code-stubs-hydrogen.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/code-stubs-hydrogen.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/codegen.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/codegen.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/codegen.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/codegen.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/compilation-cache.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/compilation-cache.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/compilation-cache.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/compilation-cache.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/compilation-cache.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/compilation-cache.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/compilation-cache.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/compiler.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/compiler.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/compiler.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/compiler.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/compiler.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/compiler.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/compiler.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/contexts.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/contexts.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/contexts.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/contexts.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/contexts.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/contexts.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/contexts.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/counters.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/counters.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/counters.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/globals.h:31,
from ../src/conversions-inl.h:35,
from ../src/conversions.cc:32:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/globals.h:31:0,
from ../src/conversions-inl.h:35,
from ../src/conversions.cc:32:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/conversions-inl.h:35:0,
from ../src/conversions.cc:32:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/counters.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/counters.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/counters.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/counters.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/cpu-profiler.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/cpu-profiler.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/cpu-profiler.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/globals.h:31,
from ../src/allocation.h:31,
from ../src/cpu.h:39,
from ../src/cpu.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/globals.h:31:0,
from ../src/allocation.h:31,
from ../src/cpu.h:39,
from ../src/cpu.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/allocation.h:31:0,
from ../src/cpu.h:39,
from ../src/cpu.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/data-flow.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/data-flow.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/globals.h:31,
from ../src/allocation.h:31,
from ../src/date.h:31,
from ../src/date.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/globals.h:31:0,
from ../src/allocation.h:31,
from ../src/date.h:31,
from ../src/date.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/allocation.h:31:0,
from ../src/date.h:31,
from ../src/date.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/data-flow.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/../include/v8stdint.h:36:0,
from ../src/../include/v8.h:41,
from ../src/v8.h:52,
from ../src/dateparser.cc:28:
../src/../include/v8config.h:358:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/../include/v8.h:41:0,
from ../src/v8.h:52,
from ../src/dateparser.cc:28:
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if V8_OS_WIN && !V8_CC_MINGW
^~~~~~~~~~~
../src/../include/v8stdint.h:38:19: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ../src/v8globals.h:31:0,
from ../src/v8.h:54,
from ../src/dateparser.cc:28:
../src/globals.h:184:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#elif V8_CC_MINGW64
^~~~~~~~~~~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/cpu-profiler.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/v8.h:52:0,
from ../src/cpu-profiler.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/cpu-profiler.cc:28:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from ../src/v8.h:52:0,
from ../src/cpu-profiler.cc:28:
../src/../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/date.cc:30:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
../src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from ../src/platform/../atomicops.h:51:0,
from ../src/platform/../once.h:78,
from ../src/platform/../lazy-instance.h:95,
from ../src/platform/mutex.h:31,
from ../src/platform.h:49,
from ../src/date.h:33,
from ../src/date.cc:28:
../src/platform/../../include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from ../src/elements.h:32:0,
from ../src/objects-inl.h:38,
from ../src/v8.h:62,
from ../src/date.cc:30:
../src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
../src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v
.
.
.
.
.
.
.
. In file included from /usr/include/c++/7/memory:80:0,
from /usr/include/boost/function/function_base.hpp:16,
from /usr/include/boost/function/detail/prologue.hpp:17,
from /usr/include/boost/function/function_template.hpp:13,
from /usr/include/boost/function/detail/maybe_include.hpp:13,
from /usr/include/boost/function/function0.hpp:11,
from /usr/include/boost/python/errors.hpp:13,
from /usr/include/boost/python/handle.hpp:11,
from /usr/include/boost/python/args_fwd.hpp:10,
from /usr/include/boost/python/args.hpp:10,
from /usr/include/boost/python.hpp:11,
from src/Utils.h:66,
from src/Utils.cpp:5:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from /tmp/pip-fubT50-build/build/v8_r19632/src/elements.h:32:0,
from /tmp/pip-fubT50-build/build/v8_r19632/src/objects-inl.h:38,
from /tmp/pip-fubT50-build/build/v8_r19632/src/v8.h:62,
from src/V8Internal.h:7,
from src/Utils.cpp:12:
/tmp/pip-fubT50-build/build/v8_r19632/src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::Hash(Key)’:
/tmp/pip-fubT50-build/build/v8_r19632/src/objects.h:3546:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed());
^~
In file included from src/Utils.h:77:0,
from src/Utils.cpp:5:
/tmp/pip-fubT50-build/build/v8_r19632/include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from /tmp/pip-fubT50-build/build/v8_r19632/src/elements.h:32:0,
from /tmp/pip-fubT50-build/build/v8_r19632/src/objects-inl.h:38,
from /tmp/pip-fubT50-build/build/v8_r19632/src/v8.h:62,
from src/V8Internal.h:7,
from src/Utils.cpp:12:
/tmp/pip-fubT50-build/build/v8_r19632/src/objects.h: In member function ‘uint32_t v8::internal::HashTable<Shape, Key>::HashForObject(Key, v8::internal::Object*)’:
/tmp/pip-fubT50-build/build/v8_r19632/src/objects.h:3555:20: warning: invalid use of incomplete type ‘class v8::internal::Heap’
GetHeap()->HashSeed(), object);
^~
In file included from src/Utils.h:77:0,
from src/Utils.cpp:5:
/tmp/pip-fubT50-build/build/v8_r19632/include/v8.h:146:7: note: forward declaration of ‘class v8::internal::Heap’
class Heap;
^~~~
In file included from /tmp/pip-fubT50-build/build/v8_r19632/src/elements.h:32:0,
from /tmp/pip-fubT50-build/build/v8_r19632/src/objects-inl.h:38,
from /tmp/pip-fubT50-build/build/v8_r19632/src/v8.h:62,
from src/V8Internal.h:7,
from src/Utils.cpp:12:
/tmp/pip-fubT50-build/build/v8_r19632/src/objects.h: At global scope:
/tmp/pip-fubT50-build/build/v8_r19632/src/objects.h:6440:44: error: left operand of shift expression ‘(-1 << 3)’ is negative [-fpermissive]
static const int kElementsKindMask = (-1 << kElementsKindShift) &
~~~~^~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-fubT50-build/build/v8_r19632/src/objects.h:8631:36: error: left operand of shift expression ‘(-8 << 26)’ is negative [-fpermissive]
(~kMaxCachedArrayIndexLength << kArrayIndexHashLengthShift) |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-fubT50-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-34elwZ-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-fubT50-build/
i have install the gcc but still got this error...
could anyone help me on this
tq