• 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
std::__debug problem with linking against template libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

std::__debug problem with linking against template libraries


  • Subject: std::__debug problem with linking against template libraries
  • From: Jamie Sherman <email@hidden>
  • Date: Tue, 13 Oct 2009 13:18:49 -0700

I am trying to use some libraries, boost and a science specific one (proteowizard). 
I am using Xcode 3.2.1 and gcc 4.2.1 (build 5646). I have installed the libraries and my two test programs 
compile in release mode but when I attempt to compile in debug mode I get errors from 
both libraries an example of which is listed below:

  "pwiz::msdata::ReaderList::read(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__debug::vector<boost::shared_ptr<pwiz::msdata::MSData>, std::allocator<boost::shared_ptr<pwiz::msdata::MSData> > >&) const", referenced from:

      vtable for pwiz::msdata::FullReaderListin main.o
      vtable for pwiz::msdata::ExtendedReaderListin main.o
      vtable for pwiz::msdata::DefaultReaderListin main.o
      vtable for pwiz::msdata::FullReaderListin FullReaderList.o
      vtable for pwiz::msdata::ExtendedReaderListin FullReaderList.o
      vtable for pwiz::msdata::DefaultReaderListin FullReaderList.o
      vtable for pwiz::msdata::ExtendedReaderListin MSDataAnalyzerApplication.o
      vtable for pwiz::msdata::DefaultReaderListin MSDataAnalyzerApplication.o

 
Every error in the full list is a function belonging to a class that takes a std::__debug::vector as an argument.

Since the same code compiles in release mode I'm assuming that there is an issue with the STL library but I'm not entirely sure. What is the suggested work around for this or is there a different underlying issue that I'm not comprehending?

Any advice / suggestions much appreciated. Thanks.
 _______________________________________________
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

  • Prev by Date: Re: strip error using framework in 10.5 build that was (I think) compiled on 10.6
  • Next by Date: More Stripping Questions
  • Previous by thread: Re: strip error using framework in 10.5 build that was (I think) compiled on 10.6
  • Next by thread: More Stripping Questions
  • Index(es):
    • Date
    • Thread