aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2002-11-02 02:18:18 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2002-11-02 02:18:18 +0000
commita7c67c71db6af82c4bafbd476ca38be69d1d984c (patch)
treee305917a4d8f35b6e6393ba522a15fe0a843b28a
parent04d57dd504394cbdc94281c244bb2c1f1fda8a91 (diff)
downloadgcc-a7c67c71db6af82c4bafbd476ca38be69d1d984c.zip
gcc-a7c67c71db6af82c4bafbd476ca38be69d1d984c.tar.gz
gcc-a7c67c71db6af82c4bafbd476ca38be69d1d984c.tar.bz2
re PR libstdc++/8172 (undefined reference to operator+ for string)
2002-11-01 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/8172 * src/string-inst.cc: Add instantiation. From-SVN: r58738
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/src/string-inst.cc4
2 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ef72d5c..67b4639 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,10 @@
2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
+ PR libstdc++/8172
+ * src/string-inst.cc: Add instantiation.
+
+2002-11-01 Benjamin Kosnik <bkoz@redhat.com>
+
PR libstdc++/7926
* configure.target: Simplify.
* config/cpu/i386/atomicity.h: Remove.
diff --git a/libstdc++-v3/src/string-inst.cc b/libstdc++-v3/src/string-inst.cc
index e812aa0..3fcaf51 100644
--- a/libstdc++-v3/src/string-inst.cc
+++ b/libstdc++-v3/src/string-inst.cc
@@ -22,7 +22,8 @@
// As a special exception, you may use this file as part of a free software
// library without restriction. Specifically, if other files instantiate
// templates or use macros or inline functions from this file, or you compile
-// this file and link it with other files to produce an executable, this// file does not by itself cause the resulting executable to be covered by
+// this file and link it with other files to produce an executable, this
+// file does not by itself cause the resulting executable to be covered by
// the GNU General Public License. This exception does not however
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
@@ -48,6 +49,7 @@ namespace std
template class basic_string<C>;
template S operator+(const C*, const S&);
template S operator+(C, const S&);
+ template S operator+(const S&, const S&);
} // namespace std
namespace __gnu_cxx