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: <6996@brl-adm.ARPA> Date: Tue, 21-Apr-87 09:29:30 EST Article-I.D.: brl-adm.6996 Posted: Tue Apr 21 09:29:30 1987 Date-Received: Wed, 22-Apr-87 02:46:32 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