>       ((LONG)(LONG_PTR)&((decltype(OBJECT))0)->MEMBER)
> I think it is the right way to implement it. But, this keyword "decltype" is 
> ignored by the compiler when above  macro is used in the OVS source base. I 
> don't know the reason for it but it might be related to custom compilation 
> options we use (or others we don't use).
>
>
I pushed my change. If it turns out that decltype works for C, I will
revert my change.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to