You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This probably stems from the fact that an old version of gcc builds
node-addon-api on that machine. Still, if its a version of gcc supported by
Node.js, we need to accommodate it.
@mhdawson I was able to build successfully on Ubuntu 14.04 with gcc 4.8.4 (4.8.4-2ubuntu1~14.04.3). What version of gcc is present on the test machine?
iojs@test-digitalocean-ubuntu1404-x86-1:~$ gcc --version
gcc (Ubuntu 4.9.4-2ubuntu1~14.04.1) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the sourcefor copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
Activity
mhdawson commentedon Sep 11, 2018
@gabrielschulhof @mcheshkov
gabrielschulhof commentedon Sep 11, 2018
gabrielschulhof commentedon Sep 11, 2018
@mhdawson I was able to build successfully on Ubuntu 14.04 with gcc 4.8.4 (4.8.4-2ubuntu1~14.04.3). What version of gcc is present on the test machine?
mhdawson commentedon Sep 11, 2018
mhdawson commentedon Sep 11, 2018
Was the ubuntu you had 32 bit? That seems to be one thing that is different as well.
gabrielschulhof commentedon Sep 12, 2018
Reproduced locally.
Leave platform-specific type in operator def.n
Explicitly cast to uint32_t in test
test: explicitly cast to uint32_t in test
test: explicitly cast to uint32_t in test
test: explicitly cast to uint32_t in test
test: explicitly cast to uint32_t in test