mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-07 23:18:14 +01:00
Fix 'debug_file' in PESourceLineWriter.
- Add a #define to testing.gyp to avoid warnings about TR1 deprecation. - PESourceLineWriter now reads debug_file from CodeView record instead of using code_file value. - Updated PE-only MD reading unit test. Change-Id: Ib4e6201df3e3fd651e160f310584b5a67b16c842 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1668347 Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
parent
ee65a3c005
commit
c38725b70e
3 changed files with 29 additions and 15 deletions
|
|
@ -53,9 +53,9 @@
|
|||
# Visual C++ implements variadic templates strangely, and
|
||||
# VC++2012 broke Google Test by lowering this value. See
|
||||
# http://stackoverflow.com/questions/12558327/google-test-in-visual-studio-2012
|
||||
'defines': ['_VARIADIC_MAX=10'],
|
||||
'defines': ['_VARIADIC_MAX=10', '_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING'],
|
||||
},
|
||||
'defines': ['_VARIADIC_MAX=10'],
|
||||
'defines': ['_VARIADIC_MAX=10', '_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING'],
|
||||
},
|
||||
{
|
||||
'target_name': 'gmock',
|
||||
|
|
@ -81,9 +81,9 @@
|
|||
'<(DEPTH)/testing/googlemock',
|
||||
'<(DEPTH)/testing',
|
||||
],
|
||||
'defines': ['_VARIADIC_MAX=10'],
|
||||
'defines': ['_VARIADIC_MAX=10', '_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING'],
|
||||
},
|
||||
'defines': ['_VARIADIC_MAX=10'],
|
||||
'defines': ['_VARIADIC_MAX=10', '_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING'],
|
||||
},
|
||||
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue