On Tue, Oct 07, 2003 at 06:32:29AM +0200, Lars Gullik Bjønnes spake thusly: > To: Martin Vermeer <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: std::string pathc > From: [EMAIL PROTECTED] (Lars Gullik Bjønnes) > Organization: LyX Developer http://www.lyx.org/ > Date: Tue, 07 Oct 2003 06:32:29 +0200 > In-Reply-To: <[EMAIL PROTECTED]> > User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) > X-RAVMilter-Version: 8.4.3(snapshot 20030212) (smtp-2.hut.fi) > > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | rest of the evening... here's the patch needed for STLport. Feel free > | to commit, I'm hitting the sack. > > Do you really need <string> in all those places? You seem to add it in > more places than I removed "support/std_string.h"
The message is the following: In file included from math_macrotable.C:13: math_macrotable.h:26: `string' undeclared in namespace `_STL' math_macrotable.h:26: parse error before `const' math_macrotable.h:28: `string' undeclared in namespace `_STL' math_macrotable.h:28: parse error before `const' math_macrotable.h:33: `string' undeclared in namespace `_STL' math_macrotable.h:33: template argument 1 is invalid math_macrotable.h:33: template argument 1 is invalid math_macrotable.h:33: template argument 3 is invalid math_macrotable.h:33: template argument 1 is invalid math_macrotable.h:33: template argument 1 is invalid math_macrotable.h:33: template argument 4 is invalid math_macrotable.h:33: confused by earlier errors, bailing out > 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. > -- > Lgb - Martin
pgp00000.pgp
Description: PGP signature