On 15/12/14 16:53, Alan Conway wrote:
I took out the GNU extension trick (didn't even know it was a GNU extension) so it should be more portable now. I guess the javascript cross-compiler uses a non-gnu CPP.
Yeah, emscripten is actually an LLVM backend, so actually under the hood uses Clang as the compiler.

IMHO it's actually quite a good thing to be compiling with that even aside from the JavaScript awesomeness :-) Clang seems to do a much more thorough job when it comes to error messages than gcc seems to. I actually committed a couple of trivial changes at the weekend to address some warnings that were being flagged and I also then re-enabled -Werror in the JavaScript CMakeLists.txt, so from now on compiler warnings are going to fail the build. I personally think that's a good thing.

Frase

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to