diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index eb4758901ec..b0e0af8bcb3 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 c435de70b51..ac3ac67b49e 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;)",