[dpdk-dev] warnings when including DPDK headers from a C++17 source file
Montorsi, Francesco
fmontorsi at empirix.com
Sun Jul 15 15:00:16 CEST 2018
Hi,
________________________________________
From: Stephen Hemminger <stephen at networkplumber.org>
Sent: Friday, July 13, 2018 5:52 PM
To: Montorsi, Francesco
Cc: dev at 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 is ignored by modern compilers.
that's my question as well :)
Maybe register keyword could be removed at least from header files to make the life easier to whoever is using C++17... right now I worked around that by placing -Werror -Wno-register, but that's perhaps not the best solution
Francesco
More information about the dev
mailing list