xmoto-0.5.9 doesn't compile with gcc-4.7: helpers/System.cpp: In static member function 'static std::string System::getMemoryInfo()': helpers/System.cpp:108:18: error: 'getpid' was not declared in this scope This is because "getpid" is defined in unistd.h, which was included by the C(++) standard library headers until gcc-4.7 changed that. Reproducible: Always Steps to Reproduce: 1. Install and switch to gcc-4.7 2. Compile xmoto (doesn't matter which use flags)
Created attachment 315081 [details, diff] Adds the necessary unistd.h header
in portage. thanks for the bug report and patch.