From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 2184A11C5 for ; Thu, 2 Jul 2015 13:45:21 +0200 (CEST) Received: by wgck11 with SMTP id k11so60945819wgc.0 for ; Thu, 02 Jul 2015 04:45:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=GNgH45QPDAGZ+QsvlQoHiKyJ/vT4a/5FO3jQQopMy4Q=; b=G1l3UteCEuX7w+824HtXl1EbYE1PuNZj7eyWrWn2AUpet5Ilb7+2esEX67C+1pOrAV 445pxhKZjIvct4mDPi6bSy/ovd8eGfI5Jqpga7f08gNPqWj3KsnydCt+VbBylaaLBKsi /4SJ9gP/kv0aO0FaXQVQvj7bG/9B2EoeUUdelOYVLytu/q4hDIkmL/em2GHb7CslS+Zu 8qC8lEYAfXmJSdP6pP+jUTAMse3MvZ+Pl/BSbxNywEYHU8PWPsL0TxazG1ibMwdwYKlE bsX8Xv6r2yPnDZXgId+Jpe2DEF7ReHdWqKleCzUDzlAfOnMYSBlPOpBVVmF7C1K+exnu +7wQ== X-Gm-Message-State: ALoCoQme49+S8vQ+m0KsKNRGc5ZJ+2OoJe7tFRCvkqNtrLQbWZM9H38Bpu+MTOKOuU4YKv8sPX4F X-Received: by 10.180.74.210 with SMTP id w18mr15626771wiv.77.1435837520957; Thu, 02 Jul 2015 04:45:20 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.151.210]) by mx.google.com with ESMTPSA id lz10sm7723113wjb.48.2015.07.02.04.45.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2015 04:45:20 -0700 (PDT) From: Thomas Monjalon To: "Gajdzica, MaciejX T" Date: Thu, 02 Jul 2015 13:44:12 +0200 Message-ID: <2202302.jFYeIEhALS@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <9CC680510C0AC140A846FED2EF7F962813849F31@IRSMSX102.ger.corp.intel.com> References: <1435588741-11515-1-git-send-email-maciejx.t.gajdzica@intel.com> <1479145.ghucTpzEe9@xps13> <9CC680510C0AC140A846FED2EF7F962813849F31@IRSMSX102.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 02/11] ip_pipeline: added config checks X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 11:45:21 -0000 2015-07-02 10:28, Gajdzica, MaciejX T: > For me it compiles. Could you provide build log? OK. I think the problem is seen with GCC 5 (I use 5.1.0): /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:587:49: error: array subscript is above array bounds [-Werror=array-bounds] struct app_pktq_in_params *pktq = &p->pktq_in[j]; ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:587:49: error: array subscript is above array bounds [-Werror=array-bounds] /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:694:51: error: array subscript is above array bounds [-Werror=array-bounds] struct app_pktq_out_params *pktq = &p->pktq_out[j]; ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:694:51: error: array subscript is above array bounds [-Werror=array-bounds] /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:609:49: error: array subscript is above array bounds [-Werror=array-bounds] struct app_pktq_in_params *pktq = &p->pktq_in[j]; ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:609:49: error: array subscript is above array bounds [-Werror=array-bounds] /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:716:51: error: array subscript is above array bounds [-Werror=array-bounds] struct app_pktq_out_params *pktq = &p->pktq_out[j]; ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:716:51: error: array subscript is above array bounds [-Werror=array-bounds] /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:631:49: error: array subscript is above array bounds [-Werror=array-bounds] struct app_pktq_in_params *pktq = &p->pktq_in[j]; ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:631:49: error: array subscript is above array bounds [-Werror=array-bounds] /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:738:51: error: array subscript is above array bounds [-Werror=array-bounds] struct app_pktq_out_params *pktq = &p->pktq_out[j]; ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:738:51: error: array subscript is above array bounds [-Werror=array-bounds] /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:654:49: error: array subscript is above array bounds [-Werror=array-bounds] struct app_pktq_in_params *pktq = &p->pktq_in[j]; ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:654:49: error: array subscript is above array bounds [-Werror=array-bounds] /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:760:51: error: array subscript is above array bounds [-Werror=array-bounds] struct app_pktq_out_params *pktq = &p->pktq_out[j]; ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:760:51: error: array subscript is above array bounds [-Werror=array-bounds] /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:676:18: error: array subscript is above array bounds [-Werror=array-bounds] if (p->msgq_in[j] == pos) ^ /home/thomas/projects/dpdk/dpdk/examples/ip_pipeline/app.h:782:19: error: array subscript is above array bounds [-Werror=array-bounds] if (p->msgq_out[j] == pos) ^