Can anyone decipher these linker warnings for me? They don’t make much sense to me…
Environment: Mbed Studio 1.1, MbedOS 5.15.4
Libs used: mbed-http, PinDetect
Platform: EA LPC4088 Quickstart board
[Warning] @0,0: L6439W: Multiply defined Global Symbol std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string__sub_object(const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, unsigned, unsigned, const std::__1::allocator<char>&) defined in .text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_jjRKS4_(c:\Users\Chris\AppData\Local\Mbed Studio\mbed-studio-tools\ac6\bin\..\lib\libcxx\libcpp_w.l(string.cpp.o)) rejected in favor of Symbol defined in .text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_jjRKS4_(BUILD/LPC4088/ARMC6/src/main.o).
[Warning] @0,0: L6439W: Multiply defined Global Symbol std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string__sub_object(const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&) defined in .text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_(c:\Users\Chris\AppData\Local\Mbed Studio\mbed-studio-tools\ac6\bin\..\lib\libcxx\libcpp_w.l(string.cpp.o)) rejected in favor of Symbol defined in .text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_(BUILD/LPC4088/ARMC6/src/main.o).
[Warning] @0,0: L6439W: Multiply defined Global Symbol std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::~basic_string__sub_object() defined in .text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(c:\Users\Chris\AppData\Local\Mbed Studio\mbed-studio-tools\ac6\bin\..\lib\libcxx\libcpp_w.l(string.cpp.o)) rejected in favor of Symbol defined in .text._ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(BUILD/LPC4088/ARMC6/src/main.o).
So far I’ve ignored them as the binary seems to run fine, but I’m not sure if there’s a ‘structural’ problem I should track down (or not?).
TIA