From e4086c73f5c95dfd4b1a214d33d0aa88753bd53a Mon Sep 17 00:00:00 2001 From: levine Date: Mon, 20 Jan 1997 16:07:35 +0000 Subject: wrapped basic_string template instantiation so that it's not used with GreenHills compiler --- STL/ChangeLog | 6 +++++- STL/bstring.h | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'STL') 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 + + * bstring.h: wrapped basic_string template instantiation + so that it's not used with GreenHills compiler. + Tue Jan 14 15:46:31 1997 David L. Levine * 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 * 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& s) _THROW_ALLOC_LENGTH return i; } +#if ! defined (ghs) +// GreenHills 1.8.8 doesn't like this template specialization . . . template basic_string; +#endf /* ghs */ typedef basic_string cstring; typedef basic_string string; //typedef basic_string wstring; -- cgit v1.2.1