http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56834
Bug #: 56834 Summary: Errors in <array> with --enable-symvers=gnu-versioned-namespace and -D_GLIBCXX_DEBUG Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: ai.az...@gmail.com Created attachment 29794 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29794 Output of -v option The following simple code compiling with -std=c++11 and -D_GLIBCXX_DEBUG is rejected by GCC 4.9.0 20130331 configured with --enable-symvers=gnu-versioned-namespace. //-------------- #include <array> //-------------- The issue is not reproduced when either --enable-symvers=gnu-versioned-namespace (in GCC configure option) or -D_GLIBCXX_DEBUG (in compile option) is unset.