|
From: <sv...@va...> - 2005-05-12 13:46:02
|
Author: njn
Date: 2005-05-12 14:45:56 +0100 (Thu, 12 May 2005)
New Revision: 3678
Modified:
trunk/FAQ.txt
trunk/docs/xml/FAQ.xml
Log:
Update FAQ about GLIBCXX_FORCE_NEW name-change.
Modified: trunk/FAQ.txt
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/FAQ.txt 2005-05-12 13:15:38 UTC (rev 3677)
+++ trunk/FAQ.txt 2005-05-12 13:45:56 UTC (rev 3678)
@@ -169,9 +169,12 @@
with -D__USE_MALLOC. Beware! This is removed from gcc starting with
version 3.3.
=20
-- With 3.2.2 and later, you should export the environment variable
+- With gcc 3.2.2 and later, you should export the environment variable
GLIBCPP_FORCE_NEW before running your program.
=20
+- With gcc 3.4 and later, that variable has changed name to
+ GLIBCXX_FORCE_NEW.
+
There are other ways to disable memory pooling: using the malloc_alloc
template with your objects (not portable, but should work for gcc) or
even writing your own memory allocators. But all this goes beyond the
Modified: trunk/docs/xml/FAQ.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/xml/FAQ.xml 2005-05-12 13:15:38 UTC (rev 3677)
+++ trunk/docs/xml/FAQ.xml 2005-05-12 13:45:56 UTC (rev 3678)
@@ -234,10 +234,14 @@
This is removed from gcc starting with version 3.3.</para>
</listitem>
<listitem>
- <para>With 3.2.2 and later, you should export the environment
+ <para>With gcc 3.2.2 and later, you should export the environment
variable <literal>GLIBCPP_FORCE_NEW</literal> before running
your program.</para>
</listitem>
+ <listitem>
+ <para>With gcc 3.4 and later, that variable has changed name to
+ <literal>GLIBCXX_FORCE_NEW</literal>.</para>
+ </listitem>
</itemizedlist>
=20
<para>There are other ways to disable memory pooling: using the
|