Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install fails on OSX with clang (xcode 4) compiler #3

Closed
vincentcr opened this issue Aug 11, 2012 · 0 comments
Closed

install fails on OSX with clang (xcode 4) compiler #3

vincentcr opened this issue Aug 11, 2012 · 0 comments

Comments

@vincentcr
Copy link

with the latest xcode compiler on mac, the installation fails with:

  c++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_DARWIN_USE_64_BIT_INODE=1' -I/Users/vincent/.node-gyp/0.8.4/src -I/Users/vincent/.node-gyp/0.8.4/deps/uv/include -I/Users/vincent/.node-gyp/0.8.4/deps/v8/include  -Os -gdwarf-2 -Wnewline-eof -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF ./Release/.deps/Release/obj.target/bignum/bignum.o.d.raw  -c -o Release/obj.target/bignum/bignum.o ../bignum.cc
../bignum.cc:270:26: error: variable length array of non-POD element type 'Handle<v8::Value>'
    Handle<Value> newArgs[len];

I was able to get around this by overriding the default compiler like this:

CXX=g++ npm install bigint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants