On Sun, Apr 27, 2008 at 06:58:22PM +0200, Johannes Hofmann wrote:
On Sun, Apr 27, 2008 at 08:52:31AM +0100, Jeremy Henty wrote:
Because lout::misc defines an inline assert function, including dw/core.hh fails if you've already included anything that defines the standard assert macro (such the C++ iostream stuff).
I also see this with gcc 3.4.6, but not with gcc 4.1.2.
That's surprising (at least to me). I guess gcc4 must resolve names differently? Or maybe it's smart enough not to macro-expand anything that looks like a macro token but appears somewhere where no macro token should? Anyway, I have no axe to grind on this, I just raised it as a concern. Regards, Jeremy Henty -- What is Jewish decision theory? Maximize regrets. -- Sidney Morgenbesser