re PR libstdc++/13884 (Protect sstream.tcc from extern template use)
2004-01-27 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13884 * include/bits/sstream.tcc: Guard use of extern template. From-SVN: r76698
This commit is contained in:
parent
895ea8f080
commit
51b6facb1a
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-01-27 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/13884
|
||||
* include/bits/sstream.tcc: Guard use of extern template.
|
||||
|
||||
2004-01-27 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/basic_string.tcc
|
||||
|
|
|
@ -205,6 +205,7 @@ namespace std
|
|||
// Inhibit implicit instantiations for required instantiations,
|
||||
// which are defined via explicit instantiations elsewhere.
|
||||
// NB: This syntax is a GNU extension.
|
||||
#if _GLIBCXX_EXTERN_TEMPLATE
|
||||
extern template class basic_stringbuf<char>;
|
||||
extern template class basic_istringstream<char>;
|
||||
extern template class basic_ostringstream<char>;
|
||||
|
@ -216,6 +217,7 @@ namespace std
|
|||
extern template class basic_ostringstream<wchar_t>;
|
||||
extern template class basic_stringstream<wchar_t>;
|
||||
#endif
|
||||
#endif
|
||||
} // namespace std
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue