numam-dpdk/lib/librte_eal
Stephen Hemminger 3a2cd6fd06 eal: fix C++17 compilation
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++ is pickier than standard C and flags this antique usage.

The register keyword is an old K&R legacy and should be removed
everywhere in DPDK. For now, fix it where it hurts.

Fixes: 08f683174e ("eal: add functions for previous power of 2 alignment")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2020-05-18 20:46:24 +02:00
..
arm build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
common mem: fix overflow on allocation 2020-05-11 17:44:13 +02:00
freebsd eal: add telemetry callbacks 2020-05-11 00:37:16 +02:00
include eal: fix C++17 compilation 2020-05-18 20:46:24 +02:00
linux eal: add telemetry callbacks 2020-05-11 00:37:16 +02:00
ppc build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
windows eal/windows: support logging 2020-05-07 12:18:18 +02:00
x86 build: add arch-specific header path to global includes 2020-05-10 23:45:02 +02:00
Makefile eal: move OS-specific sub-directories 2020-03-31 13:08:55 +02:00
meson.build eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
rte_eal_exports.def build: add module definition files for Windows 2019-04-03 01:21:31 +02:00
rte_eal_version.map eal: remove option registration infrastructure 2020-05-11 00:37:16 +02:00