• 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: receiving: "warning: ignoring #pragma mark"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: receiving: "warning: ignoring #pragma mark"


  • Subject: Re: receiving: "warning: ignoring #pragma mark"
  • From: Jason Foreman <email@hidden>
  • Date: Fri, 30 Jan 2009 15:25:00 -0600

On Fri, Jan 30, 2009 at 3:12 PM, Stuart Malin <email@hidden> wrote:
> I know this is not ordinary use of Xcode, but was hoping someone who
> understands the compiler might be able to inform as to why -Wall might be
> causing the compiler to warn on #pragma mark in one environment, and not in
> the other. And if there is some way to avoid the warning.
>

I believe #pragma mark is an Apple extension, so it is probably just
not included in the Cocotron cross compiler.  You could see about
including the feature in Cocotron, or might try -Wno-pragmas.  Another
options is to wrap the marks in #if 0 blocks, but that's tedious and
ugly.

Jason
 _______________________________________________
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

  • Follow-Ups:
    • Re: receiving: "warning: ignoring #pragma mark"
      • From: Stuart Malin <email@hidden>
References: 
 >receiving: "warning: ignoring #pragma mark" (From: Stuart Malin <email@hidden>)

  • Prev by Date: receiving: "warning: ignoring #pragma mark"
  • Next by Date: Re: receiving: "warning: ignoring #pragma mark"
  • Previous by thread: receiving: "warning: ignoring #pragma mark"
  • Next by thread: Re: receiving: "warning: ignoring #pragma mark"
  • Index(es):
    • Date
    • Thread