Victor Bazarov wrote:
[..]
Where you define the 'm_keywords', right after them, [..]
Thanks Victor, I understand now. However, when I apply the
modifications you sugested, I'm still getting linkage errors:
error LNK2001: unresolved external symbol "private: static class
std::list<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class
std::allocator<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > > >
MyParser::m_keywords"
(?m_keywords@MyParser@@0V?$list@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@A)
I can't imagine why I'm getting this linkage error - any ideas ? (I've
run out of ideas)
Read above. WHERE you *define* the 'm_keywords'... So where is it?