Hello, I tried to include a list <Class*> inside a structure and it does not worked. And everytime I compile I get a linker error like that: error: no matching function for call to `
Character.cpp:365: error: no matching function for call to 'std::list<Character_Data*, std::allocator<Character_Data*> >::remove(Character* const)' /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4/bits/list.tcc:174: note: candidates are: void std::list<_Tp, _Alloc>::remove(const _Tp&) [with _Tp = Character_Data*, _Alloc = std::allocator<Character_Data*>] I tried to compile something similar on Visual Studio and it had compiled, then I think it could be something related to g++. I hope this information could help. -- Summary: Definition of list<Class*> not working inside structure Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zweifel at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36175