mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
5a21fc1573
While building crashpad_database_util.cc: …\crashpad\tools\crashpad_database_util.cc(150) : error C3861: 'gettimeofday': identifier not found util/win/time.h has its own GetTimeOfDay() to provide this missing function on Windows. I don’t know why it’s not in compat. Even so, it doesn’t return a value, so it’d be unsuitable for use in the PCHECK(). Go back to time() with an errno test. While building string_number_conversion_test.cc: …\crashpad\util\stdlib\string_number_conversion_test.cc(242) : error C2220: warning treated as error - no 'object' file generated …\crashpad\util\stdlib\string_number_conversion_test.cc(242) : warning C4146: unary minus operator applied to unsigned type, result still unsigned …\crashpad\util\stdlib\string_number_conversion_test.cc(243) : warning C4146: unary minus operator applied to unsigned type, result still unsigned …\crashpad\util\stdlib\string_number_conversion_test.cc(244) : warning C4146: unary minus operator applied to unsigned type, result still unsigned Use INT64_C(), and remove a duplicate test case. Change-Id: I308db9856e492604c7462238cb8b7b66731f0cfe Reviewed-on: https://chromium-review.googlesource.com/411331 Reviewed-by: Robert Sesek <rsesek@chromium.org>