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

receiving: "warning: ignoring #pragma mark"


  • Subject: receiving: "warning: ignoring #pragma mark"
  • From: Stuart Malin <email@hidden>
  • Date: Fri, 30 Jan 2009 11:12:49 -1000

I have a project for which I am compiling both MacOS and Cocotron Windows code. I have specified -Wall as an other warning flag in the Build Settings for both targets. With the Cocotron compilation, source file lines that have
#pragma mark --some-notation-or-another--
generate a warning:
warning: ignoring #pragma mark


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.

My Cocotron compiler is gcc 4.3.1 and the C language dialect is set to: C99 [-std=c99]


_______________________________________________ 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: Jason Foreman <email@hidden>
  • Prev by Date: Re: search gone sour at developer.apple.com?
  • Next by Date: Re: receiving: "warning: ignoring #pragma mark"
  • Previous by thread: Trouble running custom executable
  • Next by thread: Re: receiving: "warning: ignoring #pragma mark"
  • Index(es):
    • Date
    • Thread