By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,987 Members | 967 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,987 IT Pros & Developers. It's quick & easy.

VS.NET 2003 Warning C4251

P: n/a
I am writing a shared object (Dll in Windows) and I am making extensive
use of the STL.

I am getting lots of warnings like this:

ClassA.h(139): warning C4251: 'ClassA::indexarray' : class
'std::vector<_Ty>' needs to have dll-interface to be used by clients of
class 'ClassA'
My questions are:
1). Is this a VC7 (2003) specific problem?
2). How do I get rid of these warinings (without using #pragma disable
and without having to modify the sources of the STL)?
3). Is this fixed in VC8 (2005)?

Mar 16 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.