Index: libunwind/src/Unwind-seh.cpp =================================================================== --- libunwind/src/Unwind-seh.cpp +++ libunwind/src/Unwind-seh.cpp @@ -50,8 +50,8 @@ static const uint64_t kSEHExceptionClass = 0x434C4E4753454800; // CLNGSEH\0 // libunwind does not and should not depend on C++ library which means that we -// need our own declaration of global placement new. -void *operator new(size_t, void*); +// need our own defition of inline placement new. +inline void *operator new(size_t, void* p) { return p; } /// Exception cleanup routine used by \c _GCC_specific_handler to /// free foreign exceptions. Index: libunwind/src/libunwind.cpp =================================================================== --- libunwind/src/libunwind.cpp +++ libunwind/src/libunwind.cpp @@ -24,8 +24,8 @@ using namespace libunwind; // libunwind does not and should not depend on C++ library which means that we -// need our own declaration of global placement new. -void *operator new(size_t, void*); +// need our own defition of inline placement new. +inline void *operator new(size_t, void* p) { return p; } /// internal object to represent this processes address space LocalAddressSpace LocalAddressSpace::sThisAddressSpace;