From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla@dpdk.org Subject: [Bug 36] drivers/bus/pci/linux/pci_vfio.c does not compile when compilation strictly fails on warnings Date: Thu, 03 May 2018 10:36:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: dev@dpdk.org Return-path: 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://dpdk.org/tracker/show_bug.cgi?id=3D36 Bug ID: 36 Summary: drivers/bus/pci/linux/pci_vfio.c does not compile when compilation strictly fails on warnings Product: DPDK Version: 18.05 Hardware: All OS: All Status: CONFIRMED Severity: minor Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: dpdk@stormmq.com Target Milestone: --- This file produces a warning: `dpdk/drivers/bus/pci/linux/pci_vfio.c:38:0: warning: "PAGE_SIZE" redefined`. This is irritatingly when one is compiling with warnings as errors in order= to catch more serious bugs (eg implicit function definitions). One potential f= ix might be to do:- ``` #undef PAGE_SIZE #define PAGE_SIZE (sysconf(_SC_PAGESIZE)) ``` But as I'm not clear on the implications, I can't comment further. --=20 You are receiving this mail because: You are the assignee for the bug.=