[Bug 49555] New: Wine-Staging compilation fails after 046f6604b763ca494bece1ff16a0919077ecb9d4 (../ntdll/unix/file.c)
WineHQ Bugzilla
wine-bugs at winehq.org
Sat Jul 11 01:07:29 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=49555
Bug ID: 49555
Summary: Wine-Staging compilation fails after
046f6604b763ca494bece1ff16a0919077ecb9d4
(../ntdll/unix/file.c)
Product: Wine-staging
Version: unspecified
Hardware: x86
OS: Linux
Status: NEW
Keywords: download, regression, source
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: gyebro69 at gmail.com
CC: leslie_alistair at hotmail.com, z.figura12 at gmail.com
Distribution: ---
Since yesterday's rebase compiling Wine-Staging fails somewhere in
../ntdll/unix/file.c.
https://github.com/wine-staging/wine-staging/commit/046f6604b763ca494bece1ff16a0919077ecb9d4
gcc -m64 -c -o unix/file.o ../../../dlls/ntdll/unix/file.c -I.
-I../../../dlls/ntdll -I../../include \
-I../../../include -D__WINESRC__ -D_NTSYSTEM_ -D_ACRTIMP= -D_MSVCR_VER=0
-D_REENTRANT -fPIC \
-fasynchronous-unwind-tables -Wall -pipe -fcf-protection=none
-fno-stack-protector \
-fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body
-Wignored-qualifiers \
-Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits
\
-Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op
-pipe -O2 -ftree-vectorize
../../../dlls/ntdll/unix/file.c:3566:16: error: conflicting types for
‘nt_to_unix_file_name’
3566 | NTSTATUS CDECL nt_to_unix_file_name( const UNICODE_STRING *nameW, char
**unix_name_ret,
| ^~~~~~~~~~~~~~~~~~~~
In file included from ../../../dlls/ntdll/unix/file.c:128:
../../../dlls/ntdll/unix/unix_private.h:243:17: note: previous declaration of
‘nt_to_unix_file_name’ was here
243 | extern NTSTATUS nt_to_unix_file_name( const UNICODE_STRING *nameW, char
**name_ret, UINT disposition ) DECLSPEC_HIDDEN;
| ^~~~~~~~~~~~~~~~~~~~
../../../dlls/ntdll/unix/file.c: In function ‘NtCreateFile’:
../../../dlls/ntdll/unix/file.c:3790:31: warning: unused variable ‘objattr’
[-Wunused-variable]
3790 | struct object_attributes *objattr;
| ^~~~~~~
../../../dlls/ntdll/unix/file.c:3789:17: warning: unused variable ‘len’
[-Wunused-variable]
3789 | data_size_t len;
| ^~~
../../../dlls/ntdll/unix/file.c:3788:23: warning: unused variable ‘unix_attr’
[-Wunused-variable]
3788 | OBJECT_ATTRIBUTES unix_attr;
| ^~~~~~~~~
../../../dlls/ntdll/unix/file.c:3787:27: warning: unused variable
‘empty_string’ [-Wunused-variable]
3787 | static UNICODE_STRING empty_string;
| ^~~~~~~~~~~~
At top level:
../../../dlls/ntdll/unix/file.c:3787:27: warning: ‘empty_string’ defined but
not used [-Wunused-variable]
make[1]: *** [Makefile:1287: unix/file.o] Error 1
make[1]: Leaving directory
'/home/gyebro/sources/test/wine-staging/wine64-build/dlls/ntdll'
make: *** [Makefile:8823: dlls/ntdll] Error 2
--
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.
More information about the wine-bugs
mailing list