如何消除在VC6中使用SGI STL(stlport4.5.3)中的警告信息
pampa 业界专家认证 2002-12-30 10:28:30 我在vc的 dll project的头文件中写了如下代码:
#include <fstream>
using std::ofstream;
class CMyTest
{
//....
ofstream m_stream;
}
编译警告level 3时出现 如下警告信息:
warning C4251: 'm_stream' : class '_STL::basic_ofstream<char,class _STL::char_traits<char> >' needs to have dll-interface to be used by clients of class ‘CMyTest’
请问如何消除这个警告信息,
哪位大虾清楚,请指点,
50 分 想赠