• 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
Re: #warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #warning


  • Subject: Re: #warning
  • From: Cameron Hayne <email@hidden>
  • Date: Sun, 18 Dec 2005 16:20:45 -0500

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.


--
Cameron Hayne
email@hidden


_______________________________________________ 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: #warning
      • From: Dirk Stegemann <email@hidden>
References: 
 >#warning (From: Robert Dell <email@hidden>)

  • Prev by Date: #warning
  • Next by Date: Re: newbie question -- xcode locks up
  • Previous by thread: #warning
  • Next by thread: Re: #warning
  • Index(es):
    • Date
    • Thread