Georg Baum a écrit :
I get:
../../../../src/frontends/qt4/lyx_gui.C: In function `void
lyx_gui::start(const std::string&, const std::vector<std::string,
std::allocator<std::string> >&)':
../../../../src/frontends/qt4/lyx_gui.C:228: error: `loadSessionInfo'
undeclared (first use this function)
../../../../src/frontends/qt4/lyx_gui.C:228: error: (Each undeclared
identifier is reported only once for each function it appears in.)
../../../../src/frontends/qt4/lyx_gui.C:230: error: `convert' undeclared
(first use this function)
../../../../src/frontends/qt4/lyx_gui.C:230: error: syntax error before
`int'
../../../../src/frontends/qt4/lyx_gui.C:233: error: syntax error before
`int'
../../../../src/frontends/qt4/lyx_gui.C:246: error: syntax error before
`int'
../../../../src/frontends/qt4/lyx_gui.C:249: error: syntax error before
`int'
Does anybody else see this?
I just updated SVN and I see this also. '#include "session.h"' fixes the
first errors but convert is still unknown. What is this syntax anyway?
// if lyxrc returns (0,0), then use session info
else {
string val =
LyX::ref().session().loadSessionInfo("WindowWidth");
if (val != "")
width = convert<unsigned int>(val);
val = LyX::ref().session().loadSessionInfo("WindowHeight");
if (val != "")
height = convert<unsigned int>(val);
}
Abdel