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

Issue 1317603003: Fix -Wmicrosoft-unqualified-friend warning. (Closed)

Created:
5 years, 4 months ago by Nico
Modified:
5 years, 4 months ago
Reviewers:
jungshik at Google
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/deps/icu.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix -Wmicrosoft-unqualified-friend warning. The warning complains that StringThreadTest is declared in the global namespace, but the friend line says `friend class StringThreadTest;` instead of `friend class ::StringThreadTest`. MSVC doesn't require this ::, but gcc does -- without it, the friend line declares a new class in the namespace containing UnicodeString. Since StringThreadTest was in test/threadtest which isn't built as part of Chromium's build and which was removed in upstream ICU in ICU 37392, just delete the friend line, it has no effect. BUG=505296 R=jshin@chromium.org Committed: https://chromium.googlesource.com/chromium/deps/icu/+/6b3ce817f8e828c3b7a577d2395f0882eb56ef18

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M README.chromium View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A patches/stringthreadtest.patch View 1 1 chunk +20 lines, -0 lines 0 comments Download
M source/common/unicode/unistr.h View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Nico
Can you upstream this change too, please?
5 years, 4 months ago (2015-08-25 16:17:25 UTC) #2
jungshik at Google
LGTM. I'll upstream it. Thanks
5 years, 4 months ago (2015-08-25 17:18:11 UTC) #3
Nico
Committed patchset #3 (id:40001) manually as 6b3ce817f8e828c3b7a577d2395f0882eb56ef18 (presubmit successful).
5 years, 4 months ago (2015-08-25 17:30:25 UTC) #4
jungshik at Google
5 years, 4 months ago (2015-08-25 21:08:32 UTC) #5
Message was sent while issue was closed.
Upstreamed : http://bugs.icu-project.org/trac/ticket/11866

Powered by Google App Engine
This is Rietveld 408576698