-
ebc818d1
by Eric Pouech at 2025-07-07T23:02:28+02:00
widl: Fix segfault when inheriting from an incomplete interface.
Widl segfaults in .idl header translation when inherited interface is
just a forward declaration (or when the intended declaration exists
but with a typo in its name). Print an error message instead.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
e14071e1
by Eric Pouech at 2025-07-07T23:02:47+02:00
widl: Remove unneeded condition.
'written' bit is never set for an interface, so the RHS of
the test can be removed.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
51faeb7a
by Eric Pouech at 2025-07-07T23:02:49+02:00
widl: Ensure inherited interface is declared before using it.
If interface I1 inherits from interface I2, midl allows I2 declaration
to appear after I1's declaration in .idl file.
Keeping the .idl order is fine with C binding, but doesn't work for C++
classes (class I2 must be declared before being inherited from).
So ensure inherited interface is declared in header generation before
using it.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
899f6df3
by Eric Pouech at 2025-07-07T23:02:51+02:00
include: Remove duplicated declarations in .idl files.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>