[Bug 56894] New: Compile Error
https://bugs.winehq.org/show_bug.cgi?id=56894 Bug ID: 56894 Summary: Compile Error Product: Wine-staging Version: 9.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: 0rtjiosoi3(a)pirolsnet.com CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- When I compiled the wine-staging, I taken the following error; include/config.h:847:9: warning: "_GNU_SOURCE" redefined dlls/ntdll/unix/esync.c:183:38: error: passing argument 1 of ‘_InterlockedCompareExchange’ from incompatible pointer type [-Wincompatible-pointer-types] 183 | if (!InterlockedCompareExchange( (int *)&esync_list[entry][idx].type, type, 0 )) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * dlls/ntdll/unix/esync.c:256:14: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘NTSTATUS’ {aka ‘long int’} [-Wformat=] 256 | WARN("Failed to retrieve fd for handle %p, status %#x.\n", handle, ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | NTSTATUS {aka long int} dlls/ntdll/unix/esync.c:275:33: error: passing argument 1 of ‘_InterlockedExchange’ from incompatible pointer type [-Wincompatible-pointer-types] 275 | if (InterlockedExchange((int *)&esync_list[entry][idx].type, 0)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int * dlls/ntdll/unix/esync.c:939:51: error: passing argument 1 of ‘_InterlockedDecrement’ from incompatible pointer type [-Wincompatible-pointer-types] 939 | InterlockedDecrement( &semaphore->count ); | ^~~~~~~~~~~~~~~~~ | | | int * -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56894 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEEDINFO Ever confirmed|0 |1 --- Comment #1 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- You need to provide some more details than that! What is your setup? How are you building? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56894 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Compile Error |Compilation failure in | |ntdll/unix/esync.c 'passing | |argument 1 of | |‘_InterlockedCompareExchang | |e’ from incompatible | |pointer type' -- 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.
participants (1)
-
WineHQ Bugzilla