• 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: weird things with safe iterators in xcode debug configurations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird things with safe iterators in xcode debug configurations


  • Subject: Re: weird things with safe iterators in xcode debug configurations
  • From: Steve Checkoway <email@hidden>
  • Date: Thu, 11 Dec 2008 14:50:44 -0800

On Thu, Dec 11, 2008 at 10:50:42AM +0100, Mattias Holm wrote:
> gcc -x c++  -O0  -c foo.cc -o foo.o
> libtool -static foo.o -o libfoobar.a
> gcc -x c++  -O0 -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -c test.cc
> g++ -arch i386 test.o -L. -lfoobar -o test

You should be compiling foo.cc with -D_GLIBCXX_DEBUG=1
-D_GLIBCXX_DEBUG_PEDANTIC=1 as well.

--
Steve Checkoway


 _______________________________________________
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

References: 
 >weird things with safe iterators in xcode debug configurations (From: "Mattias Holm" <email@hidden>)

  • Prev by Date: Re: Xcode won't select correct SDK
  • Next by Date: Stale Source Code Displayed
  • Previous by thread: weird things with safe iterators in xcode debug configurations
  • Next by thread: OCUnit question
  • Index(es):
    • Date
    • Thread