[ovs-git] [openvswitch/ovs] 12028f: dpif-netdev-perf: Fix linker unresolved symbols on...
GitHub
noreply at github.com
Tue May 15 12:19:52 UTC 2018
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 12028f5f4cfe2292e3c4e02e63e404e35c5fac19
https://github.com/openvswitch/ovs/commit/12028f5f4cfe2292e3c4e02e63e404e35c5fac19
Author: Alin Gabriel Serdean <aserdean at ovn.org>
Date: 2018-05-15 (Tue, 15 May 2018)
Changed paths:
M lib/dpif-netdev-perf.c
Log Message:
-----------
dpif-netdev-perf: Fix linker unresolved symbols on Windows
MSVC complains:
"libopenvswitch.lib(dpif-netdev.obj) : error LNK2019: unresolved external
symbol pmd_perf_start_iteration referenced in function pmd_thread_main
libopenvswitch.lib(dpif-netdev.obj) : error LNK2019: unresolved external
symbol pmd_perf_end_iteration referenced in function pmd_thread_main"
Remove inline keyword from the declaration of:
`pmd_perf_start_iteration` and `pmd_perf_end_iteration`
More on the subject:
https://docs.microsoft.com/en-us/cpp/error-messages/tool-errors/function-inlining-problems
Fixes: broken build on Windows
Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git
mailing list