From: redi Date: Thu, 3 Sep 2015 19:05:15 +0000 (+0000) Subject: PR libstdc++/66902 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bbbde42c255fc30c78ee628266d28fc2f2d5427b;p=thirdparty%2Fgcc.git PR libstdc++/66902 * src/c++11/debug.cc (_S_debug_messages): Make array const. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227466 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index eb4758901ec8..b0e0af8bcb39 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2015-09-03 Jonathan Wakely + PR libstdc++/66902 + * src/c++11/debug.cc (_S_debug_messages): Make array const. + PR libstdc++/66998 * include/experimental/functional (_Not_fn): Add exception specifications and non-deduced return types. diff --git a/libstdc++-v3/src/c++11/debug.cc b/libstdc++-v3/src/c++11/debug.cc index c435de70b51e..ac3ac67b49e6 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 { - static const char* _S_debug_messages[] = + const char* const _S_debug_messages[] = { // General Checks "function requires a valid iterator range [%1.name;, %2.name;)",