Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Warnings with v110 #25

Closed
Hoikas opened this issue Dec 14, 2012 · 2 comments
Closed

Compile Warnings with v110 #25

Hoikas opened this issue Dec 14, 2012 · 2 comments

Comments

@Hoikas
Copy link
Member

Hoikas commented Dec 14, 2012

When compiling with Visual C++ 2012 (v110 toolchain), I see many compile warnings (almost ten thousand) of the same type. They seem to all occur when using a libhsplasma DLL_[CLASS|STRUCT] in an STL container.

C:\Development\Plasma\libhsplasma\core\Util/hsBitVector.h(77): warning C4251: 'hsBitVector::fBitNames' : class 'std::map<_Kty,_Ty>' needs to have dll-interface to be used by clients of class 'hsBitVector'

I have no idea what these warnings mean (they weren't present with v100). I do know that they seem to be increasing the compile time, which is somewhat frustrating.

EDIT: According to MSDN (http://msdn.microsoft.com/en-us/library/esew7y1w.aspx), they're garbage in this case. Can we disable these?

@zrax
Copy link
Member

zrax commented Dec 14, 2012

Actually they've been there since at least VS2008 (maybe earlier) -- I tend to disable that warning, since the last time I checked there was nothing (sane) that could be done about it.

@zrax zrax closed this as completed in f6915e8 Dec 14, 2012
@Hoikas
Copy link
Member Author

Hoikas commented Dec 14, 2012

I guess VS11 has increased the default warning verbosity :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants