From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 27C65A09D3; Thu, 12 Nov 2020 08:53:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2CF30569B; Thu, 12 Nov 2020 08:53:55 +0100 (CET) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 3E4544CA6 for ; Thu, 12 Nov 2020 08:53:53 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 1D709A09DE; Thu, 12 Nov 2020 08:53:53 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Thu, 12 Nov 2020 07:53:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: 20.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: karol.latecki@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] =?utf-8?b?W0J1ZyA1NzZdICLigJhzdHIyZmxvd3R5cGXigJkgZGVm?= =?utf-8?q?ined_but_not_used=22_when_building_with_net/i40e_disabled?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D576 Bug ID: 576 Summary: "=E2=80=98str2flowtype=E2=80=99 defined but not used" w= hen building with net/i40e disabled Product: DPDK Version: 20.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: karol.latecki@intel.com Target Milestone: --- When building with -Ddisable_drivers=3Dnet/i40e option, testpmd will give warning: ../app/test-pmd/cmdline.c:10098:1: error: =E2=80=98str2flowtype=E2=80=99 de= fined but not used [-Werror=3Dunused-function] 10098 | str2flowtype(char *string) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors Also results in an error with -Werror. Repruduction: 1. Using DPDK main branch with commit a8adac0bc098dad9ca7f7977b6204b2966924= 4e8 2. meson build-tmp --libdir lib -Denable_docs=3Dfalse -Denable_kmods=3Dfalse -Dtests=3Dfalse -Dc_link_args=3D '-Dc_args=3D-fPIC -g -Werror -fcommon -Wno-stringop-overflow' -Dmachine=3Dnative -Ddisable_drivers=3Dnet/i40e 3. ninja -C ./build-tmp install --=20 You are receiving this mail because: You are the assignee for the bug.=