• 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: GetAliasSize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GetAliasSize


  • Subject: Re: GetAliasSize
  • From: George Warner <email@hidden>
  • Date: Mon, 16 Jan 2006 13:18:24 -0800
  • Thread-topic: GetAliasSize

On Mon, 16 Jan 2006 11:47:47 -0600, Steve Mills <email@hidden> wrote:
> On Jan 16, 2006, at 11:36, Shawn Erickson wrote:
>> Anyway I wonder if GetAliasSize is somehow not wrapped in an extern
>> "C" so your C++ build is looking for it with a different, C++ mangled,
>> name.
>
> None of the other functions in Aliases.h are wrapped in extern "C",
> so I don't see why a new function would be any different. It's more
> like it's not using the correct SDK path when it's compiling the file.

I'm not sure what headers you're using but my <Aliases.h> uses extern "C";
Look for this just after the "#include"'s:

#ifdef __cplusplus
extern "C" {
#endif

and at the end:

#ifdef __cplusplus
}
#endif

--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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

  • Follow-Ups:
    • Re: GetAliasSize
      • From: Steve Mills <email@hidden>
  • Prev by Date: Re: "Build succeded (2 errors)"
  • Next by Date: Re: GetAliasSize
  • Previous by thread: Re: GetAliasSize
  • Next by thread: Re: GetAliasSize
  • Index(es):
    • Date
    • Thread