Re: CoreWLAN CWKeychainCopyPassword() Linker issue
Re: CoreWLAN CWKeychainCopyPassword() Linker issue
- Subject: Re: CoreWLAN CWKeychainCopyPassword() Linker issue
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Wed, 19 Dec 2012 17:18:18 +0000
On 19 Dec 2012, at 12:17, vikas jain <email@hidden> wrote:
> "CWKeychainCopyPassword(__CFData const*, __CFString const**)", referenced from:
It looks like that name contains type information, which indicate that you're trying to call it from C++. If that's the case you can fix the problem by adding:
extern "C" {
...
};
around your import. That way the C++ compiler knows to use C linkage.
btw We should be including this in our headers. Please file complaining that it's missing in this case.
<http://developer.apple.com/bugreporter/>
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden