• 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: Why am I always getting the linker error: 'duplicate symbol'...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why am I always getting the linker error: 'duplicate symbol'...?


  • Subject: Re: Why am I always getting the linker error: 'duplicate symbol'...?
  • From: "Frederick C. Lee" <email@hidden>
  • Date: Mon, 21 Sep 2009 14:55:48 -0700

I've been reading C & C++ conflicts in from a URL link to
...examples_short.pdf.It appears you're right.

The hassles of using 'const' & 'static' versus #define <> just isn't worth
pursuing.
I'll stick to the #define stmt and keep it simple.

Ric.


On Mon, Sep 21, 2009 at 2:40 PM, Greg Guerin <email@hidden> wrote:

> Frederick C. Lee wrote:
>
>  I'm assuming 'const <datatype>' is better then the compiler directive
>> '#define', due to the use of the compiler
>> for more-efficient code.   Hence the attempt.
>>
>
>
> Is your code currently bogged down loading #defined literal values?  If
> not, then why pursue efficiency, as opposed to not fixing it if it ain't
> broken?
>
>  -- GG
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Why am I always getting the linker error: 'duplicate symbol'...? (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Handling mouse events in NSCell's?
  • Next by Date: Re: NSManagedObject Initialization Methods Not Called
  • Previous by thread: Re: Why am I always getting the linker error: 'duplicate symbol'...?
  • Next by thread: FileManager Problem Post OS X 10.6 Installation
  • Index(es):
    • Date
    • Thread