[cfe-dev] ##

Sascha Wildner swildner at erpicon.de
Sun May 24 02:55:56 PDT 2009


Hi all,

I've noted a difference between gcc and clang using this test:

========
#define TEST(a,b) a ## b

TEST(.te,st)
TEST(.,test)
========

Checking with clang -E shows that the first TEST() resolves to '.test', 
while the second one resolves to '. test', whereas it is '.test' as well 
using gcc.

Regards,
Sascha




More information about the cfe-dev mailing list