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

Issue 15792013: net_watcher does not build in Ubuntu 13.04 (Closed)

Created:
7 years, 6 months ago by yael.aharon
Modified:
7 years, 6 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

net_watcher does not build in Ubuntu 13.04 This is due to a deprecation warning in glib. Added a flag to suppress deprecation warnings. BUG=245658 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203873

Patch Set 1 #

Total comments: 1

Patch Set 2 : Change to pragma #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M net/tools/net_watcher/net_watcher.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
yael.aharon1
Could you please review? thanks!
7 years, 6 months ago (2013-05-31 15:00:17 UTC) #1
jar (doing other things)
Q: Do we need the call to g_type_init() anymore? Why can't we get rid of ...
7 years, 6 months ago (2013-05-31 17:13:32 UTC) #2
yael.aharon1
On 2013/05/31 17:13:32, jar wrote: > Q: Do we need the call to g_type_init() anymore? ...
7 years, 6 months ago (2013-05-31 17:22:55 UTC) #3
yael.aharon1
I looked at /usr/include/glib-2.0/gobject/gtype.h and indeed there is a comment that with glib 2.36, g_init_type() ...
7 years, 6 months ago (2013-05-31 17:51:51 UTC) #4
jar (doing other things)
I wasn't dead sure about this syntax shown below... but it might work as written. ...
7 years, 6 months ago (2013-05-31 18:41:29 UTC) #5
yael.aharon1
On 2013/05/31 18:41:29, jar wrote: > I wasn't dead sure about this syntax shown below... ...
7 years, 6 months ago (2013-05-31 19:54:16 UTC) #6
yael.aharon1
Can you please review the updated patch? thanks
7 years, 6 months ago (2013-06-03 16:54:02 UTC) #7
jar (doing other things)
lgtm
7 years, 6 months ago (2013-06-03 17:18:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yael.aharon@intel.com/15792013/6001
7 years, 6 months ago (2013-06-03 17:20:42 UTC) #9
commit-bot: I haz the power
Change committed as 203873
7 years, 6 months ago (2013-06-04 06:46:13 UTC) #10
kinuko
It looks using #pragma GCC inside functions makes compile fail on official chrome build bot. ...
7 years, 6 months ago (2013-06-04 07:02:55 UTC) #11
yael.aharon1
7 years, 6 months ago (2013-06-04 11:55:21 UTC) #12
Message was sent while issue was closed.
On 2013/06/04 07:02:55, kinuko wrote:
> It looks using #pragma GCC inside functions makes compile fail on official
> chrome build bot.
> 
>
http://build.chromium.org/p/chromium.chrome/builders/Google%2520Chrome%2520Li...
> ../../net/tools/net_watcher/net_watcher.cc: In function 'int main(int,
char**)':
> ../../net/tools/net_watcher/net_watcher.cc:139:error: #pragma GCC diagnostic
not
> allowed inside functions
> ../../net/tools/net_watcher/net_watcher.cc:140:error: #pragma GCC diagnostic
not
> allowed inside functions
> ../../net/tools/net_watcher/net_watcher.cc:142:error: #pragma GCC diagnostic
not
> allowed inside functions

Sorry about that. I will move the #pragma out of the function.

Powered by Google App Engine
This is Rietveld 408576698