• 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: #pragma message in GCC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #pragma message in GCC


  • Subject: Re: #pragma message in GCC
  • From: Mark Bessey <email@hidden>
  • Date: Thu, 15 Sep 2005 11:39:29 -0700

This works, and is supported by a number of other compilers:

#warning blah.c need more work blah blah blah

-Mark

On Sep 15, 2005, at 9:13 AM, Peter Lau wrote:

in the other compiler I can write:

    #pragma message(blah.c need more work blah blah blah)

and it will generate that message during compilation of that source file.

I just tired with XCode 2.1 on Tiger and I think that pragma is simply ignored.

Is there a way to generate messages during compilation?

Thanks.

pete

_______________________________________________
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

_______________________________________________ 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: 
 >#pragma message in GCC (From: Peter Lau <email@hidden>)

  • Prev by Date: Re: #pragma message in GCC
  • Next by Date: Re: #pragma message in GCC
  • Previous by thread: Re: #pragma message in GCC
  • Next by thread: Re: #pragma message in GCC
  • Index(es):
    • Date
    • Thread