[PATCH] Define max_align_t in C++11 and C11 mode

Hristo Venev mustrumr97 at gmail.com
Fri Oct 18 02:22:35 PDT 2013


Currently compiling with -stdlib=libstdc++ fails. libstdc++ 4.9 expects
::max_align_t to be defined in C++11 mode. gcc 4.9 defines ::max_align_t in
stddef.h in C11/C++11 mode.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131018/1e85a424/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Define-max_align_t-in-C-11-and-C11-mode.patch
Type: application/octet-stream
Size: 998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131018/1e85a424/attachment.obj>


More information about the cfe-commits mailing list