On 30 Mar 2000, Jean-Marc Lasgouttes wrote:
> >>>>> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:
>
> Allan> If we could compile without exceptions we'd be okay. The
> Allan> problem is that gcc's <exception> header has a line: #include
> Allan> <string>
>
> But if you define __STRING__ before the #include <string>, then the
> include should have no effect... This solution is certainly better than
> your stl_string_forward.h hack (am I wrong?).
Yes it certainly seems to work for gcc's STL. There wasn't a suitable
#define I could use to block stl_string_fwd.h though -- which is why that
hack was needed for SGI.
> The problem, as pointed by Lars, is that several STL headers use
> basic_string<> and not plain string.
I don't think I've seen any problems here. Which STL's do that?
Blacklist them! It is Friday after all.
Allan. (ARRae)