slove g++-things problems