>> Jean-Marc Lasgouttes writes:
>>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> I have investigated a bit on why it is so hard to compile
Lars> devel lyx. Two reasons:
Lars> 1. "class LString;" should not be used in headerfiles. Change
Lars> it to "#include "LString.h"
Lars> 2. The string class supplied with gcc and egcs are not
Lars> compatible with STL string. So the check we use to decide if
Lars> the included string class should be used of not is wrong. We
Lars> should try to find a better check. We could perhaps check if
Lars> string calls bastring.h or if stl/bastring.h exists and if so
Lars> it is not usable.
Lars> For now configure with --with-included-string.
JL> We should probably make --with-included-string the default and
JL> remove the automatic test, then. If even egcs is not good
JL> enough, I'm not sure that LyX is ready to use STL strings.
LyX is ready, LString is a true subset of STL string, not completely
adhereing to the standard, but that is just nit-pick. It is only
recently that the SGI implementation of the STL has included a STL
string, so it might be that current/new versions of egcs has a true
STL string included. I think to test for stl/bastring.h should be ok
bor old egcs/gcc versions. (if they have it it is not good)
Lgb