https://llvm.org/bugs/show_bug.cgi?id=25761

Reid Kleckner <r...@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Reid Kleckner <r...@google.com> ---
This is not a Clang bug, this is a boost bug. In
boost/intrusive/detail/parent_from_member.hpp, the implementation of
offset_from_pointer_to_member goes down the #idefs to the #else case, which
subtracts one from the offset to create the off-by-one pointer.

BOOST_INTRUSIVE_MSVC_ABI_PTR_TO_MEMBER should be defined for clang-cl.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to