Fixes the following gcc 4.7+ warning: ../src/unix/internal.h:105:13: warning: always_inline function might not be inlinable [-Wattributes] gcc wants the always_inline function to be annotated with the 'inline' keyword which we can't do because we compile in C89 mode. Using __inline is not an option because that makes clang generate warnings when -Wlanguage-extension-token is enabled. Therefore, remove the always_inline attribute altogether and hope that the compiler is smart enough to inline the functions. |
||
|---|---|---|
| .. | ||
| unix | ||
| win | ||
| fs-poll.c | ||
| inet.c | ||
| uv-common.c | ||
| uv-common.h | ||