Re: widl: Do not generate C structure for empty interfaces. (try 2)

2013-07-02 Thread Jacek Caban
On 06/30/13 23:14, Thomas Faber wrote: > On 2013-06-27 13:33, Jacek Caban wrote: >> That >> said, if such interfaces are just obscure special case, I would say we >> shouldn't care. We may easily avoid them (I just sent a patch avoiding >> it in mshtml). > Ah, I hadn't even considered changing the

Re: widl: Do not generate C structure for empty interfaces. (try 2)

2013-06-30 Thread Thomas Faber
On 2013-06-27 13:33, Jacek Caban wrote: > That > said, if such interfaces are just obscure special case, I would say we > shouldn't care. We may easily avoid them (I just sent a patch avoiding > it in mshtml). Ah, I hadn't even considered changing the interface. Seemed like it was something mandat

Re: widl: Do not generate C structure for empty interfaces. (try 2)

2013-06-27 Thread Jacek Caban
Hi Thomas, I tested what midl does in this case and I think the solution should be different. When I tried to compile an empty interface, I got an error saying that '[object] interface must derive from another [object] interface'. That requirement is mostly enough to avoid empty vtbl. I was wonde