> You are definitely describing the behavior of the C++ preprocessor.

That behavior is also described at least as far back as Harbison & Steele
5th edtion 2002, and K&R 2nd edition 1988[*]. But I know for a fact that I
have used C compilers where #if with an undefined name was a compilation
error. Can't remember for sure if that was the 90s or 80s, but they did
exist at some point in the past.

[*] first draft of this message had a typo; I referred to K&R 2988 ;-)

-- 
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to