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

Issue 25647004: Silence narrowing warning with XRectangle (Closed)

Created:
7 years, 2 months ago by philipj_slow
Modified:
7 years, 2 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews, tfarina, ben+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Silence narrowing warning with XRectangle XRectangle is defined as such in <X11/Xlib.h>: typedef struct { short x, y; unsigned short width, height; } XRectangle; BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=227083

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
philipj_slow
Hi Elliot, look what happens when you point me at linux_aura :)
7 years, 2 months ago (2013-10-04 08:36:12 UTC) #1
philipj_slow
Please ignore the trybots, I was just testing to see if I could start them, ...
7 years, 2 months ago (2013-10-04 09:09:18 UTC) #2
Elliot Glaysher
lgtm 1) Please put "BUG=none" instead of "BUG=". 2) What compiler are you using? I ...
7 years, 2 months ago (2013-10-04 17:48:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/25647004/1
7 years, 2 months ago (2013-10-04 17:49:27 UTC) #4
commit-bot: I haz the power
Change committed as 227083
7 years, 2 months ago (2013-10-04 20:52:30 UTC) #5
philipj_slow
On 2013/10/04 17:48:41, Elliot Glaysher wrote: > lgtm > > 1) Please put "BUG=none" instead ...
7 years, 2 months ago (2013-10-04 20:52:47 UTC) #6
Elliot Glaysher
On 2013/10/04 20:52:47, philipj wrote: > This was using GCC 4.7.3 on Ubuntu. These were ...
7 years, 2 months ago (2013-10-04 20:58:31 UTC) #7
philipj_slow
On 2013/10/04 20:58:31, Elliot Glaysher wrote: > On 2013/10/04 20:52:47, philipj wrote: > > This ...
7 years, 2 months ago (2013-10-04 21:10:44 UTC) #8
philipj_slow
7 years, 2 months ago (2013-10-07 08:33:33 UTC) #9
Message was sent while issue was closed.
I was curious, so I took another look, and it turns out that
-Wno-c++11-narrowing is just for clang, so it's simply the case that gcc 4.7
warns for this where gcc 4.6 did not.

Powered by Google App Engine
This is Rietveld 408576698