The 'register' keyword does nothing, and has been removed in C++17. Remove it for compatibility, like commit 0d5f2ed12f9eb.
Signed-off-by: Avi Kivity <a...@scylladb.com> --- lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h b/lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h index 6289404a3..8c6cf285b 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h +++ b/lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h @@ -18,11 +18,11 @@ * Do not use this function directly. The preferred function is rte_bswap64(). */ /* 64-bit mode */ static inline uint64_t rte_arch_bswap64(uint64_t _x) { - register uint64_t x = _x; + uint64_t x = _x; asm volatile ("bswap %[x]" : [x] "+r" (x) ); return x; } -- 2.14.3