On Tue, Dec 10, 2013 at 02:49:27PM +0100, Helmut Schaa wrote:
> Functions marked with OVS_CONSTRUCTOR are called unconditionally
> before main.
> 
> Signed-off-by: Helmut Schaa <helmut.sc...@googlemail.com>
> ---
> 
> This works with gcc (tested), should work with clang (untested)
> but does not work with MSVS.
> 
> Could anyone using MSVC try if the solution described at
> http://stackoverflow.com/questions/1113409/attribute-constructor-equivalent-in-vc
> is suitable?

Guru already answered your actual question, but I'll comment that I
like the solution there better than the one here.  In other words, I
how the macro there is used.

> Is MSVC even supported in OVS?

No, but some contributors are working on it.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to