Commit 14d67586 by Phil Edwards

index.html: Update.

2002-02-25  Phil Edwards  <pme@gcc.gnu.org>

	* docs/html/faq/index.html:  Update.
	* docs/html/faq/index.txt:  Regenerate.

From-SVN: r50020
parent bbe7f269
2002-02-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Update.
* docs/html/faq/index.txt: Regenerate.
2002-02-22 Phil Edwards <pme@gcc.gnu.org> 2002-02-22 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment. * acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<li><a href="#3_1">Can libstdc++-v3 be used with &lt;my <li><a href="#3_1">Can libstdc++-v3 be used with &lt;my
favorite compiler&gt;?</a> favorite compiler&gt;?</a>
<li><a href="#3_2">[removed]</a> <li><a href="#3_2">[removed]</a>
<li><a href="#3_3">Building under DEC OSF kills the assembler</a> <li><a href="#3_3">[removed]</a>
<li><a href="#3_4">I can't use 'long long' on Solaris</a> <li><a href="#3_4">I can't use 'long long' on Solaris</a>
</ol> </ol>
...@@ -411,18 +411,9 @@ which is no longer available, thanks deja...--> ...@@ -411,18 +411,9 @@ which is no longer available, thanks deja...-->
</p> </p>
<hr> <hr>
<h2><a name="3_3">3.3 Building DEC OSF kills the assembler</a></h2> <h2><a name="3_3">3.3 [removed]</a></h2>
<p>The <code>atomicity.h</code> header for the Alpha processor <p>This question has become moot and has been removed. The stub
currently uses pseudo-operators which the DEC assembler is here to preserve numbering (and hence links/bookmarks).
doesn't understand (in particular, .subsection and .previous).
The simple solution is to install GNU <code>as</code> and arrange
for the GCC build to use it (or merge the sources and build
it during the bootstrap).
</p>
<p>Anyone who
<a href="http://gcc.gnu.org/ml/libstdc++/2000-12/msg00279.html">knows
the DEC assembler well enough</a> to provide the equivalent of
these two pseudos would win praise and accolades from many.
</p> </p>
<hr> <hr>
...@@ -515,10 +506,21 @@ New in 3.0.95: ...@@ -515,10 +506,21 @@ New in 3.0.95:
problems, you can find more information on the libstdc++ and problems, you can find more information on the libstdc++ and
the GCC mailing lists. the GCC mailing lists.
</p> </p>
<p>Before reporting a bug, examine the
<a href="http://gcc.gnu.org/bugs.html">bugs database</a> with the
category set to &quot;libstdc++&quot;. The BUGS file in the source
tree also tracks known serious problems.
</p>
<ul> <ul>
<li>As of 3.0.95, those bugs have all been fixed. We look forward <li>Debugging is problematic, due to bugs in line-number generation
to new ones, well, not exactly... Existing bugs are listed in (mostly fixed in the compiler) and gdb lagging behind the
the BUGS file, and the GCC GNATS database. compiler (lack of personnel). We recommend configuring the
compiler using <code>--with-dwarf2</code> if the DWARF2
debugging format is not already the default on your platform.
Also,
<a href="http://gcc.gnu.org/ml/libstdc++/2002-02/msg00034.html">changing your
GDB settings</a> can have a profound effect on your C++ debugging
experiences. :-)</li>
</ul> </ul>
<hr> <hr>
...@@ -553,8 +555,7 @@ New in 3.0.95: ...@@ -553,8 +555,7 @@ New in 3.0.95:
libstdc++ &quot;-Weffc++-clean&quot; is not a goal of the project, libstdc++ &quot;-Weffc++-clean&quot; is not a goal of the project,
for a few reasons. Mainly, that option tries to enforce for a few reasons. Mainly, that option tries to enforce
object-oriented programming, while the Standard Library isn't object-oriented programming, while the Standard Library isn't
necessarily trying to be OO. There are multiple solutions necessarily trying to be OO.
under discussion.
</p> </p>
</a> </a>
<a name="4_4_iostreamclear"> <a name="4_4_iostreamclear">
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
3. [20]Platform-Specific Issues 3. [20]Platform-Specific Issues
1. [21]Can libstdc++-v3 be used with <my favorite compiler>? 1. [21]Can libstdc++-v3 be used with <my favorite compiler>?
2. [22][removed] 2. [22][removed]
3. [23]Building under DEC OSF kills the assembler 3. [23][removed]
4. [24]I can't use 'long long' on Solaris 4. [24]I can't use 'long long' on Solaris
4. [25]Known Bugs and Non-Bugs 4. [25]Known Bugs and Non-Bugs
1. [26]What works already? 1. [26]What works already?
...@@ -330,17 +330,10 @@ ...@@ -330,17 +330,10 @@
to preserve numbering (and hence links/bookmarks). to preserve numbering (and hence links/bookmarks).
_________________________________________________________________ _________________________________________________________________
3.3 Building DEC OSF kills the assembler 3.3 [removed]
The atomicity.h header for the Alpha processor currently uses This question has become moot and has been removed. The stub is here
pseudo-operators which the DEC assembler doesn't understand (in to preserve numbering (and hence links/bookmarks).
particular, .subsection and .previous). The simple solution is to
install GNU as and arrange for the GCC build to use it (or merge the
sources and build it during the bootstrap).
Anyone who [66]knows the DEC assembler well enough to provide the
equivalent of these two pseudos would win praise and accolades from
many.
_________________________________________________________________ _________________________________________________________________
3.4 I can't use 'long long' on Solaris 3.4 I can't use 'long long' on Solaris
...@@ -366,7 +359,7 @@ ...@@ -366,7 +359,7 @@
include/Makefile, resulting in files like gthr.h and gthr-single.h not include/Makefile, resulting in files like gthr.h and gthr-single.h not
being found. being found.
Please read [67]the configuration instructions for GCC, specifically Please read [66]the configuration instructions for GCC, specifically
the part about configuring in a separate build directory, and how the part about configuring in a separate build directory, and how
strongly recommended it is. Building in the source directory is strongly recommended it is. Building in the source directory is
fragile, is rarely tested, and tends to break, as in this case. This fragile, is rarely tested, and tends to break, as in this case. This
...@@ -422,24 +415,31 @@ New in 3.0.95: ...@@ -422,24 +415,31 @@ New in 3.0.95:
some problems that users may encounter when building or using some problems that users may encounter when building or using
libstdc++. If you are experiencing one of these problems, you can find libstdc++. If you are experiencing one of these problems, you can find
more information on the libstdc++ and the GCC mailing lists. more information on the libstdc++ and the GCC mailing lists.
* As of 3.0.95, those bugs have all been fixed. We look forward to
new ones, well, not exactly... Existing bugs are listed in the Before reporting a bug, examine the [67]bugs database with the
BUGS file, and the GCC GNATS database. category set to "libstdc++". The BUGS file in the source tree also
tracks known serious problems.
* Debugging is problematic, due to bugs in line-number generation
(mostly fixed in the compiler) and gdb lagging behind the compiler
(lack of personnel). We recommend configuring the compiler using
--with-dwarf2 if the DWARF2 debugging format is not already the
default on your platform. Also, [68]changing your GDB settings can
have a profound effect on your C++ debugging experiences. :-)
_________________________________________________________________ _________________________________________________________________
4.3 Bugs in the C++ language/lib specification 4.3 Bugs in the C++ language/lib specification
Yes, unfortunately, there are some. In a [68]message to the list, Yes, unfortunately, there are some. In a [69]message to the list,
Nathan Myers announced that he has started a list of problems in the Nathan Myers announced that he has started a list of problems in the
ISO C++ Standard itself, especially with regard to the chapters that ISO C++ Standard itself, especially with regard to the chapters that
concern the library. The list itself is [69]posted on his website. concern the library. The list itself is [70]posted on his website.
Developers who are having problems interpreting the Standard may wish Developers who are having problems interpreting the Standard may wish
to consult his notes. to consult his notes.
For those people who are not part of the ISO Library Group (i.e., For those people who are not part of the ISO Library Group (i.e.,
nearly all of us needing to read this page in the first place :-), a nearly all of us needing to read this page in the first place :-), a
public list of the library defects is occasionally published [70]here. public list of the library defects is occasionally published [71]here.
Some of these have resulted in [71]code changes. Some of these have resulted in [72]code changes.
_________________________________________________________________ _________________________________________________________________
4.4 Things in libstdc++ that look like bugs 4.4 Things in libstdc++ that look like bugs
...@@ -452,8 +452,7 @@ New in 3.0.95: ...@@ -452,8 +452,7 @@ New in 3.0.95:
the library headers emitted when -Weffc++ is used. Making libstdc++ the library headers emitted when -Weffc++ is used. Making libstdc++
"-Weffc++-clean" is not a goal of the project, for a few reasons. "-Weffc++-clean" is not a goal of the project, for a few reasons.
Mainly, that option tries to enforce object-oriented programming, Mainly, that option tries to enforce object-oriented programming,
while the Standard Library isn't necessarily trying to be OO. There while the Standard Library isn't necessarily trying to be OO.
are multiple solutions under discussion.
reopening a stream fails Did I just say that -Weffc++ was our biggest reopening a stream fails Did I just say that -Weffc++ was our biggest
false-bug report? I lied. (It used to be.) Today it seems to be false-bug report? I lied. (It used to be.) Today it seems to be
...@@ -472,7 +471,7 @@ New in 3.0.95: ...@@ -472,7 +471,7 @@ New in 3.0.95:
state on the previous file. The reason is that the state flags are not state on the previous file. The reason is that the state flags are not
cleared on a successful call to open(). The standard unfortunately did cleared on a successful call to open(). The standard unfortunately did
not specify behavior in this case, and to everybody's great sorrow, not specify behavior in this case, and to everybody's great sorrow,
the [72]proposed LWG resolution (see DR #22) is to leave the flags the [73]proposed LWG resolution (see DR #22) is to leave the flags
unchanged. You must insert a call to fs.clear() between the calls to unchanged. You must insert a call to fs.clear() between the calls to
close() and open(), and then everything will work like we all expect close() and open(), and then everything will work like we all expect
it to work. it to work.
...@@ -482,14 +481,14 @@ New in 3.0.95: ...@@ -482,14 +481,14 @@ New in 3.0.95:
same namespace as other comparison functions (e.g., 'using' them and same namespace as other comparison functions (e.g., 'using' them and
the <iterator> header), then you will suddenly be faced with huge the <iterator> header), then you will suddenly be faced with huge
numbers of ambiguity errors. This was discussed on the -v3 list; numbers of ambiguity errors. This was discussed on the -v3 list;
Nathan Myers [73]sums things up here. Nathan Myers [74]sums things up here.
The g++-3 headers are not ours The g++-3 headers are not ours
If you have found an extremely broken header file which is causing If you have found an extremely broken header file which is causing
problems for you, look carefully before submitting a "high" priority problems for you, look carefully before submitting a "high" priority
bug report (which you probably shouldn't do anyhow; see the last bug report (which you probably shouldn't do anyhow; see the last
paragraph of the page describing [74]the GCC bug database). paragraph of the page describing [75]the GCC bug database).
If the headers are in ${prefix}/include/g++-3, or if the installed If the headers are in ${prefix}/include/g++-3, or if the installed
library's name looks like libstdc++-2.10.a or libstdc++-libc6-2.10.so, library's name looks like libstdc++-2.10.a or libstdc++-libc6-2.10.so,
...@@ -499,7 +498,7 @@ New in 3.0.95: ...@@ -499,7 +498,7 @@ New in 3.0.95:
Currently our header files are installed in ${prefix}/include/g++-v3 Currently our header files are installed in ${prefix}/include/g++-v3
(see the 'v'?). This may change with the next release of GCC, as it (see the 'v'?). This may change with the next release of GCC, as it
may be too confusing, but [75]the question has not yet been decided. may be too confusing, but [76]the question has not yet been decided.
glibc If you're on a GNU/Linux system and have just upgraded to glibc glibc If you're on a GNU/Linux system and have just upgraded to glibc
2.2, but are still using gcc 2.95.2, then you should have read the 2.2, but are still using gcc 2.95.2, then you should have read the
...@@ -512,7 +511,7 @@ type has changed in glibc 2.2. The patch is at ...@@ -512,7 +511,7 @@ type has changed in glibc 2.2. The patch is at
http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
Note that 2.95.x shipped with the [76]old v2 library which is no Note that 2.95.x shipped with the [77]old v2 library which is no
longer maintained. Also note that gcc 2.95.3 fixes this problem, but longer maintained. Also note that gcc 2.95.3 fixes this problem, but
requires a separate patch for libstdc++-v3. requires a separate patch for libstdc++-v3.
...@@ -525,23 +524,23 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff ...@@ -525,23 +524,23 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
visibility, or you just plain forgot, etc). visibility, or you just plain forgot, etc).
More information, including how to optionally enable/disable the More information, including how to optionally enable/disable the
checks, is available [77]here. checks, is available [78]here.
_________________________________________________________________ _________________________________________________________________
4.5 Aw, that's easy to fix! 4.5 Aw, that's easy to fix!
If you have found a bug in the library and you think you have a If you have found a bug in the library and you think you have a
working fix, then send it in! The main GCC site has a page on working fix, then send it in! The main GCC site has a page on
[78]submitting patches that covers the procedure, but for libstdc++ [79]submitting patches that covers the procedure, but for libstdc++
you should also send the patch to our mailing list in addition to the you should also send the patch to our mailing list in addition to the
GCC patches mailing list. The libstdc++ [79]contributors' page also GCC patches mailing list. The libstdc++ [80]contributors' page also
talks about how to submit patches. talks about how to submit patches.
In addition to the description, the patch, and the ChangeLog entry, it In addition to the description, the patch, and the ChangeLog entry, it
is a Good Thing if you can additionally create a small test program to is a Good Thing if you can additionally create a small test program to
test for the presence of the bug that your patch fixes. Bugs have a test for the presence of the bug that your patch fixes. Bugs have a
way of being reintroduced; if an old bug creeps back in, it will be way of being reintroduced; if an old bug creeps back in, it will be
caught immediately by the [80]testsuite -- but only if such a test caught immediately by the [81]testsuite -- but only if such a test
exists. exists.
_________________________________________________________________ _________________________________________________________________
...@@ -575,7 +574,7 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff ...@@ -575,7 +574,7 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
libstdc++. Some of that is already happening, see 4.2. Some of libstdc++. Some of that is already happening, see 4.2. Some of
those changes are being predicted by the library maintainers, and those changes are being predicted by the library maintainers, and
we add code to the library based on what the current proposed we add code to the library based on what the current proposed
resolution specifies. Those additions are listed in [81]the resolution specifies. Those additions are listed in [82]the
extensions page. extensions page.
2. Performance tuning. Lots of performance tuning. This too is 2. Performance tuning. Lots of performance tuning. This too is
already underway for post-3.0 releases, starting with memory already underway for post-3.0 releases, starting with memory
...@@ -591,13 +590,13 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff ...@@ -591,13 +590,13 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
type from C99.) Bugfixes and rewrites (to improve or fix thread type from C99.) Bugfixes and rewrites (to improve or fix thread
safety, for instance) will of course be a continuing task. safety, for instance) will of course be a continuing task.
[82]This question about the next libstdc++ prompted some brief but [83]This question about the next libstdc++ prompted some brief but
interesting [83]speculation. interesting [84]speculation.
_________________________________________________________________ _________________________________________________________________
5.3 What about the STL from SGI? 5.3 What about the STL from SGI?
The [84]STL from SGI, version 3.3, was the most recent merge of the The [85]STL from SGI, version 3.3, was the most recent merge of the
STL codebase. The code in libstdc++ contains many fixes and changes, STL codebase. The code in libstdc++ contains many fixes and changes,
and it is very likely that the SGI code is no longer under active and it is very likely that the SGI code is no longer under active
development. We expect that no future merges will take place. development. We expect that no future merges will take place.
...@@ -618,7 +617,7 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff ...@@ -618,7 +617,7 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
#include <ext/hash_map> #include <ext/hash_map>
Extensions to the library have [85]their own page. Extensions to the library have [86]their own page.
_________________________________________________________________ _________________________________________________________________
5.5 [removed] 5.5 [removed]
...@@ -667,8 +666,8 @@ a ...@@ -667,8 +666,8 @@ a
otherwise documented as safe, do not assume that two threads may otherwise documented as safe, do not assume that two threads may
access a shared standard library object at the same time. access a shared standard library object at the same time.
See chapters [86]17 (library introduction), [87]23 (containers), and See chapters [87]17 (library introduction), [88]23 (containers), and
[88]27 (I/O) for more information. [89]27 (I/O) for more information.
_________________________________________________________________ _________________________________________________________________
5.7 How do I get a copy of the ISO C++ Standard? 5.7 How do I get a copy of the ISO C++ Standard?
...@@ -679,11 +678,11 @@ a ...@@ -679,11 +678,11 @@ a
their two-meeting commitment for voting rights, may get a copy of the their two-meeting commitment for voting rights, may get a copy of the
standard from their respective national standards organization. In the standard from their respective national standards organization. In the
USA, this national standards organization is ANSI and their website is USA, this national standards organization is ANSI and their website is
right [89]here. (And if you've already registered with them, clicking right [90]here. (And if you've already registered with them, clicking
this link will take you to directly to the place where you can [90]buy this link will take you to directly to the place where you can [91]buy
the standard on-line. the standard on-line.
Who is your country's member body? Visit the [91]ISO homepage and find Who is your country's member body? Visit the [92]ISO homepage and find
out! out!
_________________________________________________________________ _________________________________________________________________
...@@ -734,8 +733,8 @@ a ...@@ -734,8 +733,8 @@ a
encompasses the standard library. encompasses the standard library.
_________________________________________________________________ _________________________________________________________________
See [92]license.html for copying conditions. Comments and suggestions See [93]license.html for copying conditions. Comments and suggestions
are welcome, and may be sent to [93]the libstdc++ mailing list. are welcome, and may be sent to [94]the libstdc++ mailing list.
References References
...@@ -804,31 +803,32 @@ References ...@@ -804,31 +803,32 @@ References
63. http://www.gnu.org/software/cvs/cvs.html 63. http://www.gnu.org/software/cvs/cvs.html
64. http://www.cvshome.org/ 64. http://www.cvshome.org/
65. ../18_support/howto.html 65. ../18_support/howto.html
66. http://gcc.gnu.org/ml/libstdc++/2000-12/msg00279.html 66. http://gcc.gnu.org/install/configure.html
67. http://gcc.gnu.org/install/configure.html 67. http://gcc.gnu.org/bugs.html
68. http://gcc.gnu.org/ml/libstdc++/1998/msg00006.html 68. http://gcc.gnu.org/ml/libstdc++/2002-02/msg00034.html
69. http://www.cantrip.org/draft-bugs.txt 69. http://gcc.gnu.org/ml/libstdc++/1998/msg00006.html
70. http://anubis.dkuug.dk/jtc1/sc22/wg21/ 70. http://www.cantrip.org/draft-bugs.txt
71. ../faq/index.html#5_2 71. http://anubis.dkuug.dk/jtc1/sc22/wg21/
72. ../ext/howto.html#5 72. ../faq/index.html#5_2
73. http://gcc.gnu.org/ml/libstdc++/2001-01/msg00247.html 73. ../ext/howto.html#5
74. http://gcc.gnu.org/gnatswrite.html 74. http://gcc.gnu.org/ml/libstdc++/2001-01/msg00247.html
75. http://gcc.gnu.org/ml/gcc/2000-10/msg00732.html 75. http://gcc.gnu.org/gnatswrite.html
76. ../faq/index.html#4_4_interface 76. http://gcc.gnu.org/ml/gcc/2000-10/msg00732.html
77. ../19_diagnostics/howto.html#3 77. ../faq/index.html#4_4_interface
78. http://gcc.gnu.org/contribute.html 78. ../19_diagnostics/howto.html#3
79. ../17_intro/contribute.html 79. http://gcc.gnu.org/contribute.html
80. ../faq/index.html#2_4 80. ../17_intro/contribute.html
81. ../ext/howto.html#5 81. ../faq/index.html#2_4
82. http://gcc.gnu.org/ml/libstdc++/1999/msg00080.html 82. ../ext/howto.html#5
83. http://gcc.gnu.org/ml/libstdc++/1999/msg00084.html 83. http://gcc.gnu.org/ml/libstdc++/1999/msg00080.html
84. http://www.sgi.com/Technology/STL/ 84. http://gcc.gnu.org/ml/libstdc++/1999/msg00084.html
85. ../ext/howto.html 85. http://www.sgi.com/Technology/STL/
86. ../17_intro/howto.html#3 86. ../ext/howto.html
87. ../23_containers/howto.html#3 87. ../17_intro/howto.html#3
88. ../27_io/howto.html#9 88. ../23_containers/howto.html#3
89. http://www.ansi.org/ 89. ../27_io/howto.html#9
90. http://webstore.ansi.org/ansidocstore/product.asp?sku=ISO%2FIEC+14882%2D1998 90. http://www.ansi.org/
91. http://www.iso.ch/ 91. http://webstore.ansi.org/ansidocstore/product.asp?sku=ISO%2FIEC+14882%2D1998
92. ../17_intro/license.html 92. http://www.iso.ch/
93. mailto:libstdc++@gcc.gnu.org 93. ../17_intro/license.html
94. mailto:libstdc++@gcc.gnu.org
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment