{"action":"created","issue":{"url":"https://api.github.com/repos/rvagg/nan/issues/233","labels_url":"https://api.github.com/repos/rvagg/nan/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/rvagg/nan/issues/233/comments","events_url":"https://api.github.com/repos/rvagg/nan/issues/233/events","html_url":"https://github.com/rvagg/nan/issues/233","id":54436491,"number":233,"title":"nan/nan_new.h:184:10: error: call to 'New' is ambiguous","user":{"login":"KenanSulayman","id":280212,"avatar_url":"https://avatars.githubusercontent.com/u/280212?v=3","gravatar_id":"","url":"https://api.github.com/users/KenanSulayman","html_url":"https://github.com/KenanSulayman","followers_url":"https://api.github.com/users/KenanSulayman/followers","following_url":"https://api.github.com/users/KenanSulayman/following{/other_user}","gists_url":"https://api.github.com/users/KenanSulayman/gists{/gist_id}","starred_url":"https://api.github.com/users/KenanSulayman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenanSulayman/subscriptions","organizations_url":"https://api.github.com/users/KenanSulayman/orgs","repos_url":"https://api.github.com/users/KenanSulayman/repos","events_url":"https://api.github.com/users/KenanSulayman/events{/privacy}","received_events_url":"https://api.github.com/users/KenanSulayman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-15T11:00:18Z","updated_at":"2015-01-15T12:00:03Z","closed_at":"2015-01-15T11:39:58Z","body":"Hey,\r\n\r\ntrying to migrate my modules to io.js (1.0.1) and upgraded nan to 1.5.1; however, the following now appears when compiling the module:\r\n\r\n\tIn file included from ../src/couchbase_impl.cc:21:\r\n\tIn file included from ../src/couchbase_impl.h:40:\r\n\tIn file included from ../node_modules/nan/nan.h:63:\r\n\t../node_modules/nan/nan_new.h:184:10: error: call to 'New' is ambiguous\r\n\t  return NanIntern::Factory<T>::New(arg0);\r\n\t         ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\t../src/module_impl.cc:171:43: note: in instantiation of function template specialization 'NanNew<v8::Integer, unsigned long long>' requested here\r\n\t        resObj->Set(NanNew(me->valueKey), NanNew<Integer>(resp->v.v0.value));\r\n\t                                          ^\r\n\t../node_modules/nan/nan_new.h:86:26: note: candidate function\r\n\t  static inline return_t New(int32_t value);\r\n\t                         ^\r\n\t../node_modules/nan/nan_new.h:87:26: note: candidate function\r\n\t  static inline return_t New(uint32_t value);\r\n\r\nLooks like an Apple-gcc/llvm 4.2.1 specific issue, though.\r\n\r\nEnv:\r\n\r\n\tGcc:\r\n\t\tApple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)\r\n\t\tTarget: x86_64-apple-darwin14.1.0\r\n\r\n\tRelease:\r\n\t\tDarwin 14.1.0; root:xnu-2782.10.72~4/RELEASE_X86_64\r\n\r\n\tnan ~1.5.1\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/rvagg/nan/issues/comments/70076011","html_url":"https://github.com/rvagg/nan/issues/233#issuecomment-70076011","issue_url":"https://api.github.com/repos/rvagg/nan/issues/233","id":70076011,"user":{"login":"agnat","id":137545,"avatar_url":"https://avatars.githubusercontent.com/u/137545?v=3","gravatar_id":"","url":"https://api.github.com/users/agnat","html_url":"https://github.com/agnat","followers_url":"https://api.github.com/users/agnat/followers","following_url":"https://api.github.com/users/agnat/following{/other_user}","gists_url":"https://api.github.com/users/agnat/gists{/gist_id}","starred_url":"https://api.github.com/users/agnat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agnat/subscriptions","organizations_url":"https://api.github.com/users/agnat/orgs","repos_url":"https://api.github.com/users/agnat/repos","events_url":"https://api.github.com/users/agnat/events{/privacy}","received_events_url":"https://api.github.com/users/agnat/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T12:00:03Z","updated_at":"2015-01-15T12:00:03Z","body":"> [...] (<1e53 - 1 IIRC)\r\n\r\n2^53 is correct. I _really_ should get more coffee. :-/"}}