In file included from sysinfo.c:22:
../../../include/msvcrt/stdio.h:132:116: error: expected string literal in 'asm'
int __cdecl _vsnprintf(char* HOSTPTR,size_t,const char* HOSTPTR,__ms_va_list) __attribute__((overloadable)) asm(__ASM_NAME("wine__vsnprintf_HOSTPTR"));
^
../../../include/msvcrt/stdio.h:312:23: error: passing 'char * __ptr64' to parameter of type '__storage32 char *' changes address space of pointer
return _vsnprintf(buffer,size,format,args);
^~~~~~
../../../include/msvcrt/stdio.h:130:32: note: passing argument to parameter here
int __cdecl _vsnprintf(char*,size_t,const char*,__ms_va_list);
^
../../../include/msvcrt/stdio.h:312:35: error: passing 'const char * __ptr64' to parameter of type 'const __storage32 char *' changes address space of pointer
return _vsnprintf(buffer,size,format,args);
^~~~~~
../../../include/msvcrt/stdio.h:130:51: note: passing argument to parameter here
int __cdecl _vsnprintf(char*,size_t,const char*,__ms_va_list);
^
sysinfo.c:56:28: error: passing 'unsigned short *' to parameter of type '__storage32 WCHAR *' (aka '__storage32 unsigned short *') changes address space of pointer
ret = GetComputerNameW(name, &name_size);
^~~~
../../../include/winbase.h:2106:54: note: passing argument to parameter here
WINBASEAPI BOOL WINAPI GetComputerNameW(LPWSTR,LPDWORD);
^
sysinfo.c:56:34: error: passing 'ULONG *' (aka 'latent-__storage32 unsigned int *') to parameter of type '__storage32 unsigned int *' changes address space of pointer
ret = GetComputerNameW(name, &name_size);
^~~~~~~~~~
../../../include/winbase.h:2106:62: note: passing argument to parameter here
WINBASEAPI BOOL WINAPI GetComputerNameW(LPWSTR,LPDWORD);
^
sysinfo.c:65:56: error: passing 'unsigned short *' to parameter of type '__storage32 WCHAR *' (aka '__storage32 unsigned short *') changes address space of pointer
ret = GetComputerObjectNameW(NameFullyQualifiedDN, buf, &size);
^~~
../../../include/secext.h:45:68: note: passing argument to parameter here
BOOLEAN WINAPI GetComputerObjectNameW( EXTENDED_NAME_FORMAT, LPWSTR, PULONG );
^
sysinfo.c:65:61: error: passing 'ULONG *' (aka 'latent-__storage32 unsigned int *') to parameter of type '__storage32 unsigned int *' changes address space of pointer
ret = GetComputerObjectNameW(NameFullyQualifiedDN, buf, &size);
^~~~~
../../../include/secext.h:45:77: note: passing argument to parameter here
BOOLEAN WINAPI GetComputerObjectNameW( EXTENDED_NAME_FORMAT, LPWSTR, PULONG );
^
sysinfo.c:71:20: error: passing 'unsigned short *' to parameter of type 'const __storage32 void *' changes address space of pointer
ok(!memcmp(buf, cnW, sizeof(cnW)), "got %s\n", wine_dbgstr_w(buf));
^~~
../../../include/msvcrt/string.h:36:35: note: passing argument to parameter here
int __cdecl memcmp(const void*,const void*,size_t);
^
sysinfo.c:72:20: error: passing 'unsigned short *' to parameter of type 'const __storage32 void *' changes address space of pointer
ok(!memcmp(buf + 3, name, name_size), "got %s (name_size = %u)\n", wine_dbgstr_w(buf), name_size);
^~~~~~~
../../../include/msvcrt/string.h:36:35: note: passing argument to parameter here
int __cdecl memcmp(const void*,const void*,size_t);
^
sysinfo.c:72:29: error: passing 'unsigned short *' to parameter of type 'const __storage32 void *' changes address space of pointer
ok(!memcmp(buf + 3, name, name_size), "got %s (name_size = %u)\n", wine_dbgstr_w(buf), name_size);
^~~~
../../../include/msvcrt/string.h:36:47: note: passing argument to parameter here
int __cdecl memcmp(const void*,const void*,size_t);
^
sysinfo.c:73:21: error: passing 'unsigned short *' to parameter of type 'const __storage32 WCHAR *' (aka 'const __storage32 unsigned short *') changes address space of pointer
p = strchrW(buf, ',');
^~~
sysinfo.c:36:36: note: passing argument to parameter 'str' here
static WCHAR *strchrW(const WCHAR *str, WCHAR ch)
^
sysinfo.c:78:86: error: casting '__storage32 IADsADSystemInfo **' (aka '__storage32 struct IADsADSystemInfo **') to type '__storage32 void *__storage32 *' changes address space of pointer
hr = CoCreateInstance(&CLSID_ADSystemInfo, 0, CLSCTX_ALL, &IID_IADsADSystemInfo, (void **)&sysinfo);
^ ~~~~~~~~
sysinfo.c:81:53: error: passing 'BSTR *' (aka '__storage32 unsigned short **') to parameter of type '__storage32 BSTR *' (aka '__storage32 unsigned short *__storage32 *') changes address space of pointer
hr = IADsADSystemInfo_get_ComputerName(sysinfo, &bstr);
^~~~~
../../../include/iads.h:2960:91: note: passing argument to parameter 'retval' here
static FORCEINLINE HRESULT IADsADSystemInfo_get_ComputerName(IADsADSystemInfo* This,BSTR *retval) {
^
sysinfo.c:85:28: error: passing 'unsigned short *' to parameter of type 'const __storage32 WCHAR *' (aka 'const __storage32 unsigned short *') changes address space of pointer
ok(!lstrcmpW(bstr, buf), "got %s, expected %s\n", wine_dbgstr_w(bstr), wine_dbgstr_w(buf));
^~~
../../../include/winbase.h:2798:55: note: passing argument to parameter here
WINBASEAPI INT WINAPI lstrcmpW(LPCWSTR,LPCWSTR);
^
sysinfo.c:106:24: error: passing 'unsigned short *' to parameter of type '__storage32 WCHAR *' (aka '__storage32 unsigned short *') changes address space of pointer
ret = GetUserNameW(name, &name_size);
^~~~
../../../include/winbase.h:2313:50: note: passing argument to parameter here
WINADVAPI BOOL WINAPI GetUserNameW(LPWSTR,LPDWORD);
^
sysinfo.c:106:30: error: passing 'ULONG *' (aka 'latent-__storage32 unsigned int *') to parameter of type '__storage32 unsigned int *' changes address space of pointer
ret = GetUserNameW(name, &name_size);
^~~~~~~~~~
../../../include/winbase.h:2313:58: note: passing argument to parameter here
WINADVAPI BOOL WINAPI GetUserNameW(LPWSTR,LPDWORD);
^
sysinfo.c:115:48: error: passing 'unsigned short *' to parameter of type '__storage32 WCHAR *' (aka '__storage32 unsigned short *') changes address space of pointer
ret = GetUserNameExW(NameFullyQualifiedDN, buf, &size);
^~~
../../../include/secext.h:49:60: note: passing argument to parameter here
BOOLEAN WINAPI GetUserNameExW( EXTENDED_NAME_FORMAT, LPWSTR, PULONG );
^
sysinfo.c:115:53: error: passing 'ULONG *' (aka 'latent-__storage32 unsigned int *') to parameter of type '__storage32 unsigned int *' changes address space of pointer
ret = GetUserNameExW(NameFullyQualifiedDN, buf, &size);
^~~~~
../../../include/secext.h:49:69: note: passing argument to parameter here
BOOLEAN WINAPI GetUserNameExW( EXTENDED_NAME_FORMAT, LPWSTR, PULONG );
^
sysinfo.c:121:20: error: passing 'unsigned short *' to parameter of type 'const __storage32 void *' changes address space of pointer
ok(!memcmp(buf, cnW, sizeof(cnW)), "got %s\n", wine_dbgstr_w(buf));
^~~
../../../include/msvcrt/string.h:36:35: note: passing argument to parameter here
int __cdecl memcmp(const void*,const void*,size_t);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [sysinfo.o] Error 1
make: *** [dlls/adsldp/tests] Error 2
Error: Process completed with exit code 2.