mshtml: Remove const in front of REFIID as that is a macro that
already starts with const.
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Aug 4 10:20:50 CDT 2007
Andrew Talbot wrote:
> So, in case anyone is still awake and interested:
>
> static const REFIID tid_ids[];
>
> is equivalent to
>
> static const GUID *const const tid_ids[]; (Note the erroneous double
> const.)
>
> or
> static GUID const *const const tid_ids[];
>
> as I would prefer to put it. So, to conclude, you don't want the extra
> const, and it may not have been the const you thought it was, either. :)
>
Whoops! Hopefully, you had all fallen asleep before reading that bit, but
because we are talking about a #define, not a typedef, the declaration
would, in fact, be equivalent to:
static const const GUID *const tid_ids[];
(I checked it with gcc -E.) But it's still a const too far.
--
Andy.
More information about the wine-devel
mailing list