Apologies for being slightly off-topic. For WebAssembly code generation, I
need to build the latest bleeding-edge Spidermonkey, but this stopped
working recently (I think after a recent Xcode update) with errors that
look like C++11 constructs are used in the code but the compiler tries to
compile the code with an earlier C++ version, e.g.:
/Users/floh/projects/inbound/js/src/build_OPT.OBJ/dist/include/mozilla/TemplateLib.h:125:23:
warning:
variadic templates are a C++11 extension [-Wc++11-extensions]
template<bool C1, bool... Cn>
^
In file included from
/Users/floh/projects/inbound/js/src/build_OPT.OBJ/memory/mozalloc/Unified_cpp_memory_mozalloc0.cpp:2:
In file included from
/Users/floh/projects/inbound/memory/mozalloc/mozalloc.cpp:69:
/Users/floh/projects/inbound/js/src/build_OPT.OBJ/dist/include/mozilla/mozalloc.h:288:20:
warning:
'nullptr' is a keyword in C++11 [-Wc++11-compat]
return nullptr;
This is the system 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
Anybody experiencing the same and has found a solution, or what's the best
place to go with this (ticket on Bugzilla, or a specific discussion
group/mailing list)?
Thanks!
-Floh.
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.