[LLVMbugs] [Bug 10184] New: type traits workaround for libstdc++ 4.2 breaks boost
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 23 15:30:18 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10184
Summary: type traits workaround for libstdc++ 4.2 breaks boost
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: richard-llvm at metafoo.co.uk
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
We revert the following keywords to normal identifiers when libstdc++ 4.2's
type traits header is included:
__is_arithmetic
__is_convertible
__is_empty
__is_floating_point
__is_function
__is_fundamental
__is_integral
__is_member_function_pointer
__is_member_pointer
__is_pod
__is_pointer
__is_same
__is_scalar
__is_signed
__is_unsigned
__is_void
Consequently, these type traits are unavailable to code which wants to use both
libstdc++ 4.2 and these traits (such as boost). Perhaps we should add another
set of builtins of the form __builtin_is_foo which don't evaporate in the
presence of libstdc++.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list