Skip to content

Instantly share code, notes, and snippets.

@mockee
Created March 18, 2011 07:29
Show Gist options
  • Save mockee/875733 to your computer and use it in GitHub Desktop.
Save mockee/875733 to your computer and use it in GitHub Desktop.
node 0.4.2 compile error
DEST_OS: darwin
DEST_CPU: x64
Parallel Jobs: 1
Product type: program
[73/75] cxx: src/platform_darwin.cc -> build/default/src/platform_darwin_4.o
/usr/bin/g++ -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DHAVE_MONOTONIC_CLOCK=0 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -Ideps/v8/include ../src/platform_darwin.cc -c -o default/src/platform_darwin_4.o
../src/platform_darwin.cc:213: error: expected constructor, destructor, or type conversion before ‘<’ token
Waf: Leaving directory `/Users/mockee/Sites/nodeProjects/node/build'
Build failed: -> task failed (err #1):
{task: cxx platform_darwin.cc -> platform_darwin_4.o}
make: *** [program] Error 1
@mathiasbynens
Copy link

See nodejs/node-v0.x-archive#801 — several patches are already available; I guess one of them will land soon.

@mathiasbynens
Copy link

This has now been fixed: nodejs/node-v0.x-archive@7bff702

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment