Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!bellcore!faline!ulysses!mhuxt!ihnp4!drutx!mtuxo!mtune!codas!ki4pv!tanner From: tanner@ki4pv.UUCP Newsgroups: comp.lang.c Subject: How About #define foo foo Message-ID: <6938@ki4pv.UUCP> Date: Thu, 12-Feb-87 20:33:57 EST Article-I.D.: ki4pv.6938 Posted: Thu Feb 12 20:33:57 1987 Date-Received: Tue, 17-Feb-87 21:45:32 EST Organization: CompuData South, DeLand Lines: 15 It is interesting to note that some progs notice constructions where a macro is defined to be itself, such as csh noting "alias foo foo". Would it be desirable for the pre-processor to do something similar, so that the following construction might work? #ifndef foo typedef int (*foo)(); /* my fancy type */ #define foo foo /* remember that we know it */ #endif Just curious. Compiler here blows out on the above (expansion too big), but I'd be interested to hear of other reactions to it. -- Tanner Andrews