Several warnings generated on compiling with POCO library

时间:2015-07-31 20:46:38

标签: xcode poco poco-libraries

There are plenty of warnings when compiling a xcode project that is linked to static POCO libraries. The Version of Poco is 1.6.0; XCode version is 6.3.2; OSX SDK version is: 10.10. How to resolve this? Any help would be appreciable.

ld: warning: direct access in Poco::Dynamic::VarHolderImpl<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::convert(bool&) const 
to global weak symbol guard variable for Poco::Dynamic::VarHolderImpl<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::convert(bool&) const::VAL_INT_FALSE 
means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.

0 个答案:

没有答案