http://bugs.winehq.org/show_bug.cgi?id=46254 --- Comment #10 from Janne <janne.kekkonen(a)gmail.com> --- (In reply to Maotong Zhang from comment #9)
(In reply to Janne from comment #7)
Created attachment 79055 [details] console logs of tests
Applied both patches from bug-46255. Build 32 and 64bit versions of Wine. Build 32 and 64 bit version of the application.
64bit version of the application seems to behave same way on Wine & Windows. 32bit version has differeneses on output. Also application crashes, but that might me my build of the Wine causing this.
I attached terminal/console logs.
I compiled it this way into test program. 32bit: i686-w64-mingw32-gcc -Wall -g3 enumresource.c -static -lkernel32 -o enumresource_32.exe
64bit: x86_64-w64-mingw32-gcc -Wall -g3 enumresource.c -static -lkernel32 -o enumresource.exe
I recompiled test application with same parameters. Now both 32&64bit versions crash on NULL pointer situation. If application is compiled with clang crash do not happen. With clang i used these parameters to compile: clang -m64 enumresource.c -o enumresource_64_clang.exe I could not spot any changes to function EnumResourceTypesW in patches at bug-46255. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.