mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-02 16:23:56 +08:00
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
This commit is contained in:
parent
bbe7f26957
commit
14d6758650
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Fix comment.
|
||||
|
@ -57,7 +57,7 @@
|
||||
<li><a href="#3_1">Can libstdc++-v3 be used with <my
|
||||
favorite compiler>?</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>
|
||||
</ol>
|
||||
|
||||
@ -411,18 +411,9 @@ which is no longer available, thanks deja...-->
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
<h2><a name="3_3">3.3 Building DEC OSF kills the assembler</a></h2>
|
||||
<p>The <code>atomicity.h</code> header for the Alpha processor
|
||||
currently uses pseudo-operators which the DEC assembler
|
||||
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.
|
||||
<h2><a name="3_3">3.3 [removed]</a></h2>
|
||||
<p>This question has become moot and has been removed. The stub
|
||||
is here to preserve numbering (and hence links/bookmarks).
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
@ -515,10 +506,21 @@ New in 3.0.95:
|
||||
problems, you can find more information on the libstdc++ and
|
||||
the GCC mailing lists.
|
||||
</p>
|
||||
<p>Before reporting a bug, examine the
|
||||
<a href="http://gcc.gnu.org/bugs.html">bugs database</a> with the
|
||||
category set to "libstdc++". The BUGS file in the source
|
||||
tree also tracks known serious problems.
|
||||
</p>
|
||||
<ul>
|
||||
<li>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 BUGS file, and the GCC GNATS database.
|
||||
<li>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 <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>
|
||||
|
||||
<hr>
|
||||
@ -553,8 +555,7 @@ New in 3.0.95:
|
||||
libstdc++ "-Weffc++-clean" is not a goal of the project,
|
||||
for a few reasons. Mainly, that option tries to enforce
|
||||
object-oriented programming, while the Standard Library isn't
|
||||
necessarily trying to be OO. There are multiple solutions
|
||||
under discussion.
|
||||
necessarily trying to be OO.
|
||||
</p>
|
||||
</a>
|
||||
<a name="4_4_iostreamclear">
|
||||
|
@ -30,7 +30,7 @@
|
||||
3. [20]Platform-Specific Issues
|
||||
1. [21]Can libstdc++-v3 be used with <my favorite compiler>?
|
||||
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. [25]Known Bugs and Non-Bugs
|
||||
1. [26]What works already?
|
||||
@ -330,17 +330,10 @@
|
||||
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
|
||||
pseudo-operators which the DEC assembler doesn't understand (in
|
||||
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.
|
||||
This question has become moot and has been removed. The stub is here
|
||||
to preserve numbering (and hence links/bookmarks).
|
||||
_________________________________________________________________
|
||||
|
||||
3.4 I can't use 'long long' on Solaris
|
||||
@ -366,7 +359,7 @@
|
||||
include/Makefile, resulting in files like gthr.h and gthr-single.h not
|
||||
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
|
||||
strongly recommended it is. Building in the source directory is
|
||||
fragile, is rarely tested, and tends to break, as in this case. This
|
||||
@ -422,24 +415,31 @@ New in 3.0.95:
|
||||
some problems that users may encounter when building or using
|
||||
libstdc++. If you are experiencing one of these problems, you can find
|
||||
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
|
||||
BUGS file, and the GCC GNATS database.
|
||||
|
||||
Before reporting a bug, examine the [67]bugs database with the
|
||||
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
|
||||
|
||||
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
|
||||
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
|
||||
to consult his notes.
|
||||
|
||||
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
|
||||
public list of the library defects is occasionally published [70]here.
|
||||
Some of these have resulted in [71]code changes.
|
||||
public list of the library defects is occasionally published [71]here.
|
||||
Some of these have resulted in [72]code changes.
|
||||
_________________________________________________________________
|
||||
|
||||
4.4 Things in libstdc++ that look like bugs
|
||||
@ -452,8 +452,7 @@ New in 3.0.95:
|
||||
the library headers emitted when -Weffc++ is used. Making libstdc++
|
||||
"-Weffc++-clean" is not a goal of the project, for a few reasons.
|
||||
Mainly, that option tries to enforce object-oriented programming,
|
||||
while the Standard Library isn't necessarily trying to be OO. There
|
||||
are multiple solutions under discussion.
|
||||
while the Standard Library isn't necessarily trying to be OO.
|
||||
|
||||
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
|
||||
@ -472,7 +471,7 @@ New in 3.0.95:
|
||||
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
|
||||
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
|
||||
close() and open(), and then everything will work like we all expect
|
||||
it to work.
|
||||
@ -482,14 +481,14 @@ New in 3.0.95:
|
||||
same namespace as other comparison functions (e.g., 'using' them and
|
||||
the <iterator> header), then you will suddenly be faced with huge
|
||||
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
|
||||
|
||||
If you have found an extremely broken header file which is causing
|
||||
problems for you, look carefully before submitting a "high" priority
|
||||
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
|
||||
library's name looks like libstdc++-2.10.a or libstdc++-libc6-2.10.so,
|
||||
@ -499,7 +498,7 @@ New in 3.0.95:
|
||||
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
requires a separate patch for libstdc++-v3.
|
||||
|
||||
@ -525,23 +524,23 @@ http://clisp.cons.org/~haible/gccinclude-glibc-2.2-compat.diff
|
||||
visibility, or you just plain forgot, etc).
|
||||
|
||||
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!
|
||||
|
||||
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
|
||||
[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
|
||||
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.
|
||||
|
||||
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
|
||||
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
|
||||
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.
|
||||
_________________________________________________________________
|
||||
|
||||
@ -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
|
||||
those changes are being predicted by the library maintainers, and
|
||||
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.
|
||||
2. Performance tuning. Lots of performance tuning. This too is
|
||||
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
|
||||
type from C99.) Bugfixes and rewrites (to improve or fix thread
|
||||
safety, for instance) will of course be a continuing task.
|
||||
|
||||
[82]This question about the next libstdc++ prompted some brief but
|
||||
interesting [83]speculation.
|
||||
[83]This question about the next libstdc++ prompted some brief but
|
||||
interesting [84]speculation.
|
||||
_________________________________________________________________
|
||||
|
||||
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,
|
||||
and it is very likely that the SGI code is no longer under active
|
||||
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
|
||||
#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]
|
||||
@ -667,8 +666,8 @@ a
|
||||
otherwise documented as safe, do not assume that two threads may
|
||||
access a shared standard library object at the same time.
|
||||
|
||||
See chapters [86]17 (library introduction), [87]23 (containers), and
|
||||
[88]27 (I/O) for more information.
|
||||
See chapters [87]17 (library introduction), [88]23 (containers), and
|
||||
[89]27 (I/O) for more information.
|
||||
_________________________________________________________________
|
||||
|
||||
5.7 How do I get a copy of the ISO C++ Standard?
|
||||
@ -679,11 +678,11 @@ a
|
||||
their two-meeting commitment for voting rights, may get a copy of the
|
||||
standard from their respective national standards organization. In the
|
||||
USA, this national standards organization is ANSI and their website is
|
||||
right [89]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
|
||||
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 [91]buy
|
||||
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!
|
||||
_________________________________________________________________
|
||||
|
||||
@ -734,8 +733,8 @@ a
|
||||
encompasses the standard library.
|
||||
_________________________________________________________________
|
||||
|
||||
See [92]license.html for copying conditions. Comments and suggestions
|
||||
are welcome, and may be sent to [93]the libstdc++ mailing list.
|
||||
See [93]license.html for copying conditions. Comments and suggestions
|
||||
are welcome, and may be sent to [94]the libstdc++ mailing list.
|
||||
|
||||
References
|
||||
|
||||
@ -804,31 +803,32 @@ References
|
||||
63. http://www.gnu.org/software/cvs/cvs.html
|
||||
64. http://www.cvshome.org/
|
||||
65. ../18_support/howto.html
|
||||
66. http://gcc.gnu.org/ml/libstdc++/2000-12/msg00279.html
|
||||
67. http://gcc.gnu.org/install/configure.html
|
||||
68. http://gcc.gnu.org/ml/libstdc++/1998/msg00006.html
|
||||
69. http://www.cantrip.org/draft-bugs.txt
|
||||
70. http://anubis.dkuug.dk/jtc1/sc22/wg21/
|
||||
71. ../faq/index.html#5_2
|
||||
72. ../ext/howto.html#5
|
||||
73. http://gcc.gnu.org/ml/libstdc++/2001-01/msg00247.html
|
||||
74. http://gcc.gnu.org/gnatswrite.html
|
||||
75. http://gcc.gnu.org/ml/gcc/2000-10/msg00732.html
|
||||
76. ../faq/index.html#4_4_interface
|
||||
77. ../19_diagnostics/howto.html#3
|
||||
78. http://gcc.gnu.org/contribute.html
|
||||
79. ../17_intro/contribute.html
|
||||
80. ../faq/index.html#2_4
|
||||
81. ../ext/howto.html#5
|
||||
82. http://gcc.gnu.org/ml/libstdc++/1999/msg00080.html
|
||||
83. http://gcc.gnu.org/ml/libstdc++/1999/msg00084.html
|
||||
84. http://www.sgi.com/Technology/STL/
|
||||
85. ../ext/howto.html
|
||||
86. ../17_intro/howto.html#3
|
||||
87. ../23_containers/howto.html#3
|
||||
88. ../27_io/howto.html#9
|
||||
89. http://www.ansi.org/
|
||||
90. http://webstore.ansi.org/ansidocstore/product.asp?sku=ISO%2FIEC+14882%2D1998
|
||||
91. http://www.iso.ch/
|
||||
92. ../17_intro/license.html
|
||||
93. mailto:libstdc++@gcc.gnu.org
|
||||
66. http://gcc.gnu.org/install/configure.html
|
||||
67. http://gcc.gnu.org/bugs.html
|
||||
68. http://gcc.gnu.org/ml/libstdc++/2002-02/msg00034.html
|
||||
69. http://gcc.gnu.org/ml/libstdc++/1998/msg00006.html
|
||||
70. http://www.cantrip.org/draft-bugs.txt
|
||||
71. http://anubis.dkuug.dk/jtc1/sc22/wg21/
|
||||
72. ../faq/index.html#5_2
|
||||
73. ../ext/howto.html#5
|
||||
74. http://gcc.gnu.org/ml/libstdc++/2001-01/msg00247.html
|
||||
75. http://gcc.gnu.org/gnatswrite.html
|
||||
76. http://gcc.gnu.org/ml/gcc/2000-10/msg00732.html
|
||||
77. ../faq/index.html#4_4_interface
|
||||
78. ../19_diagnostics/howto.html#3
|
||||
79. http://gcc.gnu.org/contribute.html
|
||||
80. ../17_intro/contribute.html
|
||||
81. ../faq/index.html#2_4
|
||||
82. ../ext/howto.html#5
|
||||
83. http://gcc.gnu.org/ml/libstdc++/1999/msg00080.html
|
||||
84. http://gcc.gnu.org/ml/libstdc++/1999/msg00084.html
|
||||
85. http://www.sgi.com/Technology/STL/
|
||||
86. ../ext/howto.html
|
||||
87. ../17_intro/howto.html#3
|
||||
88. ../23_containers/howto.html#3
|
||||
89. ../27_io/howto.html#9
|
||||
90. http://www.ansi.org/
|
||||
91. http://webstore.ansi.org/ansidocstore/product.asp?sku=ISO%2FIEC+14882%2D1998
|
||||
92. http://www.iso.ch/
|
||||
93. ../17_intro/license.html
|
||||
94. mailto:libstdc++@gcc.gnu.org
|
||||
|
Loading…
Reference in New Issue
Block a user