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

Re: CriticalAlert


  • Subject: Re: CriticalAlert
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 21 Dec 2001 00:04:37 +0100

Donald,

>>>>>> Donald Brown (DB) wrote at Thu, 20 Dec 2001 15:15:29 -0600:
DB> And, of course, make sure you enable warnings, and READ THEM. CodeWarrior
DB> will warn when you use if (x=y) (and a warning is appropriate, it is
DB> legal syntax, it's equivalent to x=y; if (x)), haven't encountered this
DB> with PB yet.

PB has plain nothing to do with that -- it's a compiler thing.

GCC _can_ do this, but it is by default switched off -- and I am grateful
for that, since I don't want to have all those "while (o=[en nextObject])"
lines warned at!

Though, you can switch it on by using some appropriate compiler switch (I
guess it's -WAll, but re-check GCC docs, I'm not that sure).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >Re: CriticalAlert (From: Donald Brown <email@hidden>)

  • Prev by Date: Re: (OT) auto-indent a big hit here
  • Next by Date: Re: CriticalAlert
  • Previous by thread: Re: CriticalAlert
  • Next by thread: Re: CriticalAlert
  • Index(es):
    • Date
    • Thread