kripken/emscripten — pull request #942 by waywardmonkeys (2013-03-11 14:06:11+00:00)
Title: Use less generic names for variables.

These are generic enough that in libcxx, they get expanded into
functions which also have variables named the same thing (__x, __y)
and that then leads to a buggy libcxx.

This might seem confusing, but this chunk of code (massively simplified) demonstrates the problem:

````c++
#include
#include

template
inline
bool
boom_isless(_A1 ___x, _A2 ___y)
{
return isless(___x, ___y);
}

void working_test_isless()
{
assert(isless(-1.0, 0.F) == true);
}

void broken_test_isless()
{
assert(boom_isless(-1.0, 0.F) == true);
}

int main()
{
working_test_isless();
broken_test_isless();
}
````