cpp problem found by imake

Jakub Jelinek jakub@redhat.com
Tue May 2 08:58:00 GMT 2000


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


More information about the Gcc-bugs mailing list