http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52119
Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-02-04 Ever Confirmed|0 |1 --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-02-04 09:58:38 UTC --- The problematic macro is extremely old. Using #define __glibcxx_min(T) \ (__glibcxx_signed (T) ? -__glibcxx_max(T) - 1 : (T)0) seems indeed ok to me. Did you actually test it with clang?