Re: _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes...
Re: _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes...
- Subject: Re: _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes...
- From: Chris Espinosa <email@hidden>
- Date: Wed, 5 Dec 2007 08:57:57 -0800
On Dec 5, 2007, at 8:29 AM, Graham Reitz wrote:
Thanks Tom,
That is what goes wrong - the passed in values don't survive
validation. Either one of them is uninitialized, they are in the
wrong order or don't belong to the same container.
Why does the exact same code and libraries run fine under the
release build?
Lots of bugs seem to work in well-known cases and only fail in odd or
exceptional cases. That's one of the benefits of building with the
debug macros: it catches technical errors that may just work at
runtime, but are not reliable.
If you're deliberately asking the compiler to warn you about errors in
your STL usage, you should probably heed what it's telling you.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden