Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
va_arg cannot pass structs of union type or type with bit field correctly #705
Please refer to this gist for the test source code: https://gist.github.com/4063456
This file works correctly when compiling directly using clang:
But if we use emscripten to compile it, the results are not correct:
This is very likely to be the reason of Issue #689. But I'm not 100% sure about this.