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

error: invalid use of 'static' in linkage specification


  • Subject: error: invalid use of 'static' in linkage specification
  • From: Dieter Oberkofler <email@hidden>
  • Date: Thu, 17 Sep 2009 07:12:02 +0200

I'm having problems with the following error message:
error: invalid use of 'static' in linkage specification
when compiling a like like this: extern "C" static void function(void);
gcc 4.2.1 seems no longer allowing to specific a C function to be static.
Is this a gcc bug?
Thank you,
Dieter


_______________________________________________
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: [iPhone] CodeSign problems
  • Next by Date: Re: Xcode 3.1.3 -- (not) stepping into
  • Previous by thread: Re: Obtaining old versions of XCode
  • Next by thread: Re: error: invalid use of 'static' in linkage specification
  • Index(es):
    • Date
    • Thread