diff options
Diffstat (limited to 'STL')
-rw-r--r-- | STL/ChangeLog | 6 | ||||
-rw-r--r-- | STL/bstring.h | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/STL/ChangeLog b/STL/ChangeLog index 557dca8130a..17da9fe8db1 100644 --- a/STL/ChangeLog +++ b/STL/ChangeLog @@ -1,10 +1,14 @@ +Mon Jan 20 10:04:11 1997 David L. Levine <levine@cs.wustl.edu> + + * bstring.h: wrapped basic_string<char> template instantiation + so that it's not used with GreenHills compiler. + Tue Jan 14 15:46:31 1997 David L. Levine <levine@cs.wustl.edu> * tree.h (iterator () and const_iterator ()): added cast of NULL to link_type before assigning it to NIL; GreenHills 1.8.8 fails to compile without it. - Tue Dec 10 20:14:56 1996 Irfan Pyarali <irfan@flamenco.cs.wustl.edu> * bstring.h: Fixed string_char_baggage::copy() so that the pointer diff --git a/STL/bstring.h b/STL/bstring.h index 70a7a544f87..3122da80641 100644 --- a/STL/bstring.h +++ b/STL/bstring.h @@ -2492,7 +2492,10 @@ operator>> (istream& i, basic_string<charT>& s) _THROW_ALLOC_LENGTH return i; } +#if ! defined (ghs) +// GreenHills 1.8.8 doesn't like this template specialization . . . template basic_string<char>; +#endf /* ghs */ typedef basic_string<char> cstring; typedef basic_string<char> string; //typedef basic_string<wchar_t> wstring; |