
31 Aug
2011
31 Aug
'11
4:40 p.m.
John Maddock wrote:
Boost.TypeTraits does not use intrinsics for clang yet. (c.f. https://svn.boost.org/trac/boost/changeset/72725)
this explains why it is not working now. Is someone working on this issue?
Not me, we need a Clang expert to look into it - or at least someone with access to Clang to take care of the testing - someone did submit a patch to enable intrinsic support for Clang, but it broke more things than it fixed so it got reverted :-(
Let's proceed step by step. As a first step, I made a patch to use clang's intrinsics except problematic intrinsics (i.e. `is_pod` and `is_empty`). All the tests run successfully on gcc-4.4, 4.5, 4.6, clang (trunk) and Mac OS X Lion's clang (Apple clang version 2.1). Regards, Michel