Re: [dpdk-dev] [PATCH] eal: remove register from function parameter in headers

2020-05-18 Thread David Marchand
On Mon, May 11, 2020 at 11:05 AM Bruce Richardson wrote: > > On Mon, May 11, 2020 at 09:56:10AM +0100, Burakov, Anatoly wrote: > > On 09-May-20 12:25 AM, Stephen Hemminger wrote: > > > Compiling a C++ application that includes directly or indirectly > > > rte_common.h will cause a warning: > > > >

Re: [dpdk-dev] [PATCH] eal: remove register from function parameter in headers

2020-05-11 Thread Bruce Richardson
On Mon, May 11, 2020 at 09:56:10AM +0100, Burakov, Anatoly wrote: > On 09-May-20 12:25 AM, Stephen Hemminger wrote: > > Compiling a C++ application that includes directly or indirectly > > rte_common.h will cause a warning: > > > > include/rte_common.h:350:37: warning: ISO C++17 does not allow ‘re

Re: [dpdk-dev] [PATCH] eal: remove register from function parameter in headers

2020-05-11 Thread Burakov, Anatoly
On 09-May-20 12:25 AM, Stephen Hemminger wrote: Compiling a C++ application that includes directly or indirectly rte_common.h will cause a warning: include/rte_common.h:350:37: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] rte_combine32ms1b(register uint32_

[dpdk-dev] [PATCH] eal: remove register from function parameter in headers

2020-05-08 Thread Stephen Hemminger
Compiling a C++ application that includes directly or indirectly rte_common.h will cause a warning: include/rte_common.h:350:37: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] rte_combine32ms1b(register uint32_t x) C++ pickier than standard C and flags this an