On Sat, Oct 12, 2002 at 01:20:03PM -0700, Terry Lambert wrote: > Tony Finch wrote: > > > > No -- the short-circuiting behaviour of && and || only matters if > > you can have side-effects, which you can't in the preprocessor, > > so there is no need to implement it (unifdef doesn't). > > Consider: > > #if _DEFINED_SUPPORTED && defined(SOMETHING)
That's a syntax error in pre-ANSI preprocessors (unless defined() is #defined), which won't be bypassed by evaluation shortcutting since evaluation happens after parsing. Tony. -- f.a.n.finch <[EMAIL PROTECTED]> http://dotat.at/ SOUTH BISCAY: SOUTHWEST 6 TO GALE 8 VEERING NORTHWEST 5 OR 6. RAIN OR THUNDERY SHOWERS. MODERATE OR GOOD. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

