Commit 08624e90 by Benjamin Kosnik Committed by Benjamin Kosnik

c++config: Add tr2 to versioned namespaces.

2011-11-02  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/c++config: Add tr2 to versioned namespaces.
	* scripts/run_doxygen: Adjust generated man files as well.
	* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.

From-SVN: r180760
parent 753a0ad8
2011-11-02 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Add tr2 to versioned namespaces.
* scripts/run_doxygen: Adjust generated man files as well.
* testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers.
2011-11-02 Jonathan Wakely <jwakely.gcc@gmail.com> 2011-11-02 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/future (promise): Add constructors for uses-allocator * include/std/future (promise): Add constructors for uses-allocator
......
...@@ -148,6 +148,8 @@ ...@@ -148,6 +148,8 @@
namespace __detail { } namespace __detail { }
} }
namespace tr2 { }
namespace decimal { } namespace decimal { }
namespace chrono { } namespace chrono { }
...@@ -197,6 +199,9 @@ namespace std ...@@ -197,6 +199,9 @@ namespace std
namespace __detail { inline namespace __7 { } } namespace __detail { inline namespace __7 { } }
} }
namespace tr2
{ inline namespace __7 { } }
namespace decimal { inline namespace __7 { } } namespace decimal { inline namespace __7 { } }
namespace chrono { inline namespace __7 { } } namespace chrono { inline namespace __7 { } }
......
...@@ -339,6 +339,10 @@ for f in std_tr1_*; do ...@@ -339,6 +339,10 @@ for f in std_tr1_*; do
newname=`echo $f | sed 's/^std_tr1_/std::tr1::/'` newname=`echo $f | sed 's/^std_tr1_/std::tr1::/'`
mv $f $newname mv $f $newname
done done
for f in std_tr2_*; do
newname=`echo $f | sed 's/^std_tr2_/std::tr2::/'`
mv $f $newname
done
for f in std_*; do for f in std_*; do
newname=`echo $f | sed 's/^std_/std::/'` newname=`echo $f | sed 's/^std_/std::/'`
mv $f $newname mv $f $newname
......
...@@ -25,4 +25,4 @@ ...@@ -25,4 +25,4 @@
#include <vector> #include <vector>
// { dg-error "multiple inlined namespaces" "" { target *-*-* } 258 } // { dg-error "multiple inlined namespaces" "" { target *-*-* } 263 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment