Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

eio.h error: comma at end of enumerator list #567

Closed
pfleidi opened this Issue · 1 comment

3 participants

@pfleidi

Hi,

I wanted to build a native extension with npm and ran into the following error:

Waf: Entering directory `/usr/local/lib/node/.npm/compress/0.1.8/package/build'
[1/2] cxx: src/compress.cc -> build/default/src/compress_1.o
In file included from /usr/local/Cellar/node/0.2.6/include/node/node.h:6,
             from ../src/compress.cc:1:
/usr/local/Cellar/node/0.2.6/include/node/eio.h:199: error: comma at end of enumerator list

After manually removing the comma at line 199 of eio.h it worked fine. I was installing compress via npm on node-0.2.6 on Mac OS X.

@rocco

same happens for me installing node-stringprep on OSX with node v.0.4.7
cf. node-xmpp/node-stringprep#4

@bnoordhuis bnoordhuis closed this issue from a commit
@bnoordhuis bnoordhuis eio: remove trailing comma from enumerations
Fixes compile-time error in strict mode. Fixes #567.
deb100f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.