Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Issue 984393002: gtest, gmock: disable incompatible warnings (Closed)

Created:
5 years, 9 months ago by Mark Mentovai
Modified:
5 years, 9 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

gtest, gmock: disable incompatible warnings. gtest and gmock both rely heavily on exit-time destructors, and must build with -Wno-exit-time-destructors to avoid these warnings. gmock’s MOCK_METHODn() macros violate -Wno-inconsistent-missing-override, so this warning is disabled for direct dependents of gmock. R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/db7a933d95fd3f29c84ab21d299ac1b6873de577

Patch Set 1 #

Patch Set 2 : Compatibility with pre-3.6 clang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M third_party/gmock/gmock.gyp View 1 1 chunk +38 lines, -0 lines 0 comments Download
M third_party/gtest/gtest.gyp View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Mark Mentovai
5 years, 9 months ago (2015-03-08 20:19:14 UTC) #3
Robert Sesek
LGTM
5 years, 9 months ago (2015-03-08 20:42:16 UTC) #4
Mark Mentovai
5 years, 9 months ago (2015-03-09 01:04:55 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as
db7a933d95fd3f29c84ab21d299ac1b6873de577 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698