http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119
--- Comment #4 from Jeffrey Yasskin <jyasskin at gcc dot gnu.org> 2012-02-05 02:04:00 UTC --- I hadn't tested #define __glibcxx_min(T) \ (__glibcxx_signed (T) ? -__glibcxx_max(T) - 1 : (T)0) but now I have, and it works with clang.