Jump to content
  • Advertisement

Archived

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

Pipo DeClown

iterator warning in dev-cpp

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

	std::vector< Item >::iterator ItemIter;
Dev-cpp 4.9.8.1 says: "[warning] typename std::vector< Item, std::allocator<_CharT>" I dont see anything wrong with this code.. Everything _compiles_with_normal_errors_ when I put "int" for the type.. .lick

Share this post


Link to post
Share on other sites
Advertisement
Sounds like an implicit typename problem. Most compilers allow(ed) implicit typenames, but the standard does not. So, GCC forces explicit typenames now. With Google, I found this page that gives you an example of what''s wrong and how to fix it. If that''s not the problem, paste all of the relevant code.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Thanks for the answer!

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!