From 235aaa7468831b67041148bd8af67a4d262b642c Mon Sep 17 00:00:00 2001 From: Henrik Kjellander Date: Thu, 18 Feb 2016 21:52:21 +0100 Subject: [PATCH] Fix Linux 32-bit compilation after sysroot switch. The roll in https://codereview.webrtc.org/1713493002/ made us start using the Chromium sysroot images for libraries instead of system libraries. This caused Linux 32-bit builds to break with an error like this: ../../webrtc/examples/peerconnection/client/linux/main_wnd.cc:82:46: error: missing sentinel in function call [-Werror,-Wsentinel] "List Items", renderer, "text", 0, NULL); ^ , nullptr /usr/include/gtk-2.0/gtk/gtktreeviewcolumn.h:128:25: note: function has been explicitly marked sentinel here GtkTreeViewColumn *gtk_tree_view_column_new_with_attributes (const gchar *title, ^ 1 error generated. This CL suppresses this warning to green up the bots. TBR=niklase@webrtc.org Review URL: https://codereview.webrtc.org/1710083003 . Cr-Commit-Position: refs/heads/master@{#11674} --- webrtc/webrtc_examples.gyp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webrtc/webrtc_examples.gyp b/webrtc/webrtc_examples.gyp index 6e9f3b45ed..48cac0e5d0 100755 --- a/webrtc/webrtc_examples.gyp +++ b/webrtc/webrtc_examples.gyp @@ -138,6 +138,11 @@ ], }, }], # OS=="linux" + ['OS=="linux" and target_arch=="ia32"', { + 'cflags': [ + '-Wno-sentinel', + ], + }], # OS=="linux" and target_arch=="ia32" ], # conditions }, # target peerconnection_client ], # targets