ld warning: direct access in function void boost

Hi everyone. I have a 3rd party SDK in my project that presents the following warning on Xcode:


ld: warning: direct access in function 'void boost::function2<boost::iterator_range<std::__1::__wrap_iter<wchar_t*> >, std::__1::__wrap_iter<wchar_t*>, std::__1::__wrap_iter<wchar_t*> >::assign_to<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<wchar_t> > >(boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<wchar_t> >)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.


I did some research and found out that is related to some visibility compiler flags that don't match. I did some changes, but still could not find a way to fix this warning. Does anyone have an idea on how this can be fixed? Thank you.

iPhone XS Max

Posted on Sep 9, 2019 4:40 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ld warning: direct access in function void boost

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.