diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-20 16:07:35 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-20 16:07:35 +0000 |
commit | e4086c73f5c95dfd4b1a214d33d0aa88753bd53a (patch) | |
tree | e7fa38d35ddd94a82d6d346e196404319e58ae61 /STL | |
parent | bcafd8487501a80206f57adeb6f570cfe0f7ec54 (diff) | |
download | ATCD-e4086c73f5c95dfd4b1a214d33d0aa88753bd53a.tar.gz |
wrapped basic_string<char> template instantiation so that it's not used with GreenHills compiler
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; |