Jump to content
  • Advertisement

Archived

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

Spiral

STL DLL warning

This topic is 6024 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!