• 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
Precompiled headers and extern "C"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Precompiled headers and extern "C"


  • Subject: Precompiled headers and extern "C"
  • From: "Michael Rubinstein" <email@hidden>
  • Date: Thu, 30 Oct 2003 16:45:47 -0500

I just started using Xcode.  I used "new project"
"framework" to create a fresh framework.

If I turn off precompiled headers, everything
works great (slowly).  If I turn them on I get
messages like:

"template with C linkage"

These occur in my c++ (.cpp) source files on c++
template declarations.

The files that are included by the precompiled
header (.pch) do have things like:

extern "C"
{
#include "somefile.h"
}

But I'm sure that we're back to c++ by the end of
the pch.

BTW, the same files work, with precompiled
headers, under ProjectBuilder.

Any help will be appreciated,

Michael Rubinstein
email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Exception handling
  • Next by Date: Conditional linking?
  • Previous by thread: Re: -fomit-frame-pointer ?
  • Next by thread: Conditional linking?
  • Index(es):
    • Date
    • Thread