From: John Maddock (john_at_[hidden])
Date: 2006-07-15 13:12:57
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk