[Libreoffice] cppunit support in gbuild.....

Bjoern Michaelsen bjoern.michaelsen at canonical.com
Mon Apr 4 03:37:05 PDT 2011


On Mon, 04 Apr 2011 11:17:52 +0100
Caolán McNamara <caolanm at redhat.com> wrote:

> Yeah, gbuild auto-defaults visibility on, try changing from...
> 
> CPPUNIT_PLUGIN_IMPLEMENT();
> 
> to...
> 
> #define CPPUNIT_PLUGIN_EXPORT extern "C" SAL_DLLPUBLIC_EXPORT
> CPPUNIT_PLUGIN_IMPLEMENT();

No, please use the sal/cppunit.h header instead, abstracting this away.
It did also do the pre_stl/post_stl dance before although that is not
needed anymore without stlport.

Best,

Bjoern


-- 
https://launchpad.net/~bjoern-michaelsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110404/fe99fa64/attachment.pgp>


More information about the LibreOffice mailing list