Re: #pragma message in GCC
Re: #pragma message in GCC
- Subject: Re: #pragma message in GCC
- From: Chris Ridd <email@hidden>
- Date: Thu, 15 Sep 2005 21:26:32 +0100
On 15/9/05 5:13, Peter Lau <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?
Perhaps you're looking for #warning, or #error? I think they're standard
parts of the C preprocessing language.
Cheers,
Chris
_______________________________________________
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