Re: #pragma message in GCC
Re: #pragma message in GCC
- Subject: Re: #pragma message in GCC
- From: Dave Rehring <email@hidden>
- Date: Thu, 15 Sep 2005 11:25:00 -0700
On 9/15/05 9:13 AM, Peter Lau at email@hidden 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.
#warning blah.c need more work blah blah blah
Works for both. In CW, the pragma message is displayed differently from
#warning messages.
Later,
--
David Rehring Psychos do not explode when light hits
VP of Research and Development them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
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