• 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
error: template with c linkage problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: template with c linkage problem


  • Subject: error: template with c linkage problem
  • From: email@hidden
  • Date: Tue, 08 Feb 2005 10:37:46 -0500


Hi,


I get the following error out of gcc (3.3, as shipped with Xcode 1.5) as soon as it encounters a templated class:

error: template with C linkage

when compliling a C++ source file that includes a bunch of stdlib headers (unistd.h, stdlib.h, string.h, fcntl.h) and at least one STL header (set, vector, ...). The project is a Cocoa app and the stdlib headers are in the precompiled header. That all is on OS X 10.3.6. It just feels like one of the stdlib headers is forgetting to terminate an extern "C" declaration. Can anyone shed some light on this?

TIA,
Dusan


_______________________________________________
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


  • Prev by Date: Re: gcc complier
  • Next by Date: Re: gcc complier
  • Previous by thread: Re: gcc complier
  • Next by thread: MallocDebug and multiple definitions
  • Index(es):
    • Date
    • Thread