diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2006-07-20 23:37:27 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2006-07-20 23:37:27 +0000 |
commit | 98e615b4857e142688c9de4ca56fb3272316a1b9 (patch) | |
tree | 65e37e23e7c174d37c16abc3c6c9928ba202b8fd /libstdc++-v3/src/ext-inst.cc | |
parent | 326d5132e4ac6bea1b33dec95b3361faac184c71 (diff) | |
download | gcc-98e615b4857e142688c9de4ca56fb3272316a1b9.zip gcc-98e615b4857e142688c9de4ca56fb3272316a1b9.tar.gz gcc-98e615b4857e142688c9de4ca56fb3272316a1b9.tar.bz2 |
PR libstdc++/19664 round 1
2006-07-20 Benjamin Kosnik <bkoz@redhat.com>
Jakub Jelinek <jakub@redhat.com>
PR libstdc++/19664 round 1
* acinclude.m4 (GLIBCXX_ENABLE_VISIBILITY): Check it.
* configure.ac: Use it.
* configure: Regenerate.
* docs/html/configopts.html: Document it.
* include/Makefile.am: Slip in to c++config.
* include/Makefile.in: Regenerate.
* include/bits/c++config (_GLIBCXX_VISIBILITY): New.
(_GLIBCXX_BEGIN_NAMESPACE): Use it.
(_GLIBCXX_END_NAMESPACE): Use it.
(_GLIBCXX_BEGIN_NESTED_NAMESPACE): Use it.
(_GLIBCXX_END_NESTED_NAMESPACE): Use it.
* src/debug.cc: Mark __gnu_internal namespace with hidden
visibility attribute.
* src/ext-inst.cc: Same.
* src/globals_io.cc: Same.
* src/globals_locale.cc: Same.
* src/ios_init.cc: Same.
* src/locale.cc: Same.
* src/mt_allocator.cc: Same.
* src/pool_allocator.cc: Same.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r115632
Diffstat (limited to 'libstdc++-v3/src/ext-inst.cc')
-rw-r--r-- | libstdc++-v3/src/ext-inst.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/src/ext-inst.cc b/libstdc++-v3/src/ext-inst.cc index 0396ba4..35f0b16 100644 --- a/libstdc++-v3/src/ext-inst.cc +++ b/libstdc++-v3/src/ext-inst.cc @@ -1,6 +1,6 @@ // Explicit instantiation file. -// Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,7 +34,7 @@ #include <ext/rope> #include <ext/stdio_filebuf.h> -namespace __gnu_internal +namespace __gnu_internal _GLIBCXX_VISIBILITY(hidden) { const int min_len = __gnu_cxx::_Rope_constants::_S_max_rope_depth + 1; } |