Changes required to support Contrail on Windows:
- MSVC does not support weak symbols. It results in symbol
conflicts on Sandesh functions when compiling utilities on Windows.
Instead of using GCC weak symbols, each utility now provides a struct
filled with its specific callbacks (e.g. vr_interface_req_process).
Reviewed: https:/ /review. opencontrail. org/37926 github. com/Juniper/ contrail- vrouter/ commit/ a9dd5ec1db360d6 5f2b30314c42fac 97ef8f58fa
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit a9dd5ec1db360d6 5f2b30314c42fac 97ef8f58fa
Author: Dariusz Sosnowski <email address hidden>
Date: Tue Nov 28 11:08:12 2017 +0100
utils: Use callbacks instead of GCC weak symbols
Changes required to support Contrail on Windows: req_process) .
- MSVC does not support weak symbols. It results in symbol
conflicts on Sandesh functions when compiling utilities on Windows.
Instead of using GCC weak symbols, each utility now provides a struct
filled with its specific callbacks (e.g. vr_interface_
Change-Id: I3d46108a7f110d cbf73767790519a 0008723805f
Partial-Bug: #1734699