+2
−1
Loading
We check rte_vhost version by trying to compile a program using a public rte_vhost API function. We only compile the program - without linking it - because rte_vhost has a number of dependencies on other libs and we want to keep the configure script simple. However, the function could be still implicitly declared by the compiler, making the compilation succeed when it should not. To fix it, compile that test program with -Werror. Change-Id: I0f187dfec909f7cd5cacb7b7a2fc21f5816c4632 Signed-off-by:Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457778 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>