• 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: Peter Lau <email@hidden>
  • Date: Thu, 15 Sep 2005 16:27:03 -0400

On 15-Sep-05, at 3:37 PM, Markus Hitter wrote:

Am 15.09.2005 um 18:13 schrieb Peter Lau:

Is there a way to generate messages during compilation?

#warning Do more work here

#error never-ever

Using quotes in these comments is asking for trouble for some reason I forgot.

Thanks for your reply...

are you saying:

    #error "I should not be here"

is bad and I should write:

    #error should not be here

I have been using the first form for many years without problem and I just tried it with GCC 4 and it seems to take it just fine...

anyone found that I should not use the quote?

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
  • Follow-Ups:
    • Re: #pragma message in GCC
      • From: Markus Hitter <email@hidden>
References: 
 >#pragma message in GCC (From: Peter Lau <email@hidden>)
 >Re: #pragma message in GCC (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: Xcode 2.1 and resources
  • Next by Date: Re: Xcode copy headers problem
  • Previous by thread: Re: #pragma message in GCC
  • Next by thread: Re: #pragma message in GCC
  • Index(es):
    • Date
    • Thread