• 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: CoreWLAN CWKeychainCopyPassword() Linker issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: CoreWLAN CWKeychainCopyPassword() Linker issue
      • From: vikas jain <email@hidden>
References: 
 >CoreWLAN CWKeychainCopyPassword() Linker issue (From: vikas jain <email@hidden>)

  • Prev by Date: CoreWLAN CWKeychainCopyPassword() Linker issue
  • Next by Date: Re: Stale DNS Cache Problem?
  • Previous by thread: CoreWLAN CWKeychainCopyPassword() Linker issue
  • Next by thread: Re: CoreWLAN CWKeychainCopyPassword() Linker issue
  • Index(es):
    • Date
    • Thread