[dpdk-dev] [PATCH] eal: fix c++ compilation issue with rte_delay_us()

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Oct 5 11:23:13 CEST 2016


2016-10-03 18:27, Konstantin Ananyev:
> When compiling with C++, it treats
> void (*rte_delay_us)(unsigned int us);
> as definition of the global variable.
> So further linking with librte_eal fails.
> 
> Fixes: b4d63fb62240 ("eal: customize delay function")

Applied, thanks

I don't understand why it was not failing with C compilation?


More information about the dev mailing list