Re: #warning
Re: #warning
- Subject: Re: #warning
- From: Dirk Stegemann <email@hidden>
- Date: Sun, 18 Dec 2005 23:56:00 +0200
Hi,
Am 18.12.2005 um 23:20 schrieb Cameron Hayne:
On 18-Dec-05, at 4:00 PM, Robert Dell wrote:
i've installed the following in various loactions within the
source code file:
#if doWarning == 1
#warning "starting myDealloc."
#endif
the problem is it displays all 11 warnings in 8 seconds then no
messaging at all for 5 minutes until it finishes.
is there any way i can get xcode to display it's progress as it's
compiling? the source code file is 29,000 lines long.
The reason why the warnings come so soon is that the "#if"
statements are processed by the C pre-processor which is the first
phase of compilation.
The right way to go would be to break up your huge source file into
several smaller source files - we've talked about this before.
Perhaps it's possible to create an "ordinary" warning, for example
something like an unused variable with an unique name to indicate the
line/function/whatever in the source code file, and which could be
removed by the linker...?
Regards,
Dirk Stegemann
_______________________________________________
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
References: | |
| >#warning (From: Robert Dell <email@hidden>) |
| >Re: #warning (From: Cameron Hayne <email@hidden>) |