[Bug libstdc++/81064] [8 Regression] Inline namespace regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81064 François Dumont changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #7 from François Dumont --- Versioned namespace simplified to be compatible with front end evolution.
[Bug libstdc++/81064] [8 Regression] Inline namespace regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81064 --- Comment #6 from François Dumont --- Author: fdumont Date: Sun Jul 23 08:41:35 2017 New Revision: 250458 URL: https://gcc.gnu.org/viewcvs?rev=250458=gcc=rev Log: 2017-07-23 François DumontPR libstdc++/81064 * include/bits/algorithmfwd.h: Reorganize versioned namespace. * include/bits/basic_string.h: Likewise. * include/bits/c++config: Likewise. * include/bits/deque.tcc: Likewise. * include/bits/forward_list.h: Likewise. * include/bits/forward_list.tcc: Likewise. * include/bits/hashtable_policy.h: Likewise. * include/bits/list.tcc: Likewise. * include/bits/move.h: Likewise. * include/bits/quoted_string.h: Likewise. * include/bits/random.h: Likewise. * include/bits/random.tcc: Likewise. * include/bits/regex.h: Likewise. * include/bits/regex.tcc: Likewise. * include/bits/regex_automaton.h: Likewise. * include/bits/regex_automaton.tcc: Likewise. * include/bits/regex_compiler.h: Likewise. * include/bits/regex_compiler.tcc: Likewise. * include/bits/regex_constants.h: Likewise. * include/bits/regex_error.h: Likewise. * include/bits/regex_executor.h: Likewise. * include/bits/regex_executor.tcc: Likewise. * include/bits/regex_scanner.h: Likewise. * include/bits/regex_scanner.tcc: Likewise. * include/bits/specfun.h: Likewise. * include/bits/stl_algo.h: Likewise. * include/bits/stl_algobase.h: Likewise. * include/bits/stl_bvector.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_iterator.h: Likewise. * include/bits/stl_iterator_base_funcs.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_map.h: Likewise. * include/bits/stl_multimap.h: Likewise. * include/bits/stl_multiset.h: Likewise. * include/bits/stl_relops.h: Likewise. * include/bits/stl_set.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/bits/uniform_int_dist.h: Likewise. * include/bits/unordered_map.h: Likewise. * include/bits/unordered_set.h: Likewise. * include/bits/vector.tcc: Likewise. * include/c_global/cmath: Likewise. * include/c_std/cmath: Likewise. * include/decimal/decimal: Likewise. * include/decimal/decimal.h: Likewise. * include/experimental/algorithm: Likewise. * include/experimental/any: Likewise. * include/experimental/array: Likewise. * include/experimental/bits/erase_if.h: Likewise. * include/experimental/bits/fs_dir.h: Likewise. * include/experimental/bits/fs_fwd.h: Likewise. * include/experimental/bits/fs_ops.h: Likewise. * include/experimental/bits/fs_path.h: Likewise. * include/experimental/bits/lfts_config.h: Likewise. * include/experimental/bits/shared_ptr.h: Likewise. * include/experimental/bits/string_view.tcc: Likewise. * include/experimental/chrono: Likewise. * include/experimental/deque: Likewise. * include/experimental/filesystem: Likewise. * include/experimental/forward_list: Likewise. * include/experimental/functional: Likewise. * include/experimental/iterator: Likewise. * include/experimental/list: Likewise. * include/experimental/map: Likewise. * include/experimental/memory: Likewise. * include/experimental/memory_resource: Likewise. * include/experimental/numeric: Likewise. * include/experimental/optional: Likewise. * include/experimental/propagate_const: Likewise. * include/experimental/random: Likewise. * include/experimental/ratio: Likewise. * include/experimental/regex: Likewise. * include/experimental/set: Likewise. * include/experimental/source_location: Likewise. * include/experimental/string: Likewise. * include/experimental/string_view: Likewise. * include/experimental/system_error: Likewise. * include/experimental/tuple: Likewise. * include/experimental/type_traits: Likewise. * include/experimental/unordered_map: Likewise. * include/experimental/unordered_set: Likewise. * include/experimental/utility: Likewise. * include/experimental/vector: Likewise. * include/ext/bitmap_allocator.h: Likewise. * include/ext/codecvt_specializations.h: Likewise. * include/ext/rope: Likewise. * include/ext/typelist.h: Likewise. * include/std/chrono: Likewise. * include/std/complex: Likewise. * include/std/functional: Likewise. * include/std/numeric: Likewise. * include/std/string_view: Likewise. * include/std/thread: Likewise. *
[Bug libstdc++/81064] [8 Regression] Inline namespace regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81064 --- Comment #5 from Jonathan Wakely --- Maybe we could take this opportunity to get rid of most of the __8 namespaces and only have std::__8 and __gnu_cxx::__8, rather than std::__8 and numerous std::xxx::__8 namespaces. That would simplify the code, as the correct placement of __GLIBCXX_BEGIN_NAMESPACE_VERSION and _GLIBCXX_END_NAMESPACE_VERSION is a constant source of bugs.
[Bug libstdc++/81064] [8 Regression] Inline namespace regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81064 --- Comment #4 from Jonathan Wakely --- We have this structure in libstdc++: namespace std { inline namespace __8 { } inline namespace literals { inline namespace chrono_literals { inline namespace __8 { } } inline namespace complex_literals { inline namespace __8 { } } inline namespace string_literals { inline namespace __8 { } } inline namespace string_view_literals { inline namespace __8 { } } } } The innermost __8 namespaces conflict with std::__8 so we'll need to remove them. Maybe we can change to: namespace std { inline namespace __8 { inline namespace literals { inline namespace chrono_literals { } inline namespace complex_literals { } inline namespace string_literals { } inline namespace string_view_literals { } } } }
[Bug libstdc++/81064] [8 Regression] Inline namespace regression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81064 Nathan Sidwell changed: What|Removed |Added Keywords|rejects-valid | Status|ASSIGNED|NEW Component|c++ |libstdc++ Assignee|nathan at gcc dot gnu.org |unassigned at gcc dot gnu.org