From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 4AB239A87 for ; Tue, 14 Jun 2016 21:04:19 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id n184so134715404wmn.1 for ; Tue, 14 Jun 2016 12:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=12WeZbj0y/5MY506OBeBSBPCvVgaVpCBgEumAIxE2JY=; b=LcIlw1obOoRSWHm7IQIlCdSuAJRuy7uZ3/6zBG80AmtmLbwvxBQyTkdjpbJeZG+ADJ /VuBZrpBioTbRyE+B+Y8D88IyM4TBrue0kWoSmm/ZRpy+gT1GU7zBvxpg3wW4FFGlhU8 ONVDGgoTqkf102rxP2OSV0MvPj1QFU/Rl6fKMHoDxHnzio9gy+45qnrX9CP0uiYmgUhJ a+t/+fxgiCO8YSU8OlmdhRPLK+/IxgIic0XpBy1Wwnjzuv8AMAA4smLIOrpP2LMiXswS z1veGUMNp7dYcNo/ERiHjs1n6PXmQon6fNaKvACYGZrOtQSBTJIQ+Cr/qm56Kq32+lS4 f2qQ== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=12WeZbj0y/5MY506OBeBSBPCvVgaVpCBgEumAIxE2JY=; b=Af/RKgpmIjm6YJ3t+mL/N9KX5SuIPeSe5O9E1mz9dCuuLrUWocrPamp+kKmEFAUQOv JC3TQcBRap2MT5APsOEqJf5JfmUCBXVyqx3MRYgrjCbwsamvjUFdyF/xOElpw+CLrO4N g38N5tc+pvdYyuTh1vR9DnOefAVTUpK5j0k1TGUX27wsF1avi0K01u4SE02vf5Iv01lv nCtFd7JbsO1b6o7F4v1k34gjkGs4g1TSrxXnSw1iLBmg6MxWlPao4Zatz3SsMHjXtIRL ssRk4se7ULUG/iXoxNLOHt7aqS4Sb/a3fhESP3WclFTXj2vbib9D6xcl+IRc6XFuRggT UuMg== X-Gm-Message-State: ALyK8tLPO11VASbSgCtnubgXuA9zsK6rn+4MQbG3PZnDbY5yB7LL51hyXmc8yfAOloXy+S58 X-Received: by 10.194.157.10 with SMTP id wi10mr4167183wjb.159.1465931058877; Tue, 14 Jun 2016 12:04:18 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id g3sm34368872wjb.47.2016.06.14.12.04.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2016 12:04:17 -0700 (PDT) From: Thomas Monjalon To: Daniel Mrzyglod Cc: dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com Date: Tue, 14 Jun 2016 21:04:16 +0200 Message-ID: <1868672.fp3FqAkN9z@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1465472328-226671-1-git-send-email-danielx.t.mrzyglod@intel.com> References: <1465472328-226671-1-git-send-email-danielx.t.mrzyglod@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] [PATCH] examples/ip_pipeline: fix build error for gcc 4.8 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: Tue, 14 Jun 2016 19:04:19 -0000 2016-06-09 13:38, Daniel Mrzyglod: > This patch fixes a maybe-uninitialized warning when compiling DPDK wi= th GCC 4.8 >=20 > examples/ip_pipeline/pipeline/pipeline_common_fe.c: In function 'app_= pipeline_track_pktq_out_to_link': > examples/ip_pipeline/pipeline/pipeline_common_fe.c:66:31: error: > 'reader' may be used uninitialized in this function [-Werror=3Dmaybe-= uninitialized] >=20 > struct app_pktq_out_params *pktq_out =3D >=20 > Fixes: 760064838ec0 ("examples/ip_pipeline: link routing output ports= to devices") >=20 > Signed-off-by: Daniel Mrzyglod For a weird reason, this patch triggers a new error: examples/ip_pipeline/pipeline/pipeline_common_fe.c:In function =E2=80=98= app_pipeline_track_pktq_out_to_link=E2=80=99: examples/ip_pipeline/pipeline/pipeline_common_fe.c:124:11: error: =E2=80=98id=E2=80=99 may be used uninitialized in this function = [-Werror=3Dmaybe-uninitialized] status =3D ptype->fe_ops->f_track(&pp, ^ In file included from examples/ip_pipeline/pipeline/pipeline_common_fe.= h:44:0, from examples/ip_pipeline/pipeline/pipeline_common_fe.= c:47: examples/ip_pipeline/app.h:734:26: note: =E2=80=98id=E2=80=99 was decla= red here uint32_t n_readers =3D 0, id, i; ^ examples/ip_pipeline/pipeline/pipeline_common_fe.c:97:11: error: =E2=80=98id=E2=80=99 may be used uninitialized in this function = [-Werror=3Dmaybe-uninitialized] status =3D ptype->fe_ops->f_track(&pp, ^ In file included from examples/ip_pipeline/pipeline/pipeline_common_fe.= h:44:0, from examples/ip_pipeline/pipeline/pipeline_common_fe.= c:47: examples/ip_pipeline/app.h:674:26: note: =E2=80=98id=E2=80=99 was decla= red here uint32_t n_readers =3D 0, id, i; ^