http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56606
--- Comment #1 from Michael Mrozek <gcc at mrozekma dot com> 2013-03-14 20:20:22 UTC --- I found that including any of the standard C++ headers (<string>, <list>, <map>, etc.) works around this, as does forward-declaring the operator: > void* operator new(std::size_t);