The new invalidation tests are failing... (Re: [v3] debug mode)
Benjamin Kosnik
bkoz@redhat.com
Wed Nov 12 07:10:00 GMT 2003
>One minor nit: for some reason, all the new invalidation tests are
>failing at compile time in a normal build/test:
Fixed with this:
2003-11-12 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Move using directive...
* include/debug/formatter.h: ...here.
Index: include/bits/c++config
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/c++config,v
retrieving revision 1.916
diff -c -p -r1.916 c++config
*** include/bits/c++config 12 Nov 2003 00:16:07 -0000 1.916
--- include/bits/c++config 12 Nov 2003 07:07:11 -0000
*************** namespace __gnu_debug_def { }
*** 61,67 ****
namespace __gnu_debug
{
- using namespace std;
using namespace __gnu_debug_def __attribute__ ((strong));
}
--- 61,66 ----
Index: include/debug/formatter.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/debug/formatter.h,v
retrieving revision 1.1
diff -c -p -r1.1 formatter.h
*** include/debug/formatter.h 11 Nov 2003 20:09:09 -0000 1.1
--- include/debug/formatter.h 12 Nov 2003 07:07:12 -0000
***************
*** 36,41 ****
--- 36,43 ----
namespace __gnu_debug
{
+ using namespace std;
+
/** Determine if the two types are the same. */
template<typename _Type1, typename _Type2>
struct __is_same
More information about the Libstdc++
mailing list