FROM : Jerry Krinock
DATE : Thu Jan 19 20:33:16 2006
on 06/01/19 07:30, Fritz Anderson at <email_removed> 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." )
DATE : Thu Jan 19 20:33:16 2006
on 06/01/19 07:30, Fritz Anderson at <email_removed> 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." )
| Related mails | Author | Date |
|---|---|---|
| Jerry Krinock | Jan 19, 04:20 | |
| Eric Albert | Jan 19, 04:30 | |
| Jerry Krinock | Jan 19, 14:56 | |
| Fritz Anderson | Jan 19, 16:30 | |
| Eric Albert | Jan 19, 18:18 | |
| Jerry Krinock | Jan 19, 20:33 | |
| Chris Espinosa | Jan 19, 20:47 | |
| Fritz Anderson | Jan 19, 21:12 | |
| Jerry Krinock | Jan 20, 14:46 | |
| Chris Espinosa | Jan 20, 17:25 | |
| Jerry Krinock | Jan 26, 06:51 |






Xcode mail archive

