From 660d3ffb16a8ee7c5693d745a8588c991035c8e7 Mon Sep 17 00:00:00 2001 From: Rohit Vaswani Date: Thu, 9 Feb 2012 15:56:26 -0800 Subject: [PATCH] scripts: gcc-wrapper: Add exceptions for netfilter failures with gcc-4.6.3 Compiling the kernel with gcc-4.6.3 generates multiple forbidden warnings for netfilter. Adding them to the allowed warnings list. Change-Id: I7214d8c1bb59c99e2422eaac2a820fb43cf62b1e Signed-off-by: Rohit Vaswani --- scripts/gcc-wrapper.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py index 65744e15540..0104f1a7e19 100755 --- a/scripts/gcc-wrapper.py +++ b/scripts/gcc-wrapper.py @@ -57,8 +57,34 @@ allowed_warnings = set([ "inode.c:74", "msm_sdcc.c:126", "msm_sdcc.c:128", + "nf_conntrack_core.c:1579", + "nf_conntrack_core.c:1580", "nf_conntrack_netlink.c:790", + "nf_conntrack_proto.c:210", + "nf_conntrack_proto.c:345", + "nf_conntrack_proto.c:370", + "nf_nat_core.c:528", + "nf_nat_core.c:739", + "nf_nat_core.c:740", + "nf_nat_core.c:741", + "nf_nat_core.c:742", + "nf_nat_core.c:751", + "nf_nat_core.c:753", + "nf_nat_core.c:756", + "nf_nat_ftp.c:123", + "nf_nat_pptp.c:285", + "nf_nat_pptp.c:288", + "nf_nat_pptp.c:291", + "nf_nat_pptp.c:294", + "nf_nat_sip.c:550", + "nf_nat_sip.c:551", + "nf_nat_sip.c:552", + "nf_nat_sip.c:553", + "nf_nat_sip.c:555", + "nf_nat_sip.c:556", + "nf_nat_sip.c:554", "nf_nat_standalone.c:118", + "nf_nat_tftp.c:46", "return_address.c:62", "sch_generic.c:678", "soc-core.c:1719",