From: <sil...@li...> - 2005-08-05 09:38:46
|
Update of /cvsroot/silgraphite/silgraphite/src/Generic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17551/Generic Modified Files: UtilString.cpp Log Message: fixes to compile and link on gcc4 works fine on gcc3.3 so if it breaks msvc please don't revert but discuss on list Index: UtilString.cpp =================================================================== RCS file: /cvsroot/silgraphite/silgraphite/src/Generic/UtilString.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- UtilString.cpp 10 Jun 2005 16:36:53 -0000 1.8 +++ UtilString.cpp 5 Aug 2005 09:38:36 -0000 1.9 @@ -39,12 +39,12 @@ //:>******************************************************************************************** //:Associate with StrBase<utf16>. -template class StrBase<utf16>; // Instantiation for XChar = utf16. -StrBase<utf16>::StrBuffer StrBase<utf16>::s_bufEmpty; // Instantiation of empty utf16 buffer. +//template class StrBase<utf16>; // Instantiation for XChar = utf16. +template<> StrBase<utf16>::StrBuffer StrBase<utf16>::s_bufEmpty; // Instantiation of empty utf16 buffer. //:Associate with StrBase<schar>. -template class StrBase<schar>; // Instantiation for XChar = schar. -StrBase<schar>::StrBuffer StrBase<schar>::s_bufEmpty; // Instantiation of empty schar buffer. +//template class StrBase<schar>; // Instantiation for XChar = schar. +template<> StrBase<schar>::StrBuffer StrBase<schar>::s_bufEmpty; // Instantiation of empty schar buffer. /*---------------------------------------------------------------------------------------------- |