Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(17)

Issue 428003: MSVC 2010 (10.0) TR1 tuple implementation not detected by the current version of gtest (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by Ivan Penkov
Modified:
12 years, 11 months ago
Reviewers:
Mark Mentovai
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/src/
Visibility:
Public.

Description

MSVC 2010 (10.0) already provides TR1 tuple implementation.  Unfortunately, the
current version of gtest that is used in this project does not properly detect
and handle MSVC 2010 which results in build breaks.  The following is a
temporary workaround until the next gtest upgrade.  Another issue is that the
current version of gyp used in this project does not detect MSVC 2010, so the
following workaround only works when a later version of gyp is used.

Thanks,
-Ivan

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M client/windows/build/common.gypi View 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 7
Ivan Penkov
.
12 years, 11 months ago #1
hansl
I haven't had any implication in breakpad for at least a year, and moved to ...
12 years, 11 months ago #2
Mark Mentovai
Why don’t you just upgrade gtest? Nobody’s going to remember to back this change out ...
12 years, 11 months ago #3
Ivan Penkov
On 2012/08/16 12:37:45, Mark Mentovai wrote: > Why don’t you just upgrade gtest? Nobody’s going ...
12 years, 11 months ago #4
Mark Mentovai
Won't be necessary if we upgrade gtest either, right? We should upgrade it. I'm told ...
12 years, 11 months ago #5
Ivan Penkov
Yes, upgrading gtest should resolve this issue as well. Mark, if you can give me ...
12 years, 11 months ago #6
Mark Mentovai
12 years, 11 months ago #7
The contents of src/testing are managed by an svn:externals definition in src:

mark@cougar bash$ svn propget svn:externals src
testing -r175 http://googlemock.googlecode.com/svn/trunk

meaning that src/testing is pinned to r175 of the gmock trunk. In turn, the
gmock trunk at r175 depends on the gtest trunk at r267 in its gtest directory,
so it shows up in Breakpad at src/testing/gtest. We don’t need to worry about
the version of gtest, because we just bring in a gmock version that we want, and
it brings in a compatible gtest for us.

You can point Breakpad at a different version of gmock by editing the
svn:externals property:

mark@cougar bash$ svn propedit svn:externals src

Then, when you “svn update,” svn will check out the new version you specified.
All you need to do then is make sure that Breakpad is compatible with the new
version, fixing things as needed. When you’re done with that, it should just be
a normal “gcl” code review, but Rietveld doesn’t handle property changes so
well, so you may need to mail an “svn diff” to the list for review.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted