Page MenuHomePhabricator

[Win32] Overload ==, != for locale_t and long long

Authored by pirama on Jun 28 2018, 2:56 PM.



_is_chartype_l (needed for isxdigit_l) in MinGW compares locale_t and NULL.
NULL is 'long long' for 64-bit, and this results in ambiguous overloads when
compiled with Clang. Define a concrete overload for the operators to fix the

Diff Detail

rCXX libc++

Event Timeline

pirama created this revision.Jun 28 2018, 2:56 PM
mstorsjo accepted this revision.Jun 28 2018, 11:07 PM
This revision is now accepted and ready to land.Jun 28 2018, 11:07 PM
This revision was automatically updated to reflect the committed changes.