• 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
#pragma message(). Was 'AliasRecord'...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#pragma message(). Was 'AliasRecord'...


  • Subject: #pragma message(). Was 'AliasRecord'...
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 19 Jan 2006 11:33:16 -0800
  • Thread-topic: #pragma message(). Was 'AliasRecord'...

on 06/01/19 07:30, Fritz Anderson at email@hidden wrote:

> On 19 Jan 2006, at 7:56 AM, Jerry Krinock wrote:
>
>> I put in some #pragma message to try and see what was going on with
>> your
>> compiler directives and macros, but I didn't get any messages.  Does
>> Xcode/gcc support anything like "#pragma message"?
>
> #warning and #error

Fritz, I can't find this anywhere in Xcode or gcc documentation.  To the
contrary, in GCC manual sec. 5.49,

"GCC supports several types of pragmas, primarily in order to compile code
originally written for other compilers. Note that in general we do not
recommend the use of pragmas... [use function attributes instead]."

I was asking if there is any way to do stuff like this:

#pragma message( "Hello, I'm compiling this section of code now so
apparently that ifdef Eric suggested must have switched." )


 _______________________________________________
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(). Was 'AliasRecord'...
      • From: Fritz Anderson <email@hidden>
    • Re: #pragma message(). Was 'AliasRecord'...
      • From: Chris Espinosa <email@hidden>
References: 
 >Re: After 2.2.1: 'AliasRecord' has no member named 'aliasSize'. UNTRUE!! (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Intel Compiler
  • Next by Date: Re: #pragma message(). Was 'AliasRecord'...
  • Previous by thread: Re: After 2.2.1: 'AliasRecord' has no member named 'aliasSize'. UNTRUE!!
  • Next by thread: Re: #pragma message(). Was 'AliasRecord'...
  • Index(es):
    • Date
    • Thread