Mail Archives: djgpp/1999/03/25/11:51:04
I've created a new class called CSentence that has a list of
string.
list <string> m_Words;
There is nothing in the class except a default constructor which
is empty, a destructor (also empty) and a test case.
While linking, LD displays the following error message:
d:/djgpp/tmp\ccdaaaaa(.text+0xe1c6):Sentence.cc: undefined reference to `list<basic_string<char, string_char_traits<char> > >::operator=(list<basic_string<char,
string_char_traits<char> > > const &)'
What's the possible problem? How can I track down the problem?
------------------------------
Yong-Kwang Goh
Ngee Ann Polytechnic
The Centre for Computer Studies
Email: s6606555 AT np DOT edu DOT sg
------------------------------
- Raw text -