[Libreoffice] MSVC class-in-class visibility (Re: Tinderbox failure, last success: 2011-11-24 15:00:56)

Lubos Lunak l.lunak at suse.cz
Fri Nov 25 10:12:00 PST 2011


On Friday 25 of November 2011, kendy at suse.cz wrote:
> Hi folks,
>
> One of you broke the build of LibreOffice with your commit :-(
> Please commit and push a fix ASAP!
...
> c:/libreoffice/workdir/wntmsci12.pro/CxxObject/starmath/source/view.o
> c:/libreoffice/workdir/wntmsci12.pro/CxxObject/starmath/source/visitors.o
> Creating library
> c:/libreoffice/workdir/wntmsci12.pro/LinkTarget/Library/ism.lib and object
> c:/libreoffice/workdir/wntmsci12.pro/LinkTarget/Library/ism.exp
> ooxmlimport.o : error LNK2019: unresolved external symbol "public: class
> rtl::OUString __thiscall
> oox::formulaimport::XmlStream::AttributeList::attribute(int,class
> rtl::OUString const &)const "
> (?attribute at AttributeList@XmlStream at formulaimport@oox@@QBE?AVOUString at rtl@@
>HABV56@@Z) referenced in function "private: class rtl::OUString __thiscall
> SmOoxmlImport::handleR(void)"

 Hmm ... does the DLLPUBLIC stuff with MSVC not extend to everything in the 
scope it's applied to?

> (?handleR at SmOoxmlImport@@AAE?AVOUString at rtl@@XZ) ooxmlimport.o : error
> LNK2019: unresolved external symbol "public: __thiscall
> oox::formulaimport::XmlStream::Tag::operator bool(void)const "
> (??BTag at XmlStream@formulaimport at oox@@QBE_NXZ) referenced in function
> "private: class rtl::OUString __thiscall SmOoxmlImport::handleR(void)"
> (?handleR at SmOoxmlImport@@AAE?AVOUString at rtl@@XZ) ooxmlimport.o : error
> LNK2019: unresolved external symbol "public: bool __thiscall
> oox::formulaimport::XmlStream::AttributeList::attribute(int,bool)const "
> (?attribute at AttributeList@XmlStream at formulaimport@oox@@QBE_NH_N at Z)
> referenced in function "private: class rtl::OUString __thiscall
> SmOoxmlImport::handleBorderBox(void)"
> (?handleBorderBox at SmOoxmlImport@@AAE?AVOUString at rtl@@XZ)
> c:/libreoffice/workdir/wntmsci12.pro/LinkTarget/Library/smlo.dll : fatal
> error LNK1120: 3 unresolved externals make[1]: ***
-- 
 Lubos Lunak
 l.lunak at suse.cz


More information about the LibreOffice mailing list