Make more of the OLE interface vtables const

Andreas Mohr andi at
Sun May 29 13:49:36 CDT 2005


On Sun, May 29, 2005 at 07:05:49PM +0900, Dmitry Timoshkov wrote:
> Hello,
> Changelog:
>     Dmitry Timoshkov <dmitry at>
>     Make more of the OLE interface vtables const.
You do know that those will *not* end up const?

filemoniker.c:static const IClassFactoryVtbl FileMonikerCFVtbl =
objdump -x
0008efb0 l     O .data  00000014              FileMonikerCFVtbl

My suspicion is that this is due to winegcc compile, all other binaries
with normal compile (e.g. winedump, ...) have all their const data in .rodata segment...

So, does anybody know what seems to be wrong with winegcc or why it chose to do that?

BTW, I already completely constified programs/ and tools/, will send a patch soon.


More information about the wine-devel mailing list