On Sat, Jun 28, 2003 at 05:56:23PM -0400, Vincent Béron wrote:
Le sam 28/06/2003 à 17:27, Marcus Meissner a écrit :
Actually, since I can't find that option passed to gcc anymore, how does Wine gets its binary compatibility with native apps regarding this issue?
Hmm? The native apps when compiled use the option -fshort-wchar, see : tools/winegcc.c: gcc_argv[i++] = "-fshort-wchar";
I was talking about a random foo.exe in PE format. How does Wine understands the WSTR from it if it's not itself compiled with -fshort-wchar?
It must be compiled with -fshort-wchar. Thats why winegcc sets it by default.
Ciao, Marcus