|
我在我的一些类里声明了一些STL的LIST成员,当我输出整个类时,如
CLASS DLL-API Cabcd
{
PROTECTED:
LIST<Cefgh> LISTefgh;
.......
}
会出现很多C4251警告:
例如:
warning C4251: 'MovableUnits' : class 'std::list<class ISceneUnit *,class std::allocator<class ISceneUnit *> >' needs to have dll-interface to be used by clients of class 'CScene'
我现在把它们DISABLE了,STL怎么搞DLL接口什么的?这些警告影响我的DLL吗?怎么解决?
[em24] |
|