From e41fd1f0674bb58c4715d4656142ec9e7a9583b6 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 26 Aug 2015 21:22:58 +0100 Subject: [PATCH] libstdc++/66902 Make _S_debug_messages static. PR libstdc++/66902 * src/c++11/debug.cc (_S_debug_messages): Give internal linkage. From-SVN: r227228 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/src/c++11/debug.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 44e0320bb57..1422cc46b3f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2015-08-26 Jonathan Wakely + + PR libstdc++/66902 + * src/c++11/debug.cc (_S_debug_messages): Give internal linkage. + 2015-08-24 François Dumont PR libstdc++/60519 diff --git a/libstdc++-v3/src/c++11/debug.cc b/libstdc++-v3/src/c++11/debug.cc index 997c0f33de0..c435de70b51 100644 --- a/libstdc++-v3/src/c++11/debug.cc +++ b/libstdc++-v3/src/c++11/debug.cc @@ -103,7 +103,7 @@ namespace namespace __gnu_debug { - const char* _S_debug_messages[] = + static const char* _S_debug_messages[] = { // General Checks "function requires a valid iterator range [%1.name;, %2.name;)", -- 2.30.2