On Sat, Mar 08, 2003 at 12:28:13PM -0500, Garrett Wollman wrote: > > `#if __GNUC__' wouldn't help matters; every preprocessor has to read > and interpret every preprocessor directive (so that `#else' and > `#endif' can be recognized).
I don't think preprocessors should interpret directives when they are dead (ie part of an #if block or #else block that is not to be compiled). They should merely scan the block for #else, #endif and the likes to keep track of nesting, but should otherwise ignore anything it sees. For how does it matter if a directive is valid or invalid when you're not acting upon it anyway? One can even claim that emitting an error or warning *is* reaction upon the directive. -- Marcel Moolenaar USPA: A-39004 [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message