[Libreoffice] npshell build / functionality [was: Re: Tinderbox failure, last success: 2011-12-05 19:05:50]

Jan Holesovsky kendy at suse.cz
Tue Jan 10 06:17:19 PST 2012


Hi Michael,

On 2012-01-10 at 13:20 +0100, Michael Stahl wrote:

> on Linux with your change i get only 3 symbols from that file exported,
> and the others not.

Does not sound right :-(

> perhaps MSVC complained that the
> SAL_DLLPUBLIC_EXPORT is just in the wrong position or something, can you
> investigate?

Nope, this was about 'different linkage', like:

d:/master/extensions/source/nsplugin/source/npshell.cxx(446) : error
C2375: 'NPP_New' : redefinition; different linkage
        D:/master/solver/wntmsci12.pro/inc\npsdk/npapi.h(788) : see
declaration of 'NPP_New'

I am afraid that the .def file is needed for Windows :-( - because to
get that right, we would need to change the npapi.h header too; or is
that actually simpler than using the .def file in gbuild?

Regards,
Kendy



More information about the LibreOffice mailing list