]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
trouble.texi (Interoperation): Update information about C++ ABI issues.
authorJanis Johnson <janis187@us.ibm.com>
Wed, 4 Sep 2002 20:28:38 +0000 (20:28 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Wed, 4 Sep 2002 20:28:38 +0000 (20:28 +0000)
2002-09-04  Janis Johnson  <janis187@us.ibm.com>

* trouble.texi (Interoperation): Update information about C++ ABI
issues.

From-SVN: r56808

gcc/ChangeLog
gcc/doc/trouble.texi

index 32ed90e3334f9a0583be275607fc0da43bf96223..914fdd408f50fc311ccd37eb04ef6471654b98c4 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-04  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/trouble.texi (Interoperation): Update information about C++ ABI
+       issues.
+
 2002-09-04  Jason Thorpe  <thorpej@wasabisystems.com>
 
        * config/sparc/t-netbsd64: Disable multilib for now.
index 3efca1fc9597ff1096abf582814d7dc4b39d30b4..446fcccdc4c0ce6f52b3cea81d5569ee6a1f335a 100644 (file)
@@ -105,11 +105,13 @@ libraries and debuggers on certain systems.
 
 @itemize @bullet
 @item
-G++ does not do name mangling in the same way as other C++
-compilers.  This means that object files compiled with one compiler
-cannot be used with another.
+On many platforms, GCC supports a different ABI for C++ than do other
+compilers, so the object files compiled by GCC cannot be used with object
+files generated by another C++ compiler.
 
-This effect is intentional, to protect you from more subtle problems.
+An area where the difference is most apparent is name mangling.  The use
+of different name mangling is intentional, to protect you from more subtle
+problems.
 Compilers differ as to many internal details of C++ implementation,
 including: how class instances are laid out, how multiple inheritance is
 implemented, and how virtual function calls are handled.  If the name