Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Created December 16, 2012 23:25
Show Gist options
  • Select an option

  • Save wolfeidau/4314160 to your computer and use it in GitHub Desktop.

Select an option

Save wolfeidau/4314160 to your computer and use it in GitHub Desktop.
Macro issue with node ev.h
> [email protected] install /Users/markw/Code/Javascript/node-netif
> node-gyp rebuild
CXX(target) Release/obj.target/netif/src/netif.o
In file included from ../src/netif.cc:29:
In file included from /Users/markw/.node-gyp/0.8.14/src/node.h:61:
In file included from /Users/markw/.node-gyp/0.8.14/deps/uv/include/uv.h:61:
In file included from /Users/markw/.node-gyp/0.8.14/deps/uv/include/uv-private/uv-unix.h:27:
/Users/markw/.node-gyp/0.8.14/deps/uv/include/uv-private/ev.h:229:3: error: expected '}'
EV_ERROR = (-2147483647 - 1) /* sent when an error occurs */
^
/usr/include/sys/event.h:144:18: note: expanded from macro 'EV_ERROR'
#define EV_ERROR 0x4000 /* error, data contains errno */
^
/Users/markw/.node-gyp/0.8.14/deps/uv/include/uv-private/ev.h:205:6: note: to match this '{'
enum {
^
1 error generated.
make: *** [Release/obj.target/netif/src/netif.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment