Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Anybody have a clue what might cause this (in a build for the iOS
simulator, using the llvm-g++ 4.2.1 in Xcode 4.3):

Undefined symbols for architecture i386:
  "com::sun::star::uno::Reference<com::sun::star::uno::XInterface>::operator
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
const&() const", referenced from:
      non-virtual thunk to
framework::RootItemContainer::createInstanceWithArgumentsAndContext(com::sun::star::uno::Sequence<com::sun::star::uno::Any>
const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
const&)in libfwilo.a(rootitemcontainer.o)
      non-virtual thunk to
framework::RootItemContainer::createInstanceWithContext(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext>
const&)in libfwilo.a(rootitemcontainer.o)

If I rebuild framework with -fkeep-inline-functions the error goes
away. But surely it shouldn't be necessary to use that option? And
can't using that everywhere cause multiply defined symbols then
instead?

A compiler problem and/or some weird underspecified corner case
relating to inline and templates? Is there something weird or vague in
that cast operator in Reference, or in those
createInstanceWithArgumentsAndContext and createInstanceWithContext
methods in rootitemcontainer.cxx?

--tml

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.