Closed laurence-myers closed 3 years ago
Looks like the solution is just to upgrade from C++11 to C++14. Seems like a straightforward job to change binding.gyp
, but I don't know what other impacts that has.
@laurence-myers sorry for the delayed response, I'll hopefully have time to look at this somewhere in the upcoming days.
I just published metrohash@2.7.0
which uses C++14 to build the addon. Seems to work fine on (somewhat) older Node.js and macOS versions too.
Thanks very much @robertklep 😁
I saw that a Travis CI job failed running on "node" (v16). The jobs for other NodeJS versions passed, but I think it's a false positive - seems like in job #64.1, npm ci
ran node-gyp, but job #64.2 did not.
Yeah I saw the failed job too 😅 Probably because the g++ version that gets installed is too old.
On macOS Catalina 10.15.7. Xcode CLT installed on 26/05/21 (AEDT)
gcc version: