我在mfc下用stl编写了一个dialog
将其嵌入到另外一个工程下的时候出现如下错误
Compiling...
ChildDlg1.cpp
c:\program files\microsoft visual studio\vc98\include\xstring(612) : error C2628: 'basic_string<char,struct std::char_traits<char>,class std::allocator<char> >' followed by 'char' is illegal (did you forget a ';'?)
c:\program files\microsoft visual studio\vc98\include\xstring(612) : error C2059: syntax error : ';'后来发现只有当include <map>时 才不会出错
而include<vector> include<stack>的时候就会出现这种错误
并且我都来把该dialog移植到一个简单的工程下时也没出现这种错误了 
各种模版都可以正常使用了 
为何会出现这种错误呢?