Am 18.04.2010 um 23:02 schrieb Pavel Sanda:

> Stephan Witt wrote:
>> +    lyx::support::FileName base(basepath);
>> +    lyx::support::FileName data(base.absFilename() + datapath);
>> +    lyx::support::FileName dict(base.absFilename() + dictpath);
> 
> strip lyx::support:: part?

This works if I add a "using namespace lyx::support;" line.
I guess that's the preferred way...

Regarding the aspell problem for longer words I tracked it down to the
fact that the aspell build is "cpu architecture fragile".

If I configure the build with -arch x86_64 (the default for my platform) it 
works.
If I use "-arch i386" or "-arch -ppc" it works basically. But the spell checker
marks "documentation" as wrong word. So I guess it's some subtle bug in the 
aspell code.
(Not sure of course...)

There are some warnings I would follow to fix this:

common/config.cpp: In constructor 
‘acommon::ListDefaultDump::ListDefaultDump(acommon::OStream&)’:
common/config.cpp:1121: warning: offset outside bounds of constant string
common/config.cpp:1121: warning: offset outside bounds of constant string
common/config.cpp:1121: warning: offset outside bounds of constant string
common/config.cpp:1121: warning: offset outside bounds of constant string
common/config.cpp:1121: warning: offset outside bounds of constant string
common/config.cpp:1125: warning: offset outside bounds of constant string
common/config.cpp:1125: warning: offset outside bounds of constant string

lib/new_fmode.cpp:727: warning: format ‘%i’ expects type ‘int’, but argument 3 
has type ‘size_t’

and some others...

Does anybody have any hint to fix the problem?

Stephan

Reply via email to