You are not logged in.
Environment: Arch Linux x64
---
Trying to compile my projects with Clang after updating to GCC 4.9 fails. I'm using the `-std=c++11` flag.
/usr/include/c++/4.9.0/cstddef:51: error: no member named 'max_align_t' in the global namespace
using ::max_align_t;
~~^
Seems like Clang has some issues with the new libstdc++ (4.9). I've linked similar reports below.
---
Similar reports:
http://sourceforge.net/apps/trac/cppcheck/ticket/5757
https://bugs.debian.org/cgi-bin/bugrepo … bug=744872
http://stackoverflow.com/questions/1777 … dio-header
Offline
Link to the commit for clang addressing the issue. http://reviews.llvm.org/rL201729
Offline
Needs a bug report to get this fixed in the repos.
Offline
I have the same problem:
https://stackoverflow.com/questions/234 … 1-option-i
Same error message. By the way, the C++11 snippet compiles without the "-std=c++11" flag.
@Scimmia: If I understand correctly, it is already fixed in upstream, so the bug report should go to bugs.archlinux.org?
Offline
Yep.
Offline
If this been reported already, could someone provide a link to the bug?
Offline
I just filed a bug report:
https://bugs.archlinux.org/task/40229
Offline