Enable std::underlying_type for gcc >= 4.7
Albert J. Wong (王重傑)
ajwong at chromium.org
Thu Jun 12 13:50:56 PDT 2014
Hi Marshall,
gcc 4.7 added enough frontend support to implement most (not all) of
type_traits. Here's a patch that enables std::underlying_type.
FYI, this is a first in a series of ~3 that will allow most libc++ tests
for type_traits and atomics to pass on gcc >= 4.7. Will send those out as
I manage to get them fully cleaned up.
Thanks,
Albert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140612/01a31ca6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-GCC4.7-introduced-an-__underlying_type-built-in.-Use.patch
Type: application/octet-stream
Size: 2346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140612/01a31ca6/attachment.obj>
More information about the cfe-commits
mailing list