сделал я класс в dll-библиотеке с STL:
#include <map>
#include <string>
typedef std::map<std::string, std::string> IniParameters;
#ifdef TEST_EXPORTS
#define TEST_API __declspec(dllexport)
#else
#define TEST_API __declspec(dllimport)
#endif
class TEST_API Test
{
public:
....
private:
IniParameters m_IniParameters;
}
но при конпиляции выдаются следующие варнинги
Test.h : warning C4251: 'm_IniParameters' : class 'std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >,struct std::less<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> > > >' need
s to have dll-interface to be used by clients of class 'Test'
Как от них избавиться ?