www.digitalmars.com         C & C++   DMDScript  

c++ - Preprocessor: recursive macro

I tried to use STLport-4.0 with the latest DM beta, but it turned out that
STLport uses a construct similar to the following:

#define A(x) x
#define test A(test)
test


I guess it should evaluate to a simple "test", but DM runs into an infinite
loop.


bye, Christof

-- 
http://cmeerw.cjb.net                          Jabber: cmeerw jabber.at
mailto cmeerw at web.de                   ICQ: 93773535, Yahoo!: cmeerw

...and what have you contributed to the Net?
Oct 11 2001