Re: [dpdk-dev] warnings when including DPDK headers from a C++17 source file

2018-07-15 Thread Montorsi, Francesco
Hi, From: Stephen Hemminger Sent: Friday, July 13, 2018 5:52 PM To: Montorsi, Francesco Cc: dev@dpdk.org Subject: Re: [dpdk-dev] warnings when including DPDK headers from a C++17 source file > Why is DPDK code using register keyword at all? It

Re: [dpdk-dev] warnings when including DPDK headers from a C++17 source file

2018-07-13 Thread Stephen Hemminger
On Fri, 13 Jul 2018 13:51:21 + "Montorsi, Francesco" wrote: > Hi all, > > > I just noticed that, because of the removal of the "register" keyword in > C++17, when I compile my DPDK-enabled code with -std=c++17 I get the > following: > > > > In file included from > ../../../Third-Party

[dpdk-dev] warnings when including DPDK headers from a C++17 source file

2018-07-13 Thread Montorsi, Francesco
Hi all, I just noticed that, because of the removal of the "register" keyword in C++17, when I compile my DPDK-enabled code with -std=c++17 I get the following: In file included from ../../../Third-Party/cpp-libs/dpdk/include/rte_ether.h:53:0, from ../../../Third-Party/cpp-