• 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: why use extern "C"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why use extern "C"


  • Subject: Re: why use extern "C"
  • From: Charles Srstka <email@hidden>
  • Date: Tue, 07 Mar 2017 11:59:01 -0600

> On Mar 7, 2017, at 11:42 AM, Aandi Inston <email@hidden> wrote:
>
> (You should not see // in this section, because in pure C it is forbidden).


This is not true with the latest versions of the C standard. Both C99 and C11 support inline // comments. The only case where // is not allowed is if someone is using a compiler that does not yet support C99, but even in that case, many such compilers include non-standard support for //.

Charles

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >why use extern "C" (From: bigpig <email@hidden>)
 >Re: why use extern "C" (From: Aandi Inston <email@hidden>)

  • Prev by Date: Re: why use extern "C"
  • Next by Date: Re: Unicode filenames with Apple File System and UIManagedDocument
  • Previous by thread: Re: why use extern "C"
  • Next by thread: Re: why use extern "C"
  • Index(es):
    • Date
    • Thread