diff options
author | Vadim Zhukov <zhuk@cvs.openbsd.org> | 2015-09-15 06:57:01 +0000 |
---|---|---|
committer | Vadim Zhukov <zhuk@cvs.openbsd.org> | 2015-09-15 06:57:01 +0000 |
commit | 2bf98675ae76ee870e0af00cb51b4c4bb5a6db5b (patch) | |
tree | 1549e7af40411481f4630cfd047005cbecbcbf7f /gnu/gcc/libstdc++-v3 | |
parent | 6377154f655edbb4a283a79d1c92a2e337910175 (diff) |
Make the famous _S_debug_messages warning go away, by hidining that symbol.
This symbol isn't used anywhere outside libstdc++, thus no bump.
Upstream initially went the samy way, but then implemented a different fix,
which don't work for us. Eventually we should move to whitelisting the list
of symbols exported anyway.
okay miod@, no objections from sthen@; also supported by a few a while ago
Diffstat (limited to 'gnu/gcc/libstdc++-v3')
-rw-r--r-- | gnu/gcc/libstdc++-v3/src/debug.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/gcc/libstdc++-v3/src/debug.cc b/gnu/gcc/libstdc++-v3/src/debug.cc index be5ba01b7ea..4bd24bbf36e 100644 --- a/gnu/gcc/libstdc++-v3/src/debug.cc +++ b/gnu/gcc/libstdc++-v3/src/debug.cc @@ -45,7 +45,7 @@ namespace namespace __gnu_debug { - const char* _S_debug_messages[] = + static const char* _S_debug_messages[] = { "function requires a valid iterator range [%1.name;, %2.name;)", "attempt to insert into container with a singular iterator", |