Jump to content
  • Advertisement


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


STL DLL warning

This topic is 6115 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

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!