
15 Jul
2006
15 Jul
'06
5:12 p.m.
Eric Niebler wrote:
<educated guess>
MFC does some nasty things like "#define new DEBUG_NEW". And I bet regex_raw_buffer.hpp(177) has an invocation of placement new. Try including the boost headers before the MFC headers, or find where MFC is monkeying with the definition of "new" and delete it.
</educated guess>
Ah, that might do it, it's not a placement new, it's a call to ::operator new. There's no way to suppress macro expansion on a non-function macro either is there? Thanks for the hint, John.