Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Spiral

STL DLL warning

This topic is 6197 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a class which is exported from a DLL. It takes an STL std::string as an argument to its constructor and has an std::list as a protected member. It compiles fine, except for these warnings:
warning C4251: 'szFilename' : class 'std::basic_string,class std::allocator >' needs to have dll-interface to be used by clients of class 'CPResource'
warning C4251: 'fileList' : class 'std::list >' needs to have dll-interface to be used by clients of class 'CPResource'
  
Now, I dont have a clue what these mean I am using MSVC 6.0 SP5. Edited by - Spiral on December 26, 2001 9:23:12 PM

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!