Re: Mixing ObjC and C++ STL on same ObjC source file
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