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
This commit is contained in:
Benjamin Kosnik 2002-11-02 02:18:18 +00:00 committed by Benjamin Kosnik
parent 04d57dd504
commit a7c67c71db
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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