This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3 patch] fix libstdc++/59247


This fixes the versioned namespace build by moving some macros and
adding std::experimental in c++config.

Bootstrap works again now, but regex tests all fail with versioned
namespaces due to a lookup problem with friend functions and inline
namespaces (PR 59256).

2013-11-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

        PR libstdc++/59247
        * include/bits/c++config (_GLIBCXX_INLINE_VERSION): Declare namespace
        std::experimental::__7 as inline.
        * include/bits/regex.h (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Do not
        enclose namespace __detail.
        * include/bits/regex.tcc (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Likewise.
        * include/std/iomanip (_GLIBCXX_BEGIN_NAMESPACE_VERSION): Likewise.
        * include/ext/pb_ds/tag_and_trait.hpp (detail): Fix comment.
        * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line number.


Tested x86_64-linux, with and without
--enable-symvers=gnu-versioned-namespace, committed to trunk.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]