Jump to content
  • Advertisement


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


MSVC Deque/string

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

#include #include #include #include using namespace std; int main() { deque lines; // Make a deque of string return 0; } This generate a warning about nam,es >255 chars what happends and how to recognize it??

Share this post

Link to post
Share on other sites
Don''t worry about that. It''s only that deque is actually a typedef a template with 3 or 4 params, I don''t remember exactly. But those 3 or 4 params make the type textual description really long, longer than 255 characters.

MSVC++ debugger can only show 255 characters for types and variable name, so it just warns you that if you read type of deque in the debugger, it will be missing some chars.

It doesn''t not affect the code in any way.

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!