C++ "already has a body"