Re: [Libreoffice] SW_DLLPUBLIC limitations ...

2010-11-01 Thread Thorsten Behrens
Cedric Bosdonnat wrote: > I finally got it working with SAL_DLLPUBLIC_EXPORT as michael suggested. > If there is any possible trouble, let me know ;) > Hi - oh wow, dynamic_casting on interfaces is really nasty - we should truly put up a bunch of big red warning signs around that. FWIW, if you try

Re: [Libreoffice] SW_DLLPUBLIC limitations ...

2010-10-27 Thread Cedric Bosdonnat
Hi Tor, Michael, I finally got it working with SAL_DLLPUBLIC_EXPORT as michael suggested. If there is any possible trouble, let me know ;) -- Cedric On Wed, 2010-10-27 at 07:21 -0600, Tor Lillqvist wrote: > > The question (for > > Tor) is - if we have a __declspec(dllexport) on two identical sym

Re: [Libreoffice] SW_DLLPUBLIC limitations ...

2010-10-27 Thread Tor Lillqvist
> The question (for > Tor) is - if we have a __declspec(dllexport) on two identical symbols in > two shared libraries that link to each other: will we get some vile > linking conflict ? [ or not ] ;-) As far as I could see by experimenting, yes, as long as you from a DLL don't both import and exp

[Libreoffice] SW_DLLPUBLIC limitations ...

2010-10-27 Thread Michael Meeks
Hi guys, Soo ... Cedric just had an interesting bug: On Tue, 2010-10-26 at 18:22 +0200, Cédric Bosdonnat wrote: > Attached is a diff adding the SW_DLLPUBLIC to the ICheckboxFieldmark > (and friends). To test the problem, open the p11.doc file. > > sw/source/core/doc/docbm.cxx, line 448 w