issue #4401, remove warnings under win32