aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/docs/html
diff options
context:
space:
mode:
authorJohn Levon <levon@movementarian.org>2003-08-12 08:46:43 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2003-08-12 09:46:43 +0100
commite885821fff5b23afe3fd2358be556547d59f4d6c (patch)
tree3eb2b2da52872172eb351585e412b8337cbc3dab /libstdc++-v3/docs/html
parent825d7d648cbc5b0b35dcadc04af6ac9848181241 (diff)
downloadgcc-e885821fff5b23afe3fd2358be556547d59f4d6c.zip
gcc-e885821fff5b23afe3fd2358be556547d59f4d6c.tar.gz
gcc-e885821fff5b23afe3fd2358be556547d59f4d6c.tar.bz2
guide.html (GLIBCXX_FORCE_NEW): Update remaining places for the name change from GLIBCPP_FORCE_NEW to...
2003-08-11 John Levon <levon@movementarian.org> * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update remaining places for the name change from GLIBCPP_FORCE_NEW to GLIBCXX_FORCE_NEW From-SVN: r70363
Diffstat (limited to 'libstdc++-v3/docs/html')
-rw-r--r--libstdc++-v3/docs/html/ext/howto.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/libstdc++-v3/docs/html/ext/howto.html b/libstdc++-v3/docs/html/ext/howto.html
index 83cb50c..1c190a6 100644
--- a/libstdc++-v3/docs/html/ext/howto.html
+++ b/libstdc++-v3/docs/html/ext/howto.html
@@ -285,20 +285,21 @@
SGI STL days. We have removed it in gcc 3.3. See next section
for the new way to get the same effect.
</p>
- <h3>Globally disabling memory caching:<code> GLIBCPP_FORCE_NEW</code></h3>
+ <h3>Globally disabling memory caching:<code> GLIBCXX_FORCE_NEW</code></h3>
<p>Starting with gcc 3.3, if you want to globally disable memory
caching within the library for the default allocator (i.e.
the one you get for all library objects when you do not specify
- which one to use), merely set GLIBCPP_FORCE_NEW (at this time,
+ which one to use), merely set GLIBCXX_FORCE_NEW (at this time,
with any value) into your environment before running the
program. You will obtain a similar effect without having to
recompile your entire program and the entire library (the new
operator in gcc is a light wrapper around malloc). If your
- program crashes with GLIBCPP_FORCE_NEW in the environment,
+ program crashes with GLIBCXX_FORCE_NEW in the environment,
it likely means that you linked against objects built against
the older library. Code to support this extension is fully
- compatible with 3.2 code if GLIBCPP_FORCE_NEW is not in the
- environment.
+ compatible with 3.2 code if GLIBCXX_FORCE_NEW is not in the
+ environment. Prior to GCC 3.4, this variable was spelt
+ GLIBCPP_FORCE_NEW.
</p>
<h3>Writing your own allocators</h3>
<p>Depending on your application (a specific program, a generic library,