
15 Jul
2009
15 Jul
'09
12:21 a.m.
On Jul 14, 2009, at 22:51 , Maurí cio wrote:
I'm trying to define a macro inside a template that generates an existing macro:
Won't fly; cpp doesn't scan its own output recursively, so if you generate a #define in a macro it will appear in the output unexpanded. AFAIK cpphs is no different. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH