Skip to content

Compile for io.js 1.0.4 #40

@alexfernandez

Description

@alexfernandez

When compiling for io.js latest (1.0.4), node-gyp complains:

In file included from ../toobusy.cc:3:0:
/home/ubuntu/.node-gyp/1.0.4/deps/uv/include/uv.h:756:15: error:   initializing argument 2 of ‘int uv_timer_start(uv_timer_t*, uv_timer_cb, uint64_t, uint64_t)’ [-fpermissive]
 UV_EXTERN int uv_timer_start(uv_timer_t* handle,
               ^
../toobusy.cc: In function ‘v8::Handle<v8::Value> TooBusy(const int&)’:
../toobusy.cc:38:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../toobusy.cc: In function ‘v8::Handle<v8::Value> ShutDown(const int&)’:
../toobusy.cc:46:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../toobusy.cc: In function ‘v8::Handle<v8::Value> Lag(const int&)’:
../toobusy.cc:51:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
../toobusy.cc: In function ‘v8::Handle<v8::Value> HighWaterMark(const int&)’:
../toobusy.cc:72:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make: *** [Release/obj.target/toobusy/toobusy.o] Error 1
make: Leaving directory `/home/ubuntu/adserver/node_modules/toobusy/build'

And a few other errors. Probably related to issue #38, although the errors seem to be different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions