Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install fibers using Travis Node 7.4 #331

Closed
DxCx opened this issue Jan 19, 2017 · 1 comment
Closed

Cannot install fibers using Travis Node 7.4 #331

DxCx opened this issue Jan 19, 2017 · 1 comment

Comments

@DxCx
Copy link

DxCx commented Jan 19, 2017

Hi,

we are using travis in CI to make sure library is supported with all major node versions.
however, when we tried to add node 7 to travis.yaml, fibers break build.

In file included from /home/travis/.node-gyp/7.4.0/include/node/node.h:42:0,
                 from ../src/coroutine.h:1,
                 from ../src/fibers.cc:1:
/home/travis/.node-gyp/7.4.0/include/node/v8.h:346:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/7.4.0/include/node/v8.h:849:1: error: expected unqualified-id before ‘using’
/home/travis/.node-gyp/7.4.0/include/node/v8.h:5578:35: error: ‘virtual v8::EmbedderHeapTracer::~EmbedderHeapTracer()’ declared virtual cannot be defaulted in the class body
../src/fibers.cc:70:58: error: ‘Handle’ has not been declared
../src/fibers.cc:70:64: error: expected ‘,’ or ‘...’ before ‘<’ token
../src/fibers.cc: In function ‘void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’:
../src/fibers.cc:71:29: error: ‘handle’ was not declared in this scope
../src/fibers.cc: At global scope:
../src/fibers.cc:83:26: error: variable or field ‘SetInternalPointer’ declared void
../src/fibers.cc:83:26: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:83:34: error: expected primary-expression before ‘>’ token
../src/fibers.cc:83:36: error: ‘handle’ was not declared in this scope
../src/fibers.cc:83:44: error: expected primary-expression before ‘int’
../src/fibers.cc:83:55: error: expected primary-expression before ‘void’
../src/fibers.cc:87:27: error: template declaration of ‘void* uni::GetInternalPointer’
../src/fibers.cc:87:27: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:87:35: error: expected primary-expression before ‘>’ token
../src/fibers.cc:87:37: error: ‘handle’ was not declared in this scope
../src/fibers.cc:87:45: error: expected primary-expression before ‘int’
../src/fibers.cc:92:2: error: ‘Handle’ does not name a type
../src/fibers.cc:97:14: error: variable or field ‘Return’ declared void
../src/fibers.cc:97:14: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:97:22: error: expected primary-expression before ‘>’ token
../src/fibers.cc:97:24: error: ‘handle’ was not declared in this scope
../src/fibers.cc:97:32: error: expected primary-expression before ‘const’
../src/fibers.cc:101:14: error: variable or field ‘Return’ declared void
../src/fibers.cc:101:14: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:101:22: error: expected primary-expression before ‘>’ token
../src/fibers.cc:101:24: error: ‘handle’ was not declared in this scope
../src/fibers.cc:101:51: error: expected primary-expression before ‘info’
../src/fibers.cc:109:2: error: ‘Handle’ does not name a type
../src/fibers.cc:113:2: error: ‘Handle’ does not name a type
../src/fibers.cc:117:2: error: ‘Handle’ does not name a type
../src/fibers.cc:121:2: error: ‘Handle’ does not name a type
../src/fibers.cc:125:2: error: ‘Handle’ does not name a type
../src/fibers.cc:129:2: error: ‘Handle’ does not name a type
../src/fibers.cc:133:2: error: ‘Handle’ does not name a type
../src/fibers.cc:137:2: error: ‘Handle’ does not name a type
../src/fibers.cc:147:2: error: ‘Handle’ does not name a type
../src/fibers.cc:319:17: error: expected ‘;’ at end of member declaration
../src/fibers.cc:319:30: error: expected ‘)’ before ‘<’ token
../src/fibers.cc:325:15: error: expected ‘)’ before ‘<’ token
../src/fibers.cc:591:3: error: ‘Handle’ does not name a type
../src/fibers.cc:755:20: error: ‘Handle’ has not been declared
../src/fibers.cc:755:26: error: expected ‘,’ or ‘...’ before ‘<’ token
../src/fibers.cc: In static member function ‘static void Fiber::DestroyOrphans()’:
../src/fibers.cc:406:30: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::New(const Arguments&)’:
../src/fibers.cc:428:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:428:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:428:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:430:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:430:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:430:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:432:5: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:432:17: error: expected primary-expression before ‘>’ token
../src/fibers.cc:432:19: error: ‘argv’ was not declared in this scope
../src/fibers.cc:433:24: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:433:106: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:436:4: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:436:19: error: expected primary-expression before ‘>’ token
../src/fibers.cc:436:21: error: ‘fn’ was not declared in this scope
../src/fibers.cc:436:41: error: expected primary-expression before ‘>’ token
../src/fibers.cc:436:42: error: ‘::Cast’ has not been declared
../src/fibers.cc:437:31: error: ‘GetCurrentContext’ is not a member of ‘uni’
../src/fibers.cc:438:40: error: no matching function for call to ‘Return(v8::Local<v8::Object>, const Arguments&)’
../src/fibers.cc:438:40: note: candidate is:
../src/fibers.cc:105:7: note: template<class T> void uni::Return(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, uni::GetterCallbackInfo)
../src/fibers.cc:438:40: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Run(const Arguments&)’:
../src/fibers.cc:446:38: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’
../src/fibers.cc:452:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:452:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:452:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:454:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:454:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:454:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:465:6: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:465:6: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:465:6: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:475:52: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
../src/fibers.cc:475:52: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:477:52: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:477:52: note: suggested alternatives:
/home/travis/.node-gyp/7.4.0/include/node/v8.h:8778:18: note:   ‘v8::Undefined’
/home/travis/.node-gyp/7.4.0/include/node/v8.h:8778:18: note:   ‘v8::Undefined’
../src/fibers.cc:481:28: error: ‘class Fiber’ has no member named ‘ReturnYielded’
../src/fibers.cc:481:49: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::ThrowInto(const Arguments&)’:
../src/fibers.cc:488:38: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’
../src/fibers.cc:491:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:491:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:491:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:493:51: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:493:51: note: suggested alternatives:
/home/travis/.node-gyp/7.4.0/include/node/v8.h:8778:18: note:   ‘v8::Undefined’
/home/travis/.node-gyp/7.4.0/include/node/v8.h:8778:18: note:   ‘v8::Undefined’
../src/fibers.cc:495:51: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
../src/fibers.cc:495:51: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:497:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:497:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:497:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:501:28: error: ‘class Fiber’ has no member named ‘ReturnYielded’
../src/fibers.cc:501:49: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Reset(const Arguments&)’:
../src/fibers.cc:509:38: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’
../src/fibers.cc:512:24: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:512:24: note: suggested alternatives:
/home/travis/.node-gyp/7.4.0/include/node/v8.h:8778:18: note:   ‘v8::Undefined’
/home/travis/.node-gyp/7.4.0/include/node/v8.h:8778:18: note:   ‘v8::Undefined’
../src/fibers.cc:512:58: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:514:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:514:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:514:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:516:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:516:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:516:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:524:4: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:524:16: error: expected primary-expression before ‘>’ token
../src/fibers.cc:524:18: error: ‘val’ was not declared in this scope
../src/fibers.cc:524:24: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:527:24: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:527:68: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:529:33: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In member function ‘void Fiber::UnwindStack()’:
../src/fibers.cc:546:4: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:546:16: error: expected primary-expression before ‘>’ token
../src/fibers.cc:546:54: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:547:64: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Persistent<v8::Value>&)’
../src/fibers.cc:547:64: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:548:49: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Persistent<v8::Value>&)’
../src/fibers.cc:548:49: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:561:41: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:561:41: note: suggested alternatives:
/home/travis/.node-gyp/7.4.0/include/node/v8.h:8778:18: note:   ‘v8::Undefined’
/home/travis/.node-gyp/7.4.0/include/node/v8.h:8778:18: note:   ‘v8::Undefined’
../src/fibers.cc: In static member function ‘static void Fiber::RunFiber(void**)’:
../src/fibers.cc:621:14: warning: ‘v8::TryCatch::TryCatch()’ is deprecated (declared at /home/travis/.node-gyp/7.4.0/include/node/v8.h:7015): Use isolate version [-Wdeprecated-declarations]
../src/fibers.cc:623:5: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:623:19: error: expected primary-expression before ‘>’ token
../src/fibers.cc:308:23: error: invalid use of member ‘Fiber::v8_context’ in static member function
../src/fibers.cc:623:21: error: from this location
../src/fibers.cc:623:34: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:308:23: error: invalid use of member ‘Fiber::v8_context’ in static member function
../src/fibers.cc:624:5: error: from this location
../src/fibers.cc:628:21: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:630:17: error: expected primary-expression before ‘>’ token
../src/fibers.cc:310:21: error: invalid use of member ‘Fiber::yielded’ in static member function
../src/fibers.cc:630:19: error: from this location
../src/fibers.cc:632:18: error: expected primary-expression before ‘>’ token
../src/fibers.cc:632:20: error: ‘argv’ was not declared in this scope
../src/fibers.cc:310:21: error: invalid use of member ‘Fiber::yielded’ in static member function
../src/fibers.cc:633:6: error: from this location
../src/fibers.cc:633:16: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:308:23: error: invalid use of member ‘Fiber::v8_context’ in static member function
../src/fibers.cc:633:56: error: from this location
../src/fibers.cc:310:21: error: invalid use of member ‘Fiber::yielded’ in static member function
../src/fibers.cc:635:6: error: from this location
../src/fibers.cc:635:16: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:308:23: error: invalid use of member ‘Fiber::v8_context’ in static member function
../src/fibers.cc:635:56: error: from this location
../src/fibers.cc:639:66: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
../src/fibers.cc:639:66: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:641:45: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:641:98: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:643:67: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
../src/fibers.cc:643:67: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:310:21: error: invalid use of member ‘Fiber::yielded’ in static member function
../src/fibers.cc:646:45: error: from this location
../src/fibers.cc:308:23: error: invalid use of member ‘Fiber::v8_context’ in static member function
../src/fibers.cc:661:5: error: from this location
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Yield_(const Arguments&)’:
../src/fibers.cc:676:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:676:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:676:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:682:24: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:682:58: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:682:112: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:684:74: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Primitive>)’
../src/fibers.cc:684:74: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:686:51: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value>&, v8::Local<v8::Value>)’
../src/fibers.cc:686:51: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:688:5: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:688:5: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:688:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:711:28: error: ‘class Fiber’ has no member named ‘ReturnYielded’
../src/fibers.cc:711:49: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::GetStarted(v8::Local<v8::String>, const GetterCallbackInfo&)’:
../src/fibers.cc:719:24: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:719:24: note: suggested alternatives:
/home/travis/.node-gyp/7.4.0/include/node/v8.h:325:27: note:   ‘v8::Undefined’
/home/travis/.node-gyp/7.4.0/include/node/v8.h:325:27: note:   ‘v8::Undefined’
../src/fibers.cc:719:67: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc:721:36: error: no match for call to ‘(Fiber) (v8::Local<v8::Object>)’
../src/fibers.cc:722:23: error: ‘NewBoolean’ is not a member of ‘uni’
../src/fibers.cc:722:72: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::GetCurrent(v8::Local<v8::String>, const GetterCallbackInfo&)’:
../src/fibers.cc:729:24: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:729:24: note: suggested alternatives:
/home/travis/.node-gyp/7.4.0/include/node/v8.h:325:27: note:   ‘v8::Undefined’
/home/travis/.node-gyp/7.4.0/include/node/v8.h:325:27: note:   ‘v8::Undefined’
../src/fibers.cc:729:67: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::GetPoolSize(v8::Local<v8::String>, const GetterCallbackInfo&)’:
../src/fibers.cc:737:23: error: ‘NewNumber’ is not a member of ‘uni’
../src/fibers.cc:737:88: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In static member function ‘static void Fiber::SetPoolSize(v8::Local<v8::String>, v8::Local<v8::Value>, const SetterCallbackInfo&)’:
../src/fibers.cc:741:43: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated (declared at /home/travis/.node-gyp/7.4.0/include/node/v8.h:8406): Use maybe version [-Wdeprecated-declarations]
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::GetFibersCreated(v8::Local<v8::String>, const GetterCallbackInfo&)’:
../src/fibers.cc:748:23: error: ‘NewNumber’ is not a member of ‘uni’
../src/fibers.cc:748:99: error: return-statement with a value, in function returning 'void' [-fpermissive]
../src/fibers.cc: In static member function ‘static void Fiber::Init(int)’:
../src/fibers.cc:766:4: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:766:27: error: expected primary-expression before ‘>’ token
../src/fibers.cc:766:36: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
../src/fibers.cc:767:41: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::FunctionTemplate>&, v8::Persistent<v8::FunctionTemplate>&)’
../src/fibers.cc:767:41: note: candidate is:
../src/fibers.cc:70:7: note: template<class T> void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)
../src/fibers.cc:768:8: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’
../src/fibers.cc:768:23: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:772:20: error: expected primary-expression before ‘>’ token
../src/fibers.cc:772:22: error: ‘sig’ was not declared in this scope
../src/fibers.cc:772:28: error: ‘NewSignature’ is not a member of ‘uni’
../src/fibers.cc:773:8: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’
../src/fibers.cc:776:25: error: expected primary-expression before ‘>’ token
../src/fibers.cc:776:27: error: ‘proto’ was not declared in this scope
../src/fibers.cc:776:39: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’
../src/fibers.cc:777:15: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:778:5: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
../src/fibers.cc:778:58: error: expected primary-expression before ‘>’ token
../src/fibers.cc:778:60: error: expected primary-expression before ‘)’ token
../src/fibers.cc:779:15: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:780:5: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
../src/fibers.cc:780:56: error: expected primary-expression before ‘>’ token
../src/fibers.cc:780:58: error: expected primary-expression before ‘)’ token
../src/fibers.cc:781:15: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:782:5: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
../src/fibers.cc:782:62: error: expected primary-expression before ‘>’ token
../src/fibers.cc:782:64: error: expected primary-expression before ‘)’ token
../src/fibers.cc:783:23: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:786:19: error: expected primary-expression before ‘>’ token
../src/fibers.cc:786:21: error: ‘yield’ was not declared in this scope
../src/fibers.cc:786:29: error: ‘NewFunctionTemplate’ is not a member of ‘uni’
../src/fibers.cc:787:17: error: expected primary-expression before ‘>’ token
../src/fibers.cc:787:19: error: ‘sym_yield’ was not declared in this scope
../src/fibers.cc:787:31: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:788:4: error: ‘target’ was not declared in this scope
../src/fibers.cc:791:19: error: expected primary-expression before ‘>’ token
../src/fibers.cc:791:21: error: ‘fn’ was not declared in this scope
../src/fibers.cc:791:30: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::FunctionTemplate>’
../src/fibers.cc:793:20: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:794:20: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:795:20: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc:798:16: error: ‘NewLatin1Symbol’ is not a member of ‘uni’
../src/fibers.cc: At global scope:
../src/fibers.cc:814:11: error: variable or field ‘init’ declared void
../src/fibers.cc:814:11: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:814:24: error: expected primary-expression before ‘>’ token
../src/fibers.cc:814:26: error: ‘target’ was not declared in this scope

travis.yaml:

 language: node_js
  node_js:		  
   - "6"		
   - "4"
   - "7"

P.S:
for node 6 & 4, fibers installs succesfully, only for node 7 it is broken.

@DxCx
Copy link
Author

DxCx commented Jan 24, 2017

was able to solve by adding

+env:
+  - CXX=g++-4.8
+
+addons:
+    apt:
+      sources:
+        - ubuntu-toolchain-r-test
+      packages:
+        - g++-4.8
+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant