STL bug on Mac os? (C++)

Started by
10 comments, last by KanonBaum 12 years, 10 months ago
I made the changes you suggested but it still crashes on line 66 specifically. When I try to get values from the tiles.

However, I commented it out and I am able to get property values from objects which follows the same format so I'm confused, but hey! It's finally progress now! Thanks for your help so far. :D
I'm that imaginary number in the parabola of life.
Advertisement

I made the changes you suggested but it still crashes on line 66 specifically. When I try to get values from the tiles.

It really sounds like Tileset::GetTile() is returning NULL (indicating tile not found). Since I can not reproduce the problem, could you check the various pointers returned for NULL?

It could be a line ending problem when reading or parsing data.

Stephen M. Webb
Professional Free Software Developer

Oh DUH! It was. Thank you so much! I'm definitely going to use Valgrind from now on for this sort of thing. Thanks again!
I'm that imaginary number in the parabola of life.

This topic is closed to new replies.

Advertisement