mirror of https://github.com/lukechilds/node.git
Browse Source
The int8_t and uint8_t typedefs on sunos/smartos depend on a number of compiler directives. Avoid ambiguity and specify signed and unsigned char explicitly. Fixes the following build error: ../src/stream_wrap.cc: In static member function 'static void* node::WriteWrap::operator new(size_t)': ../src/stream_wrap.cc:70:49: warning: no return statement in function returning non-void [-Wreturn-type] In file included from ../src/v8_typed_array.cc:26:0: ../src/v8_typed_array_bswap.h: In function 'T v8_typed_array::SwapBytes(T) [with T = signed char]': ../src/v8_typed_array_bswap.h:150:23: instantiated from 'T v8_typed_array::LoadAndSwapBytes(void*) [with T = signed char]' ../src/v8_typed_array.cc:694:7: instantiated from 'static v8::Handle<v8::Value> {anonymous}::DataView::getGeneric(const v8::Arguments&) [with T = signed char]' ../src/v8_typed_array.cc:738:40: instantiated from here ../src/v8_typed_array_bswap.h:125:16: error: size of array is negativev0.9.6-release
Ben Noordhuis
12 years ago
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue