mirror of https://github.com/nodejs/node.git
b509ae67b7
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 negative |
||
---|---|---|
benchmark | ||
deps | ||
doc | ||
lib | ||
src | ||
test | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
BSDmakefile | ||
CONTRIBUTING.md | ||
ChangeLog | ||
LICENSE | ||
Makefile | ||
README.md | ||
common.gypi | ||
configure | ||
node.gyp | ||
vcbuild.bat |
README.md
Evented I/O for V8 javascript.
To build:
Prerequisites (Unix only):
* Python 2.6 or 2.7
* GNU Make 3.81 or newer
* libexecinfo (FreeBSD and OpenBSD only)
Unix/Macintosh:
./configure
make
make install
Windows:
vcbuild.bat
To run the tests:
Unix/Macintosh:
make test
Windows:
vcbuild.bat test
To build the documentation:
make doc
To read the documentation:
man doc/node.1