public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/26142] New: global debug namespace clashes everywhere
@ 2006-02-07 0:16 mueller at gcc dot gnu dot org
2006-02-07 0:46 ` [Bug libstdc++/26142] " pinskia at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 13+ messages in thread
From: mueller at gcc dot gnu dot org @ 2006-02-07 0:16 UTC (permalink / raw)
To: gcc-bugs
the
namespace debug = std::__gnu_debug;
from debug/debug.h (which is pulled in by almost every STL header) causes
quite some clashes and is a huge PITA, as debug is often a user application
namespace or
function.
why can't this be inside the std:: namespace or at least not be pulled in
by default? (without explicitely including this header, or even using some
define?)
this seems a violation of namespace cleanness to me. is this really defined
in ISO C++?
--
Summary: global debug namespace clashes everywhere
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mueller at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
@ 2006-02-07 0:46 ` pinskia at gcc dot gnu dot org
2006-02-07 5:43 ` bkoz at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-07 0:46 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2039 bytes --]
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-07 00:46 -------
Introduced by:
2005-12-18 Benjamin Kosnik <bkoz@redhat.com>
* include/debug/formatter: Simplify namespace qualifications for
current, nested-only reality. Add top-level namespace alias,
namespace debug, for debug-mode containers.
* include/debug/safe_iterator.h: Same.
* include/debug/set.h: Same.
* include/debug/hash_multimap.h: Same.
* include/debug/hash_set.h: Same.
* include/debug/bitset
* include/debug/safe_sequence.h: Same.
* include/debug/multiset.h: Same.
* include/debug/safe_base.h: Same.
* include/debug/functions.h: Same.
* include/debug/safe_iterator.tcc
* include/debug/hash_multiset.h: Same.
* include/debug/vector
* include/debug/map.h: Same.
* include/debug/deque
* include/debug/hash_map.h: Same.
* include/debug/string
* include/debug/macros.h: Same.
* include/debug/list
* include/debug/debug.h: Same.
* include/debug/multimap.h: Same.
* src/debug.cc: Same.
Hmm, this patch explicately introduced this. This seems very bad and in fact
against the standard.
In fact this cause us to produce an error and an ICE for the following code:
#include <iostream>
namespace debug
{
int i;
}
------
t.cc:4: error: namespace alias debug not allowed here, assuming
std::__gnu_debug
t.cc:4: internal compiler error: in resume_scope, at cp/name-lookup.c:1372
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The ICE should be filed as a seperate bug.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bkoz at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
2006-02-07 0:46 ` [Bug libstdc++/26142] " pinskia at gcc dot gnu dot org
@ 2006-02-07 5:43 ` bkoz at gcc dot gnu dot org
2006-02-07 14:20 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-02-07 5:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bkoz at gcc dot gnu dot org 2006-02-07 05:43 -------
Sorry, the alias should only be visible when the user has explicitly invoked
the debug mode, otherwise absent.
I'll fix this.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
2006-02-07 0:46 ` [Bug libstdc++/26142] " pinskia at gcc dot gnu dot org
2006-02-07 5:43 ` bkoz at gcc dot gnu dot org
@ 2006-02-07 14:20 ` pinskia at gcc dot gnu dot org
2006-02-07 14:49 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-07 14:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-07 14:20 -------
Confirmed.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-02-07 14:20:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-02-07 14:20 ` pinskia at gcc dot gnu dot org
@ 2006-02-07 14:49 ` pinskia at gcc dot gnu dot org
2006-02-08 20:59 ` bkoz at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-07 14:49 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 699 bytes --]
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-07 14:49 -------
(In reply to comment #1)
> In fact this cause us to produce an error and an ICE for the following code:
> #include <iostream>
>
> namespace debug
> {
> int i;
> }
> ------
> t.cc:4: error: namespace alias debug not allowed here, assuming
> std::__gnu_debug
> t.cc:4: internal compiler error: in resume_scope, at cp/name-lookup.c:1372
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
>
> The ICE should be filed as a seperate bug.
I filed that as PR 26155.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-02-07 14:49 ` pinskia at gcc dot gnu dot org
@ 2006-02-08 20:59 ` bkoz at gcc dot gnu dot org
2006-02-08 21:42 ` bkoz at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-02-08 20:59 UTC (permalink / raw)
To: gcc-bugs
--
bkoz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |bkoz at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2006-02-07 14:20:39 |2006-02-08 20:59:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-02-08 20:59 ` bkoz at gcc dot gnu dot org
@ 2006-02-08 21:42 ` bkoz at gcc dot gnu dot org
2006-02-09 4:31 ` bkoz at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-02-08 21:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from bkoz at gcc dot gnu dot org 2006-02-08 21:42 -------
Created an attachment (id=10806)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10806&action=view)
patch for debug -> std::debug
Whoops, attached to the wrong bug at first. Here, this is testing, but once
done will be checked in.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-02-08 21:42 ` bkoz at gcc dot gnu dot org
@ 2006-02-09 4:31 ` bkoz at gcc dot gnu dot org
2006-02-09 5:07 ` bkoz at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-02-09 4:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from bkoz at gcc dot gnu dot org 2006-02-09 04:31 -------
Subject: Bug 26142
Author: bkoz
Date: Thu Feb 9 04:31:38 2006
New Revision: 110786
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110786
Log:
2006-02-08 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/26142
* include/debug/debug.h: Move debug alias inside namespace std,
same with namespace __gnu_cxx. Add top-level __gnu_debug
namespace.
* include/debug/hash_multimap.h: Nest within __gnu_cxx, not
std. Also, change nesting namespace name from __gnu_debug_def to
__gnu_debug.
* include/debug/hash_map.h: Same.
* include/debug/hash_multiset.h: Same.
* include/debug/hash_set.h: Same.
* docs/html/debug.html: Same.
* testsuite/23_containers/vector/26412.cc: New.
* testsuite/23_containers/vector/invalidation/1.cc: Correct
qualifications for debug namespace change.
* testsuite/23_containers/vector/invalidation/2.cc: Same.
* testsuite/23_containers/vector/invalidation/3.cc: Same.
* testsuite/23_containers/vector/invalidation/4.cc: Same.
* testsuite/23_containers/deque/invalidation/1.cc: Same.
* testsuite/23_containers/deque/invalidation/2.cc: Same.
* testsuite/23_containers/deque/invalidation/3.cc: Same.
* testsuite/23_containers/deque/invalidation/4.cc: Same.
* testsuite/23_containers/multiset/invalidation/1.cc: Same.
* testsuite/23_containers/multiset/invalidation/2.cc: Same.
* testsuite/23_containers/multimap/invalidation/1.cc: Same.
* testsuite/23_containers/multimap/invalidation/2.cc: Same.
* testsuite/23_containers/bitset/invalidation/1.cc: Same.
* testsuite/23_containers/bitset/cons/16020.cc: Same.
* testsuite/23_containers/bitset/operations/13838.cc: Same.
* testsuite/23_containers/list/invalidation/1.cc: Same.
* testsuite/23_containers/list/invalidation/2.cc: Same.
* testsuite/23_containers/list/invalidation/3.cc: Same.
* testsuite/23_containers/list/invalidation/4.cc: Same.
* testsuite/23_containers/set/invalidation/1.cc: Same.
* testsuite/23_containers/set/invalidation/2.cc: Same.
* testsuite/23_containers/map/invalidation/1.cc: Same.
* testsuite/23_containers/map/invalidation/2.cc: Same.
* testsuite/23_containers/map/modifiers/insert/16813.cc: Same.
* testsuite/21_strings/basic_string/2.cc: Same.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/docs/html/debug.html
trunk/libstdc++-v3/include/debug/debug.h
trunk/libstdc++-v3/include/debug/hash_map.h
trunk/libstdc++-v3/include/debug/hash_multimap.h
trunk/libstdc++-v3/include/debug/hash_multiset.h
trunk/libstdc++-v3/include/debug/hash_set.h
trunk/libstdc++-v3/testsuite/21_strings/basic_string/2.cc
trunk/libstdc++-v3/testsuite/23_containers/bitset/cons/16020.cc
trunk/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/bitset/operations/13838.cc
trunk/libstdc++-v3/testsuite/23_containers/deque/invalidation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/deque/invalidation/2.cc
trunk/libstdc++-v3/testsuite/23_containers/deque/invalidation/3.cc
trunk/libstdc++-v3/testsuite/23_containers/deque/invalidation/4.cc
trunk/libstdc++-v3/testsuite/23_containers/list/invalidation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/list/invalidation/2.cc
trunk/libstdc++-v3/testsuite/23_containers/list/invalidation/3.cc
trunk/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc
trunk/libstdc++-v3/testsuite/23_containers/map/invalidation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/map/invalidation/2.cc
trunk/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/16813.cc
trunk/libstdc++-v3/testsuite/23_containers/multimap/invalidation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/multimap/invalidation/2.cc
trunk/libstdc++-v3/testsuite/23_containers/multiset/invalidation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/multiset/invalidation/2.cc
trunk/libstdc++-v3/testsuite/23_containers/set/invalidation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/set/invalidation/2.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/invalidation/1.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/invalidation/2.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/invalidation/3.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/invalidation/4.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-02-09 4:31 ` bkoz at gcc dot gnu dot org
@ 2006-02-09 5:07 ` bkoz at gcc dot gnu dot org
2006-02-22 17:17 ` bkoz at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-02-09 5:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from bkoz at gcc dot gnu dot org 2006-02-09 05:07 -------
Subject: Bug 26142
Author: bkoz
Date: Thu Feb 9 05:07:09 2006
New Revision: 110787
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110787
Log:
2006-02-08 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/26142
* include/debug/debug.h: Move debug alias inside namespace std,
same with namespace __gnu_cxx. Add top-level __gnu_debug
namespace.
* include/debug/hash_multimap.h: Nest within __gnu_cxx, not
std. Also, change nesting namespace name from __gnu_debug_def to
__gnu_debug.
* include/debug/hash_map.h: Same.
* include/debug/hash_multiset.h: Same.
* include/debug/hash_set.h: Same.
* docs/html/debug.html: Same.
* testsuite/23_containers/vector/26412.cc: New.
* testsuite/23_containers/vector/invalidation/1.cc: Correct
qualifications for debug namespace change.
* testsuite/23_containers/vector/invalidation/2.cc: Same.
* testsuite/23_containers/vector/invalidation/3.cc: Same.
* testsuite/23_containers/vector/invalidation/4.cc: Same.
* testsuite/23_containers/deque/invalidation/1.cc: Same.
* testsuite/23_containers/deque/invalidation/2.cc: Same.
* testsuite/23_containers/deque/invalidation/3.cc: Same.
* testsuite/23_containers/deque/invalidation/4.cc: Same.
* testsuite/23_containers/multiset/invalidation/1.cc: Same.
* testsuite/23_containers/multiset/invalidation/2.cc: Same.
* testsuite/23_containers/multimap/invalidation/1.cc: Same.
* testsuite/23_containers/multimap/invalidation/2.cc: Same.
* testsuite/23_containers/bitset/invalidation/1.cc: Same.
* testsuite/23_containers/bitset/cons/16020.cc: Same.
* testsuite/23_containers/bitset/operations/13838.cc: Same.
* testsuite/23_containers/list/invalidation/1.cc: Same.
* testsuite/23_containers/list/invalidation/2.cc: Same.
* testsuite/23_containers/list/invalidation/3.cc: Same.
* testsuite/23_containers/list/invalidation/4.cc: Same.
* testsuite/23_containers/set/invalidation/1.cc: Same.
* testsuite/23_containers/set/invalidation/2.cc: Same.
* testsuite/23_containers/map/invalidation/1.cc: Same.
* testsuite/23_containers/map/invalidation/2.cc: Same.
* testsuite/23_containers/map/modifiers/insert/16813.cc: Same.
* testsuite/21_strings/basic_string/2.cc: Same.
Added:
trunk/libstdc++-v3/testsuite/23_containers/vector/26412.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-02-09 5:07 ` bkoz at gcc dot gnu dot org
@ 2006-02-22 17:17 ` bkoz at gcc dot gnu dot org
2006-02-22 18:53 ` mueller at gcc dot gnu dot org
2006-03-16 1:42 ` bkoz at gcc dot gnu dot org
10 siblings, 0 replies; 13+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-02-22 17:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from bkoz at gcc dot gnu dot org 2006-02-22 17:17 -------
This is now fixed to my satisfaction.
--
bkoz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
` (8 preceding siblings ...)
2006-02-22 17:17 ` bkoz at gcc dot gnu dot org
@ 2006-02-22 18:53 ` mueller at gcc dot gnu dot org
2006-03-16 1:42 ` bkoz at gcc dot gnu dot org
10 siblings, 0 replies; 13+ messages in thread
From: mueller at gcc dot gnu dot org @ 2006-02-22 18:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from mueller at gcc dot gnu dot org 2006-02-22 18:53 -------
Yes, thanks.
--
mueller at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
` (9 preceding siblings ...)
2006-02-22 18:53 ` mueller at gcc dot gnu dot org
@ 2006-03-16 1:42 ` bkoz at gcc dot gnu dot org
10 siblings, 0 replies; 13+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-03-16 1:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from bkoz at gcc dot gnu dot org 2006-03-16 01:42 -------
Subject: Bug 26142
Author: bkoz
Date: Thu Mar 16 01:42:24 2006
New Revision: 112114
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112114
Log:
2006-02-22 Paolo Carlini <pcarlini@suse.de>
* include/debug/list (splice): Remove splice_alloc check, redundant
after implementing the splice bits of N1599.
2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/cmath.tcc: Use _GLIBCXX_BEGIN_NAMESPACE,
_GLIBCXX_END_NAMESPACE.
2006-02-21 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Simplify debug namespaces.
* include/ext/hash_set: Specialize insert_iterator after norm,
debug containers have been (optionally) declared. Use nested
namespaces.
* include/ext/hash_map: Same.
* include/debug/hash_map.h (insert): Add specialization for value
pointer types.
* include/debug/hash_set.h (insert): Same.
* include/debug/hash_multimap.h: Change __gnu_debug_def to __debug.
* include/debug/set.h: Same.
* include/debug/bitset: Same.
* include/debug/multiset.h: Same.
* include/debug/hash_multiset.h: Same.
* include/debug/vector: Same.
* include/debug/map.h: Same.
* include/debug/deque: Same.
* include/debug/list: Same.
* include/debug/multimap.h. Same.
* include/debug/macros.h: Use __gnu_debug.
* include/debug/debug.h: Same.
* include/debug/formatter.h: Same.
* include/debug/safe_sequence.h: Same.
* include/debug/functions.h: Same.
* include/debug/safe_base.h: Same.
* include/debug/safe_iterator.h: Same.
* include/debug/safe_iterator.tcc: Same.
(_M_invalidate): Adjust compare order.
* include/debug/string: Change std::__gnu_debug to __gnu_debug.
* include/ext/hashtable.h: Formatting fixes.
* include/bits/stl_map.h: Formatting fixes.
* src/compatibility.cc: Adjust compatibility symbols for old debug
mode model.
* src/debug_list.cc: Tweak.
* src/debug.cc: Adjust namespaces.
* docs/html/debug_mode.html: Adjust namespace names.
* testsuite/25_algorithms/heap/heap.cc: Restore _GLIBCXX_DEBUG
macro guards, as count values differ when in debug mode.
* testsuite/23_containers/vector/26412.cc: Move to...
* testsuite/23_containers/vector/26412-1.cc: ... here.
* testsuite/23_containers/vector/26412-2.cc: Add.
* include/ext/pb_assoc/detail/standard_policies.hpp
(PB_ASSOC_HASH_NAMESPACE): Remove, use __gnu_cxx::hash_map and
std::equal_to.
* configure.ac (libtool_VERSION): To 6:8:0.
* configure: Regenerate.
* config/abi/pre/gnu.ver: Revert to exporting __gnu_debug symbols.
(GLIBCXX_3.4.8): New.
* testsuite/testsuite_abi.cc: Add GLIBCXX_3.4.8 to known versions.
2006-02-08 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/26142
* include/debug/debug.h: Move debug alias inside namespace std,
same with namespace __gnu_cxx. Add top-level __gnu_debug
namespace.
* include/debug/hash_multimap.h: Nest within __gnu_cxx, not
std. Also, change nesting namespace name from __gnu_debug_def to
__gnu_debug.
* include/debug/hash_map.h: Same.
* include/debug/hash_multiset.h: Same.
* include/debug/hash_set.h: Same.
* docs/html/debug.html: Same.
* testsuite/23_containers/vector/26412.cc: New.
* testsuite/23_containers/vector/invalidation/1.cc: Correct
qualifications for debug namespace change.
* testsuite/23_containers/vector/invalidation/2.cc: Same.
* testsuite/23_containers/vector/invalidation/3.cc: Same.
* testsuite/23_containers/vector/invalidation/4.cc: Same.
* testsuite/23_containers/deque/invalidation/1.cc: Same.
* testsuite/23_containers/deque/invalidation/2.cc: Same.
* testsuite/23_containers/deque/invalidation/3.cc: Same.
* testsuite/23_containers/deque/invalidation/4.cc: Same.
* testsuite/23_containers/multiset/invalidation/1.cc: Same.
* testsuite/23_containers/multiset/invalidation/2.cc: Same.
* testsuite/23_containers/multimap/invalidation/1.cc: Same.
* testsuite/23_containers/multimap/invalidation/2.cc: Same.
* testsuite/23_containers/bitset/invalidation/1.cc: Same.
* testsuite/23_containers/bitset/cons/16020.cc: Same.
* testsuite/23_containers/bitset/operations/13838.cc: Same.
* testsuite/23_containers/list/invalidation/1.cc: Same.
* testsuite/23_containers/list/invalidation/2.cc: Same.
* testsuite/23_containers/list/invalidation/3.cc: Same.
* testsuite/23_containers/list/invalidation/4.cc: Same.
* testsuite/23_containers/set/invalidation/1.cc: Same.
* testsuite/23_containers/set/invalidation/2.cc: Same.
* testsuite/23_containers/map/invalidation/1.cc: Same.
* testsuite/23_containers/map/invalidation/2.cc: Same.
* testsuite/23_containers/map/modifiers/insert/16813.cc: Same.
* testsuite/21_strings/basic_string/2.cc: Same.
Added:
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/26412-1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/26412-2.cc
Modified:
branches/libstdcxx_so_7-branch/libstdc++-v3/ChangeLog
branches/libstdcxx_so_7-branch/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver
branches/libstdcxx_so_7-branch/libstdc++-v3/config/abi/pre/gnu.ver
branches/libstdcxx_so_7-branch/libstdc++-v3/docs/html/debug.html
branches/libstdcxx_so_7-branch/libstdc++-v3/docs/html/debug_mode.html
branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/c++config
branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/stl_map.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/c_std/cmath.tcc
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/bitset
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/debug.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/deque
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/formatter.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/functions.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/hash_map.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/hash_multimap.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/hash_multiset.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/hash_set.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/list
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/macros.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/map.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/multimap.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/multiset.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/safe_base.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/safe_iterator.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/safe_iterator.tcc
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/safe_sequence.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/set.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/string
branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/vector
branches/libstdcxx_so_7-branch/libstdc++-v3/include/ext/hash_map
branches/libstdcxx_so_7-branch/libstdc++-v3/include/ext/hash_set
branches/libstdcxx_so_7-branch/libstdc++-v3/include/ext/hashtable.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/ext/pb_assoc/detail/standard_policies.hpp
branches/libstdcxx_so_7-branch/libstdc++-v3/src/debug.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/src/debug_list.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/21_strings/basic_string/2.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/bitset/cons/16020.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/bitset/invalidation/1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/bitset/operations/13838.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/deque/invalidation/1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/deque/invalidation/2.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/deque/invalidation/3.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/deque/invalidation/4.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/list/invalidation/1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/list/invalidation/2.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/list/invalidation/3.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/list/invalidation/4.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/map/invalidation/1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/map/invalidation/2.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/map/modifiers/insert/16813.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/multimap/invalidation/1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/multimap/invalidation/2.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/multiset/invalidation/1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/multiset/invalidation/2.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/set/invalidation/1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/set/invalidation/2.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/invalidation/1.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/invalidation/2.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/invalidation/3.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/invalidation/4.cc
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/25_algorithms/heap/heap.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug libstdc++/26142] global debug namespace clashes everywhere
[not found] <bug-26142-4@http.gcc.gnu.org/bugzilla/>
@ 2023-09-04 16:29 ` cvs-commit at gcc dot gnu.org
0 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-09-04 16:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26142
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:affbb7b4322a01cecddaa4dfb70faee925a2348b
commit r14-3654-gaffbb7b4322a01cecddaa4dfb70faee925a2348b
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Sep 4 12:12:35 2023 +0100
libstdc++: Fix filenames and comments in tests [PR26142]
These tests have transposed digits in the filenames and comments.
libstdc++-v3/ChangeLog:
PR libstdc++/26142
* testsuite/23_containers/vector/26412-1.cc: Moved to...
* testsuite/23_containers/vector/26142-1.cc: ...here.
* testsuite/23_containers/vector/26412-2.cc: Moved to...
* testsuite/23_containers/vector/26142-2.cc: ...here.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-09-04 16:29 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-07 0:16 [Bug libstdc++/26142] New: global debug namespace clashes everywhere mueller at gcc dot gnu dot org
2006-02-07 0:46 ` [Bug libstdc++/26142] " pinskia at gcc dot gnu dot org
2006-02-07 5:43 ` bkoz at gcc dot gnu dot org
2006-02-07 14:20 ` pinskia at gcc dot gnu dot org
2006-02-07 14:49 ` pinskia at gcc dot gnu dot org
2006-02-08 20:59 ` bkoz at gcc dot gnu dot org
2006-02-08 21:42 ` bkoz at gcc dot gnu dot org
2006-02-09 4:31 ` bkoz at gcc dot gnu dot org
2006-02-09 5:07 ` bkoz at gcc dot gnu dot org
2006-02-22 17:17 ` bkoz at gcc dot gnu dot org
2006-02-22 18:53 ` mueller at gcc dot gnu dot org
2006-03-16 1:42 ` bkoz at gcc dot gnu dot org
[not found] <bug-26142-4@http.gcc.gnu.org/bugzilla/>
2023-09-04 16:29 ` cvs-commit at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).