This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cpp problem found by imake


Hi!

Current cpp does not also like the following snippet
(distilled from XF4.0 cf/ stuff):

#define Concat3(a,b,c) a##b##c
#define Header /usr/include/stdio
#define Include Concat3(<,Header,.h>)
#include Include

I've just checked SunPRO 4.2 and it preprocess this just fine, similarly to
cccp.
Does ISO mandate that this does not work or is it just a bug in cpplib?
If the latter, should I fix it myself or will you do that?

	Jakub

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]