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

Re: ZeroLink: unknown symbol


  • Subject: Re: ZeroLink: unknown symbol
  • From: "Clark Cox" <email@hidden>
  • Date: Sun, 26 Aug 2007 13:10:06 -0700

On 8/26/07, Frank Rimlinger <email@hidden> wrote:
>
>
> On Aug 26, 2007, at 2:10 PM,  "Clark Cox" <email@hidden>
>  wrote:
>
>
> That is your problem. When writing a class template like this, all of
>
> the definitions need to be visible to any clients of the code. Put
>
> your definitions in the DataAnalysis.h file.
>
>
>
> I realized long ago that I had to do this to get class templates to work.
> Is this a part of the C++ language specification or just a quirk of Xcode?

The C++ standard *does* have a way around this (the "export" keyword),
however practically nobody actually has a compiler that implements
that part of the standard. So, any compiler that you're likely to
encounter (gcc, Visual C++, CodeWarrior, etc.) will require this as
well. Only one compiler that I'm familiar with implements the export
keyword.

So, in answer to your question: technically, it is a quirk of gcc, but
it is a quirk shared by almost every compiler out there; effectively
making that "quirk" de facto standard.


--
Clark S. Cox III
email@hidden
 _______________________________________________
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

References: 
 >Re: ZeroLink: unknown symbol (From: Frank Rimlinger <email@hidden>)

  • Prev by Date: Re: ZeroLink: unknown symbol
  • Next by Date: Re: Using llvm with Xcode
  • Previous by thread: Re: ZeroLink: unknown symbol
  • Next by thread: palette creation...
  • Index(es):
    • Date
    • Thread