• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes...
      • From: Graham Reitz <email@hidden>
References: 
 >_GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes... (From: Graham Reitz <email@hidden>)

  • Prev by Date: Re: _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes...
  • Next by Date: Unsuscribe
  • Previous by thread: Re: _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes...
  • Next by thread: Re: _GLIBCXX_DEBUG _GLIBCXX_DEBUG_PEDANTIC nuttiness causing debug build crashes...
  • Index(es):
    • Date
    • Thread