Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!neville@ads.arpa From: neville@ads.arpa Newsgroups: comp.lang.c Subject: Re: cpp macro expansion Message-ID: <6987@brl-adm.ARPA> Date: Mon, 20-Apr-87 19:28:54 EST Article-I.D.: brl-adm.6987 Posted: Mon Apr 20 19:28:54 1987 Date-Received: Tue, 21-Apr-87 04:05:56 EST Sender: news@brl-adm.ARPA Lines: 15 There is a potentially non-portable preprocessor feature that most of the GLUE(a,b) macros that have been suggested suffer from. Most such macros that people use look like #define PASTE_IT(left,right) left/**/right What some people may not realize is that comments are sort of "doubly- defined" in that they are defined as part of the C language itself, but most C preprocessors go ahead and strip comments themselves. There is no reason that i can see to expect that all preprocessors will do this. If a C comment gets passed through to the *compiler*, what happens. You just can't count on hacks like this. -neville