[Bug libstdc++/56834] New: Errors in <array> with --enable-symvers=gnu-versioned-namespace and -D_GLIBCXX_DEBUG

ai.azuma at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 3 12:55:00 GMT 2013


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: unassigned@gcc.gnu.org
        ReportedBy: ai.azuma@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.



More information about the Gcc-bugs mailing list