Node.js JavaScript runtime 🐢🚀
 
 
 
 
 
 
Go to file
Ben Noordhuis b509ae67b7 typed arrays: fix sunos signed/unsigned char issue
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
2013-01-11 18:35:03 +01:00
benchmark benchmark: Make flamegraphs a bit more useful 2012-12-29 15:32:26 -08:00
deps deps: upgrade libuv to 9aab5d4 2013-01-11 14:00:19 +01:00
doc stream: Add readable.push(chunk) method 2013-01-10 13:49:53 -08:00
lib Revert "path: fix bugs related to paths with trailing slashes" 2013-01-11 16:19:21 +01:00
src typed arrays: fix sunos signed/unsigned char issue 2013-01-11 18:35:03 +01:00
test test: child process { stdio:'inherit' } 2013-01-11 09:14:09 -08:00
tools test: run tests in alphabetical order 2013-01-10 01:58:30 +01:00
.gitattributes Explicitly disable cr/lf conversion for test fixtures 2011-08-10 19:59:37 +02:00
.gitignore gitignore: ignore .svn directories 2012-07-07 23:19:12 +02:00
.mailmap Update AUTHORS and .mailmap 2012-10-10 23:14:55 +02:00
.travis.yml test: add `.travis.yml` for testing on Travis CI 2011-12-05 16:50:55 -08:00
AUTHORS 2012.12.30, Version 0.9.5 (Unstable) 2012-12-29 16:54:24 -08:00
BSDmakefile Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
CONTRIBUTING.md doc: add CONTRIBUTING.md 2012-12-31 01:50:48 +01:00
ChangeLog 2012.12.30, Version 0.9.5 (Unstable) 2012-12-29 16:54:24 -08:00
LICENSE deps: upgrade libuv to 665a316 2012-11-16 17:58:42 +01:00
Makefile build: support ARM in makefile target 'binary' 2012-11-27 07:14:21 +01:00
README.md doc: document prerequisites in README 2012-09-02 13:32:57 +02:00
common.gypi build: disable use of thin archive 2012-11-21 14:06:37 +01:00
configure configure: define "arm_fpu" and "arm_neon" for ARM 2013-01-10 17:13:59 -08:00
node.gyp dtrace: x64 ustack helper 2013-01-07 23:04:11 +04:00
vcbuild.bat windows: improve Visual Studio Express build support 2013-01-03 23:38:25 +01:00

README.md

Evented I/O for V8 javascript. Build Status

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

Resources for Newcomers