How to deal with variables where the size differs for 32 and 64bit
austinenglish at gmail.com
Tue Dec 7 00:52:38 CST 2010
On Sun, Dec 5, 2010 at 12:05 PM, Paul Vriens <paul.vriens.wine at gmail.com> wrote:
> Just found the fix for the oledb32:convert tests on 64bit. We need to adjust
> our oledb.idl (see patch attached).
> How should I deal with the ok() messages where we currently specify the
> 32bit variant? I mean this will of course introduce warnings on the 64bit
> Do I need to create a wrapper for the ok() messages, with a _WIN64 check
> somewhere? Or use a different printf format identifier?
> The same is also true for the TRACE() messages in our implementation.
Why not use an #ifdef there as well? A few other tests do it, for example:
More information about the wine-devel