Hi
I am getting this warning when linking (OSX sierra, building for iOS simulator):
ld: warning: direct access in function 'std::__1::__shared_ptr_pointer<std::__1::vector<short,
std::__1::allocator<short> >*, std::__1::default_delete<std::__1::vector<short,
std::__1::allocator<short> > >, std::__1::allocator<std::__1::vector<short,
std::__1::allocator<short> > > >::__get_deleter(std::type_info const&) const' from file
'/Volumes/LIBREOFFICE/ios/core/ios/generated/libLibreOfficeKit_X86_64_debug.a(libLibreOfficeKit.a-x86_64-master.o)'
to global weak symbol 'typeinfo for std::__1::default_delete<std::__1::vector<short,
std::__1::allocator<short> > >' from file
'/Volumes/LIBREOFFICE/ios/core/ios/generated/libLibreOfficeKit_X86_64_debug.a(libLibreOfficeKit.a-x86_64-master.o)'
means the weak symbol cannot be overridden at runtime. This was likely caused by different
translation units being compiled with different visibility settings.
I remember having seen some commits (and discussions) about the shared_ptr implementation, but I am
unsure if I should take this warning seriously ?
Thanks in advance for a bit of advice.
rgds
jan I.
Context
- Linker warning about shared_ptr on Mac, when compiling for iOS. · Jan Iversen
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.