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/docs/html/configopts.html | |
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/docs/html/configopts.html')
-rw-r--r-- | libstdc++-v3/docs/html/configopts.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++-v3/docs/html/configopts.html b/libstdc++-v3/docs/html/configopts.html index f7e1d79..0a819f0 100644 --- a/libstdc++-v3/docs/html/configopts.html +++ b/libstdc++-v3/docs/html/configopts.html @@ -293,6 +293,15 @@ options</a></h1> </dd> + <dt><code>--enable-visibility </code></dt> + <dd><p> In 4.2 and later, enables or disables visibility attributes. + If enabled (as by default), and the compiler seems capable of + passing the simple sanity checks thrown at it, adjusts items + in namespace std, namespace std::tr1, and namespace __gnu_cxx + so that -fvisibility options work. + </p> + </dd> + <dt><code>--enable-libstdcxx-pch </code></dt> <dd><p>In 3.4 and later, tries to turn on the generation of stdc++.h.gch, a pre-compiled file including all the standard |