On Tue, Oct 07, 2003 at 09:43:55AM +0200, Lars Gullik Bjønnes spake thusly: > > Martin Vermeer <[EMAIL PROTECTED]> writes:
> | The message is the following: > > > | In file included from math_macrotable.C:13: > | math_macrotable.h:26: `string' undeclared in namespace `_STL' > > Yes... but this is math_macrotable.h only. The others were the same. Except for one required 'using' statement. > Did you fix all the problems in one go, or did you try to recompile in > between. I fixed one at a time. Heaven knows how many times I recompiled... > My method was to begin a recombile everytime i added a <string> Same here. Of course it might be that an added <string> became superfluous again by a later added one... I did not go back to check that (Would Angus have a script for that?). > >> But it shouldn't really matter... strange though that STLport does not > >> forward declare std::string in about the same places as libstdc++. > > > | What does the standard say? Brokken includes <string> in all his > | examples. > > The standard say nothing about this. In other words, a legal implementation can require #include <string> throughout? > -- > Lgb - Martin
pgp00000.pgp
Description: PGP signature