{"action":"created","issue":{"url":"https://api.github.com/repos/rvagg/nan/issues/249","labels_url":"https://api.github.com/repos/rvagg/nan/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/rvagg/nan/issues/249/comments","events_url":"https://api.github.com/repos/rvagg/nan/issues/249/events","html_url":"https://github.com/rvagg/nan/issues/249","id":54740832,"number":249,"title":"1.5.1 broken with node-webkit's nw-gyp","user":{"login":"aspoon","id":3837974,"avatar_url":"https://avatars.githubusercontent.com/u/3837974?v=3","gravatar_id":"","url":"https://api.github.com/users/aspoon","html_url":"https://github.com/aspoon","followers_url":"https://api.github.com/users/aspoon/followers","following_url":"https://api.github.com/users/aspoon/following{/other_user}","gists_url":"https://api.github.com/users/aspoon/gists{/gist_id}","starred_url":"https://api.github.com/users/aspoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspoon/subscriptions","organizations_url":"https://api.github.com/users/aspoon/orgs","repos_url":"https://api.github.com/users/aspoon/repos","events_url":"https://api.github.com/users/aspoon/events{/privacy}","received_events_url":"https://api.github.com/users/aspoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-19T09:14:57Z","updated_at":"2015-01-19T09:58:44Z","closed_at":null,"body":"I have been using `nan` with both node.js and node-webkit (now nwjs.io) on Windows.  node-webkit uses its own fork of `node-gyp` called `nw-gyp` to build modules.\r\n\r\nI've just upgraded `nan` from 1.3.x to 1.5.1 (latest), and `nw-gyp` complains: (while `node-gyp` compiles fine)\r\n\r\n```\r\nC:\\...\\>nw-gyp rebuild --target=0.11.5\r\n...\r\n[...]\\node_modules\\nan\\nan.h(1471): error C2664: 'uv_async_init' : cannot convert parameter 3 from 'void (__cdecl *)(uv_async_t *)' to 'uv_async_cb' [....vcxproj]\r\n          None of the functions with this name in scope match the target type\r\n...\r\n```\r\n\r\nThe `--target=0.11.5` refers to the node-webkit version, and is required due to the inability to detect the actual version in use automatically.  It was compiling just fine with 1.3.x.  And BTW, I don't use async worker in my code.\r\n"},"comment":{"url":"https://api.github.com/repos/rvagg/nan/issues/comments/70469362","html_url":"https://github.com/rvagg/nan/issues/249#issuecomment-70469362","issue_url":"https://api.github.com/repos/rvagg/nan/issues/249","id":70469362,"user":{"login":"kkoopa","id":4103081,"avatar_url":"https://avatars.githubusercontent.com/u/4103081?v=3","gravatar_id":"","url":"https://api.github.com/users/kkoopa","html_url":"https://github.com/kkoopa","followers_url":"https://api.github.com/users/kkoopa/followers","following_url":"https://api.github.com/users/kkoopa/following{/other_user}","gists_url":"https://api.github.com/users/kkoopa/gists{/gist_id}","starred_url":"https://api.github.com/users/kkoopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkoopa/subscriptions","organizations_url":"https://api.github.com/users/kkoopa/orgs","repos_url":"https://api.github.com/users/kkoopa/repos","events_url":"https://api.github.com/users/kkoopa/events{/privacy}","received_events_url":"https://api.github.com/users/kkoopa/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T09:58:44Z","updated_at":"2015-01-19T09:58:44Z","body":"Will be fixed in the next patch release. #245\n\nOn January 19, 2015 11:14:59 AM EET, aspoon <notifications@github.com> wrote:\n>I have been using `nan` with both node.js and node-webkit (now nwjs.io)\n>on Windows.  node-webkit uses its own fork of `node-gyp` called\n>`nw-gyp` to build modules.\n>\n>I've just upgraded `nan` from 1.3.x to 1.5.1 (latest), and `nw-gyp`\n>complains: (while `node-gyp` compiles fine)\n>\n>```\n>C:\\...\\>nw-gyp rebuild --target=0.11.5\n>...\n>[...]\\node_modules\\nan\\nan.h(1471): error C2664: 'uv_async_init' :\n>cannot convert parameter 3 from 'void (__cdecl *)(uv_async_t *)' to\n>'uv_async_cb' [....vcxproj]\n>    None of the functions with this name in scope match the target type\n>...\n>```\n>\n>The `--target=0.11.5` refers to the node-webkit version, and is\n>required due to the inability to detect the actual version in use\n>automatically.  It was compiling just fine with 1.3.x.  And BTW, I\n>don't use async worker in my code.\n>\n>\n>---\n>Reply to this email directly or view it on GitHub:\n>https://github.com/rvagg/nan/issues/249"}}