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: Thomas Engelmeier <email@hidden>
- Date: Wed, 5 Dec 2007 09:07:24 +0100
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