Re: [ovs-dev] [PATCH v3 03/17] util: add helpers to overload SAFE macro

2022-02-25 Thread Dumitru Ceara
On 2/16/22 15:27, Adrian Moreno wrote: > Having both LONG and SHORT versions of the SAFE macros with different > names is not very convenient. Add helpers that facilitate overloading > such macros using a single name. > > In order to work around a known issue in MSVC [1], an indirection layer > ha

[ovs-dev] [PATCH v3 03/17] util: add helpers to overload SAFE macro

2022-02-16 Thread Adrian Moreno
Having both LONG and SHORT versions of the SAFE macros with different names is not very convenient. Add helpers that facilitate overloading such macros using a single name. In order to work around a known issue in MSVC [1], an indirection layer has to be introduced. [1] https://developercommunity