replace #warnings, apparently msvc doesnt have this..