• 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: Mixing ObjC and C++ STL on same ObjC source file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing ObjC and C++ STL on same ObjC source file


  • Subject: Re: Mixing ObjC and C++ STL on same ObjC source file
  • From: Matt Gough <email@hidden>
  • Date: Fri, 12 Sep 2008 12:27:51 +0200


On 12 Sep 2008, at 12:21, Daniel Luis dos Santos wrote:

When I call a method on the library with a pointer to a STL map (std::map<std::string, std::string>) as an argument, the linker complains it can't find it. I made a test method on the lib that takes only a std::string and it works. Passing a std::map<int, int> fails with the same error. Other methods in the lib that don't use STL are found by the linker.

Don't know what is happening, or if there is any limitation because of STL.


I don't know what is causing this problem. What I can tell you is that I have a similar setup that has no problem calling std::map (or any other part of stl).

Sorry I can't be anymore help

Matt

P.S please stop cross-posting to Xcode and Cocoa - This seem more of an Xcode issue, so that's where I replied to.
_______________________________________________
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: 
 >Mixing ObjC and C++ STL on same ObjC source file (From: Daniel Luis dos Santos <email@hidden>)
 >Re: Mixing ObjC and C++ STL on same ObjC source file (From: email@hidden)
 >Re: Mixing ObjC and C++ STL on same ObjC source file (From: Daniel Luis dos Santos <email@hidden>)

  • Prev by Date: Re: Mixing ObjC and C++ STL on same ObjC source file
  • Next by Date: Re: Mixing ObjC and C++ STL on same ObjC source file
  • Previous by thread: Re: Mixing ObjC and C++ STL on same ObjC source file
  • Next by thread: Re: Mixing ObjC and C++ STL on same ObjC source file
  • Index(es):
    • Date
    • Thread