On Wed, Dec 11, 2013 at 12:58 PM, Ben Pfaff <b...@nicira.com> wrote: > 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 >
...like... > how the macro there is used. > > > Is MSVC even supported in OVS? > > No, but some contributors are working on it. > -- "I don't normally do acked-by's. I think it's my way of avoiding getting blamed when it all blows up." Andrew Morton
_______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev