kelly / node-i2c

Node.js native bindings for i2c-dev. Plays well with Raspberry Pi and Beaglebone.
Other
216 stars 91 forks source link

Make node-i2c compile with Node 4. #70

Open polaris opened 8 years ago

polaris commented 8 years ago
seriousManual commented 8 years ago

NaN (https://github.com/nodejs/nan) abstracts such native incompatabilities that are introduced with every new v8 version

bchr02 commented 8 years ago

+1 to get a working solution merged!

kelly commented 8 years ago

Thanks for this pr! Moving forward I'm looking to integrate NaN so these issues don't arise again. Unfortunately, using NaN requires almost a full re-write.

saasmath commented 8 years ago

@kelly: I would encourage you to merge the PR rather than waiting for the time to do a re-write for NaN. While it is a bit of a hack, when one uses your module because a dependency from npm, it will nearly always break those modules if they are running a currently supported version of node.

rzr commented 5 years ago

May this change: https://github.com/kelly/node-i2c/pull/96

supersede this PR https://github.com/kelly/node-i2c/pull/70

I didn't check on node-4

rzr commented 4 years ago

May you try to submit to this fork: https://github.com/abandonware/node-i2c