Fixing binding.gyp to work on Mac OS X 10.11
Adding -std=c++11 to xcpde compiler settings,
to avoid this error :
In file included from ../src/common.h:6:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/atomic:543:2:
error:
hi @edoardocomar - sorry it didn't work for you immediately. I also develop primarily on a macbook, and don't need to add the c++ specification. I did have that in place much earlier in the project, though, but it became unnecessary, I thought.
Here's my clang version that is successfully compiling w/o the c++11 specifier:
$ clang --version
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
would you supply your clang version, please?
Hi @alfred-landrum mine looks exactly the same:
edos-ibm-mbp:~ ecomar$ clang --version
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin