-
Notifications
You must be signed in to change notification settings - Fork 506
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
typecast to uv_async_cb to fix node-webkit compile #239
Conversation
springmeyer
commented
Jan 17, 2015
- Fixes node-webkit compile error TryGhost/node-sqlite3#387
- Unblocks io.js release of node-sqlite3 - node-sqlite3 failing on IOJS TryGhost/node-sqlite3#385
- Fixes TryGhost/node-sqlite3#387 - Unblocks io.js release of node-sqlite3 - TryGhost/node-sqlite3#385
oh, not so great that we let this slip in, we obviously don't have test cases for this. I'm 👍 on this change and pushing a patch-release for 1.5. While we wait for additional input @springmeyer can you have a quick look at the tests to see why this isn't flagged anywhere? |
I suspect a bug in the NAUV_UVVERSION macro because the NAUV_WORK_CB macro is supposed to take care of the differences in uv_async_cb prototypes. @brett19? I believe you originally wrote that? |
Just confirmed that all of the crazy node-sqlite3 build matrix works with this patch: https://travis-ci.org/mapbox/node-sqlite3/builds/47314165
Okay, taking a look. As a byproduct see #240 which should help those new to running the tests like me. |
I've come up short on a reduced testcase to replicate/prevent regression. But I've found that it is easy to replicate within the nan directory just by doing:
Is it reasonable for the nan |
I don't mind using nw-gyp as a devdep if it's going to catch more, I just don't know anything about nw-gyp at all |
Okay, new pull request testing node-webkit at #241 (idea is we can watch the travis build there to make sure it fails). |
The declaration of AsyncProgress_ comes after this, maybe that's why it's whining? The symbol is undefined at that point. |
Replicate issue #239 by testing node-webkit on travis