Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: VC8 stringstream issue...  (Read 1243 times)

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
VC8 stringstream issue...
« on: March 16, 2006, 05:32:49 PM »

Just wanted to post here that I just realised the demos and OIS itself are susceptible to the VC8 STL stringstream (iostream) bug. In Ogre, this was reported as memory leaks with Ogre itself. However, I ran into a problem with the OIS ActionMapping demo, when resetting the action bidings, there was a crash. Anyway, luckliy I remembered the issue, and have replaced all occurances of stringstream with ostringstream.

Though, I really don't get how MS's STL could flake out when restting the vector of events just because elsewhere in the code there was a stringstream being used.. must be some common static stl variable madness. I thought moving away from VC7.0 was supposed to improve MS STL :wink:

Anyway, this will be committed shortly.
Logged