Visibility Issues


#1

Hi,
I’m using JUCE and loving it, but I just ran into something that I can’t figure out.
Basically, I’m trying to access some std::set’s and std::map’s from inside a Component, and somehow I can’t do it.
Everything compiles, but I get warnings and no functionality–I mean the window won’t actually even open–it just bounces at the bottom of my mac’s Launch bar.
I’ve tried writing my own comparison classes, and that didn’t help. I’m not sure where std::min and the rest of this stuff is used in sets or maps or how it got hidden in JUCE.
However, I haven’t been able to find a way to access my data that is publicly stored in these types.
Do you have any suggestions for me? Also, if you have an idea as to how this stuff gets hidden, I’d be interested to hear about it. It was my understanding that std c++ library was already defined and whatnot–I didn’t know it could be changed–much less how.
Thanks in advance,
Sean

P.S.
Here is an example of small sample of code and the warnings: This code is inside a component that otherwise works fine. When the set iterator is all that is accessed, I get the first warning and everything works fine. The map iterator kills everything. The set iterator is defined as set and the map iterator is defined as map<long,double>.

for(C_AtomicRadiiVDW::setIt=C_AtomicRadiiVDW::typesOfAtomSet.begin(); C_AtomicRadiiVDW::setIt!=C_AtomicRadiiVDW::typesOfAtomSet.end(); C_AtomicRadiiVDW::setIt++)
    {
        long atomTypeLong=*C_AtomicRadiiVDW::setIt;
        cerr<<atomTypeLong<<endl;
        if(C_TypeOfAtom::typeOfAtomMapLongToString.count(atomTypeLong)>0)
         {
            cerr<<"found\n";
         }
    }

ld: warning: unsigned long const& std::min(unsigned long const&, unsigned long const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_AtomicRadiiVDW.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/JuceLibraryCode2.o
ld: warning: C_TypeOfAtom::compareLong::operator()(long const&, long const&) consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: unsigned long const& std::min(unsigned long const&, unsigned long const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/JuceLibraryCode2.o
ld: warning: std::unary_function<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, long const>::unary_function()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >::_Select1st()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree_const_iterator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >::operator==(std::_Rb_tree_const_iterator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > const&) consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >::operator()(std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > const&) consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree_const_iterator::_Rb_tree_const_iterator(std::_Rb_tree_node const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree_const_iterator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >::_Rb_tree_const_iterator(std::_Rb_tree_node<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::end() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::_M_begin() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::_M_end() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::_S_left(std::_Rb_tree_node_base const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::_S_right(std::_Rb_tree_node_base const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::_S_value(std::_Rb_tree_node<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::_S_key(std::_Rb_tree_node<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::_S_value(std::_Rb_tree_node_base const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::_S_key(std::_Rb_tree_node_base const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::_Rb_tree<long, std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > >, std::_Select1st<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::find(long const&) consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::map<long, std::basic_string<char, std::char_traits, std::allocator >, C_TypeOfAtom::compareLong, std::allocator<std::pair<long const, std::basic_string<char, std::char_traits, std::allocator > > > >::count(long const&) consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomListComponent.o
ld: warning: std::basic_string<char, std::char_traits, std::allocator > std::operator+<char, std::char_traits, std::allocator >(std::basic_string<char, std::char_traits, std::allocator > const&, char const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(C_TypeOfAtom.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/JuceLibraryCode4.o
ld: warning: unsigned long const& std::min(unsigned long const&, unsigned long const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/JuceLibraryCode2.o
ld: warning: std::vector<double, std::allocator >::size() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::~new_allocator()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::allocator::~allocator()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::allocator::~allocator()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::new_allocator(__gnu_cxx::new_allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::allocator::allocator(std::allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::allocator::allocator(std::allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_Vector_impl::~_Vector_impl()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_M_get_Tp_allocator()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_Vector_impl::_Vector_impl(std::allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: void std::__destroy_aux<double*>(double*, double*, std::__true_type)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: void std::_Destroy<double*>(double*, double*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: void std::_Destroy<double*, double>(double*, double*, std::allocator)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_M_get_Tp_allocator() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::max_size() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::deallocate(double*, unsigned long)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_M_deallocate(double*, unsigned long)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::~_Vector_base()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::vector<double, std::allocator >::~vector()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::allocate(unsigned long, void const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_M_allocate(unsigned long)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: double* std::__copy<true, std::random_access_iterator_tag>::copy(double const*, double const*, double*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMString.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: unsigned long const& std::min(unsigned long const&, unsigned long const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/JuceLibraryCode2.o
ld: warning: std::vector<double, std::allocator >::size() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_M_get_Tp_allocator() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_M_get_Tp_allocator()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >::__normal_iterator(double const* const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::vector<double, std::allocator >::end() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::vector<double, std::allocator >::begin() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::new_allocator(__gnu_cxx::new_allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::allocator::allocator(std::allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_Vector_impl::_Vector_impl(std::allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::allocator::allocator(std::allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::~new_allocator()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::allocator::~allocator()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_Vector_impl::~_Vector_impl()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::allocator::~allocator()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: void std::__destroy_aux<double*>(double*, double*, std::__true_type)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: void std::_Destroy<double*>(double*, double*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: void std::_Destroy<double*, double>(double*, double*, std::allocator)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::max_size() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >::base() consthas different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::allocate(unsigned long, void const*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_M_allocate(unsigned long)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_Vector_base(unsigned long, std::allocator const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: double* std::__copy<true, std::random_access_iterator_tag>::copy(double const*, double const*, double*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: double* std::__copy_aux<double const*, double*>(double const*, double const*, double*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: double* std::__copy_normal<true, false>::__copy_n<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*>(__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: double* std::copy<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*>(__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: double* std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*>(__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*, std::__true_type)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: double* std::uninitialized_copy<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*>(__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: double* std::__uninitialized_copy_a<__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*, double>(__gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, __gnu_cxx::__normal_iterator<double const*, std::vector<double, std::allocator > >, double*, std::allocator)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: __gnu_cxx::new_allocator::deallocate(double*, unsigned long)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::_M_deallocate(double*, unsigned long)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::_Vector_base<double, std::allocator >::~_Vector_base()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::vector<double, std::allocator >::vector(std::vector<double, std::allocator > const&)has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o
ld: warning: std::vector<double, std::allocator >::~vector()has different visibility (default) in /LAB/SRM/PROGS/LIBSRM/LIB/libsrm.SeanBench.a(CSRMMath.o) and (hidden) in /LAB/SRM/PROGS/BIOCHEM_MODELER_SRM/Builds/MacOSX/build/BIOCHEM_MODELER_SRM.build/Debug/BIOCHEM_MODELER_SRM.build/Objects-normal/x86_64/C_AtomComponent.o


#2

You’re not just running a bunch of code that blocks the event thread, are you?


#3

Yep,
I was being daft. Thanks!
I tried calling the same code without JUCE and it turned out I initialize the data in the wrong order.
Problem solved and it had nothing to do with JUCE!
Sean