Created
May 8, 2014 15:11
-
-
Save aebsr/56796542530a3690feca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 warning generated. | |
compiling nio4r_ext.c | |
In file included from nio4r_ext.c:6: | |
In file included from ./nio4r.h:10: | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: use "ruby/io.h" instead of "rubyio.h" [-W#warnings] | |
#warning use "ruby/io.h" instead of "rubyio.h" | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:481:48: warning: '/*' within block comment [-Wcomment] | |
/*#define MIN_INTERVAL 0.00000095367431640625 /* 1/2**20, good till 2200 */ | |
^ | |
./../libev/ev.c:1535:31: warning: 'extern' variable has an initializer [-Wextern-initializer] | |
EV_API_DECL struct ev_loop *ev_default_loop_ptr = 0; /* needs to be initialised to make it a definition despite extern */ | |
^ | |
In file included from nio4r_ext.c:7: | |
In file included from ./../libev/ev.c:2400: | |
./../libev/ev_poll.c:110:18: warning: expression result unused [-Wunused-value] | |
assert (("libev: poll() returned illegal result, broken BSD kernel?", p < polls + pollcnt)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2806:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2809:14: warning: expression result unused [-Wunused-value] | |
assert (("libev: pending watcher not on pending queue", pendings [ABSPRI (w)][w->pending - 1].w == w)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2819:16: warning: expression result unused [-Wunused-value] | |
assert (("libev: active index mismatch in heap", ev_active (ANHE_w (heap [i])) == i)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2820:16: warning: expression result unused [-Wunused-value] | |
assert (("libev: heap condition violated", i == HEAP0 || ANHE_at (heap [HPARENT (i)]) <= ANHE_at (heap [i]))); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2821:16: warning: expression result unused [-Wunused-value] | |
assert (("libev: heap at cache mismatch", ANHE_at (heap [i]) == ev_at (ANHE_w (heap [i])))); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2832:16: warning: expression result unused [-Wunused-value] | |
assert (("libev: active index mismatch", ev_active (ws [cnt]) == cnt + 1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2850:14: warning: expression result unused [-Wunused-value] | |
assert (("libev: negative fd in fdchanges", fdchanges [i] >= 0)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2863:24: warning: expression result unused [-Wunused-value] | |
assert (("libev: io watcher list contains a loop", w != w2)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2867:20: warning: expression result unused [-Wunused-value] | |
assert (("libev: inactive fd watcher on anfd list", ev_active (w) == 1)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:2868:20: warning: expression result unused [-Wunused-value] | |
assert (("libev: fd mismatch between watcher and anfd", ((ev_io *)w)->fd == i)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3050:24: warning: expression result unused [-Wunused-value] | |
assert (("libev: negative ev_timer repeat value found while processing timers", w->repeat > 0.)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3112:24: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_periodic reschedule callback returned time in the past", ev_at (w) >= ev_rt_now)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3257:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
./../libev/ev.c:3274:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_loop recursion during release detected", loop_done != EVBREAK_RECURSE)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3446:22: warning: expression result unused [-Wunused-value] | |
assert (("libev: pipe_w not active, but pipe not written", ev_is_active (&pipe_w))); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3620:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_io_start called with negative fd", fd >= 0)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3621:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_io_start called with illegal event mask", !(w->events & ~(EV__IOFDSET | EV_READ | EV_WRITE)))); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3630:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3632:34: warning: '&' within '|' [-Wbitwise-op-parentheses] | |
fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); | |
~~~~~~~~~~^~~~~~~~~~~~~ ~ | |
./../libev/ev.c:3632:34: note: place parentheses around the '&' expression to silence this warning | |
fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY); | |
^ | |
( ) | |
./../libev/ev.c:3645:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_io_stop called with illegal fd (must stay constant after start!)", w->fd >= 0 && w->fd < anfdmax)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3665:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_timer_start called with negative timer repeat value", w->repeat >= 0.)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3693:14: warning: expression result unused [-Wunused-value] | |
assert (("libev: internal timer heap corruption", ANHE_w (timers [active]) == (WT)w)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3755:16: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_periodic_start called with negative interval value", w->interval >= 0.)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3787:14: warning: expression result unused [-Wunused-value] | |
assert (("libev: internal periodic heap corruption", ANHE_w (periodics [active]) == (WT)w)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3824:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: ev_signal_start called with illegal signal number", w->signum > 0 && w->signum < EV_NSIG)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3827:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: a signal must not be attached to two different loops", | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:3945:12: warning: expression result unused [-Wunused-value] | |
assert (("libev: child watchers are only supported in the default loop", loop == ev_default_loop_ptr)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
In file included from nio4r_ext.c:7: | |
./../libev/ev.c:4524:14: warning: expression result unused [-Wunused-value] | |
assert (("libev: loop to be embedded is not embeddable", backend & ev_embeddable_backends ())); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:93:25: note: expanded from macro 'assert' | |
(__builtin_expect(!(e), 0) ? __assert_rtn(__func__, __FILE__, __LINE__, #e) : (void)0) | |
^ | |
32 warnings generated. | |
compiling selector.c | |
In file included from selector.c:6: | |
In file included from ./nio4r.h:10: | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward/rubyio.h:2:2: warning: use "ruby/io.h" instead of "rubyio.h" [-W#warnings] | |
#warning use "ruby/io.h" instead of "rubyio.h" | |
^ | |
In file included from selector.c:7: | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/include/ruby-2.0.0/ruby/backward/rubysig.h:14:2: warning: rubysig.h is obsolete [-W#warnings] | |
#warning rubysig.h is obsolete | |
^ | |
selector.c:391:43: warning: incompatible pointer types passing 'VALUE (VALUE)' to parameter of type 'VALUE (*)(VALUE *)' [-Wincompatible-pointer-types] | |
return NIO_Selector_synchronize(self, NIO_Selector_close_synchronized, self); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
selector.c:157:59: note: passing argument to parameter 'func' here | |
static VALUE NIO_Selector_synchronize(VALUE self, VALUE (*func)(VALUE *args), VALUE *args) | |
^ | |
selector.c:391:76: warning: incompatible integer to pointer conversion passing 'VALUE' (aka 'unsigned long') to parameter of type 'VALUE *' (aka 'unsigned long *'); take the address with & [-Wint-conversion] | |
return NIO_Selector_synchronize(self, NIO_Selector_close_synchronized, self); | |
^~~~ | |
& | |
selector.c:157:86: note: passing argument to parameter 'args' here | |
static VALUE NIO_Selector_synchronize(VALUE self, VALUE (*func)(VALUE *args), VALUE *args) | |
^ | |
selector.c:407:43: warning: incompatible pointer types passing 'VALUE (VALUE)' to parameter of type 'VALUE (*)(VALUE *)' [-Wincompatible-pointer-types] | |
return NIO_Selector_synchronize(self, NIO_Selector_closed_synchronized, self); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
selector.c:157:59: note: passing argument to parameter 'func' here | |
static VALUE NIO_Selector_synchronize(VALUE self, VALUE (*func)(VALUE *args), VALUE *args) | |
^ | |
selector.c:407:77: warning: incompatible integer to pointer conversion passing 'VALUE' (aka 'unsigned long') to parameter of type 'VALUE *' (aka 'unsigned long *'); take the address with & [-Wint-conversion] | |
return NIO_Selector_synchronize(self, NIO_Selector_closed_synchronized, self); | |
^~~~ | |
& | |
selector.c:157:86: note: passing argument to parameter 'args' here | |
static VALUE NIO_Selector_synchronize(VALUE self, VALUE (*func)(VALUE *args), VALUE *args) | |
^ | |
6 warnings generated. | |
linking shared-object nio4r_ext.bundle | |
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future] | |
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future | |
make: *** [nio4r_ext.bundle] Error 1 | |
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/nio4r-1.0.0 for inspection. | |
Results logged to /Library/Ruby/Gems/2.0.0/gems/nio4r-1.0.0/ext/nio4r/gem_make.out | |
Gems updated: timers celluloid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment