-DSTRICT warning fixes

Alexandre Julliard julliard at winehq.com
Sun Jul 29 12:15:49 CDT 2001


Patrik Stridvall <ps at leissner.se> writes:

> Sure Win64 should use 64-bit pointers as handles that is
> without questions, but forcing it on Win32 on 64-bit
> is totally unnessary

This may be the root of your misunderstanding: there is no such thing
as Win32 on 64-bit platforms. Wine (and Winelib) implement Win32 on
32-bit platforms, and Win64 on a 64-bit platform. If you want to
compile your apps as Win32, you need a 32-bit compiler. Then you use
the same compiler to build Wine as a Win32 library, and everything
works fine. If you use a 64-bit compiler, some types (including
handles) become 64-bit, and you have to deal with it.

The only possible exception would be running existing Win32 binaries
on ia64. And I'm not even convinced it needs an exception, it's
probably easier to simply build a version of Wine with the 32-bit gcc
than to try to come up with a translation layer.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list