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: Graham Reitz <email@hidden>
- Date: Wed, 5 Dec 2007 10:29:11 -0600
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?
graam
On Dec 5, 2007, at 2:07 AM, Thomas Engelmeier wrote:
On 05.12.2007, at 05:56, Graham Reitz wrote:
After painstakingly going through each compiler option I found the
culprit. If the _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC are
defined, they are by default in the debug build, the program crashes.
[...]
Has anyone else seen this before, provide a possible explanation,
or point me in the right direction in order to understand what is
causing the crash with those defined?
Simply: Your application is buggy.
error: function requires a valid iterator range [__first, __last).
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.
Regards,
Tom_E
_______________________________________________
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