• 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: error: invalid use of 'static' in linkage specification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error: invalid use of 'static' in linkage specification


  • Subject: Re: error: invalid use of 'static' in linkage specification
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 17 Sep 2009 08:36:52 -0500

On Sep 17, 2009, at 2:09 AM, Dieter Oberkofler wrote:

Sure, but extern "C" is a linkage specification needed to link with C code from a C++ application and this "should" be valid!

Except you can't link with a static function. It's internal to the compilation unit. I can't see how the construct you're trying to use makes any sense.


Regards,
Ken

_______________________________________________
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: error: invalid use of 'static' in linkage specification (From: Greg Guerin <email@hidden>)
 >Re: error: invalid use of 'static' in linkage specification (From: Dieter Oberkofler <email@hidden>)

  • Prev by Date: Re: Xcode 3.1.3 -- (not) stepping into
  • Next by Date: Re: No UNIX Development Tools on Snow Leopard
  • Previous by thread: Re: error: invalid use of 'static' in linkage specification
  • Next by thread: Re: error: invalid use of 'static' in linkage specification
  • Index(es):
    • Date
    • Thread