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

Error while using NAN 1.6.1 to compile node-msgpack #264

Closed
XadillaX opened this issue Jan 23, 2015 · 1 comment
Closed

Error while using NAN 1.6.1 to compile node-msgpack #264

XadillaX opened this issue Jan 23, 2015 · 1 comment

Comments

@XadillaX
Copy link

Here's node-msgpack.

It says on line 1848 of nan.h, there's an error with node::Encode().

In file included from ../src/msgpack.cc:9:
../node_modules/nan/nan.h:1848:10: error: no matching function for call to 'Encode'
  return node::Encode(
         ^~~~~~~~~~~~
/Users/XadillaX/.node-gyp/1.0.3/src/node.h:251:34: note: candidate function not viable: cannot convert argument of
      incomplete type 'const void *' to 'const char *'
NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate,
                                 ^
/Users/XadillaX/.node-gyp/1.0.3/src/node.h:257:34: note: candidate function not viable: requires 3 arguments, but 4 were
      provided
NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate,
                                 ^
/Users/XadillaX/.node-gyp/1.0.3/src/node.h:262:45: note: candidate function not viable: requires at most 3 arguments, but
      4 were provided
                inline v8::Local<v8::Value> Encode(
                                            ^
/Users/XadillaX/.node-gyp/1.0.3/src/node.h:43:53: note: expanded from macro 'NODE_DEPRECATED'
#define NODE_DEPRECATED(msg, fn) V8_DEPRECATED(msg, fn)
                                                    ^
/Users/XadillaX/.node-gyp/1.0.3/deps/v8/include/v8config.h:332:45: note: expanded from macro 'V8_DEPRECATED'
# define V8_DEPRECATED(message, declarator) declarator
                                            ^
1 error generated.
make: *** [Release/obj.target/msgpackBinding/src/msgpack.o] Error 1
@XadillaX
Copy link
Author

The PR is here: #265.

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

2 participants