Updated from CVS on Mon Apr 01 14:25:04 2002 MSK
Compiled with MS Visual Studio 6.0 on Windows 2000.
Problems with unexnt.c. Below is the log from NMAKE.EXE:
unexnt.c
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2065: 'error' :
undeclared identifier
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2146: syntax error : missing
')' before identifier 'use'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2065: 'use' :
undeclared identifier
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2146: syntax error : missing
';' before identifier 'qxeGetModuleFileName'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2146: syntax error : missing
';' before identifier 'or'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : warning C4550: expression evaluates
to a function which is missing an argument list
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2065: 'or' :
undeclared identifier
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2146: syntax error : missing
';' before identifier 'GetModuleFileNameA'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : warning C4133: 'function' :
incompatible types - from 'char [260]' to 'unsigned short *'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2296: '/' : illegal,
left operand has type 'unsigned long (__stdcall *)(struct HINSTANCE__ *,char
*,unsigned long )'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(131) : error C2059: syntax error :
')'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(132) : error C2143: syntax error : missing
';' before '{'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : warning C4047: '=' :
'struct HINSTANCE__ *' differs in levels of indirection from 'int '
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : error C2146: syntax error : missing
';' before identifier 'use'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : error C2146: syntax error : missing
';' before identifier 'qxeLoadLibrary'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : error C2146: syntax error : missing
';' before identifier 'or'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : warning C4550: expression evaluates
to a function which is missing an argument list
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : error C2146: syntax error : missing
';' before identifier 'LoadLibraryA'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : warning C4133: 'function' :
incompatible types - from 'char [13]' to 'const unsigned short *'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : error C2296: '/' : illegal,
left operand has type 'struct HINSTANCE__ *(__stdcall *)(const char *)'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(228) : error C2297: '/' : illegal,
right operand has type 'struct HINSTANCE__ *'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(537) : warning C4047: '=' :
'void *' differs in levels of indirection from 'int '
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(537) : error C2146: syntax error : missing
';' before identifier 'use'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(537) : error C2146: syntax error : missing
';' before identifier 'qxeCreateFile'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(537) : error C2146: syntax error : missing
';' before identifier 'or'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(537) : warning C4550: expression evaluates
to a function which is missing an argument list
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(537) : error C2146: syntax error : missing
';' before identifier 'CreateFileA'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(537) : warning C4133: 'function' :
incompatible types - from 'char *' to 'const unsigned short *'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(538) : error C2296: '/' : illegal,
left operand has type 'void *(__stdcall *)(const char *,unsigned long ,unsigned long
,struct _SECURITY_ATTRIBUTES *,unsigned long ,unsigned long ,void *)'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(538) : error C2297: '/' : illegal,
right operand has type 'void *'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(543) : warning C4047: '=' :
'void *' differs in levels of indirection from 'int '
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(543) : error C2146: syntax error : missing
';' before identifier 'use'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(543) : error C2146: syntax error : missing
';' before identifier 'qxeCreateFileMapping'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(543) : error C2146: syntax error : missing
';' before identifier 'or'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(543) : warning C4550: expression evaluates
to a function which is missing an argument list
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(543) : error C2146: syntax error : missing
';' before identifier 'CreateFileMappingA'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(544) : error C2296: '/' : illegal,
left operand has type 'void *(__stdcall *)(void *,struct _SECURITY_ATTRIBUTES
*,unsigned long ,unsigned long ,unsigned long ,const char *)'
c:\software\SRC\xemacs-beta\nt\..\src\unexnt.c(544) : error C2297: '/' : illegal,
right operand has type 'void *'
NMAKE: fatal error U1077: 'cl' : return code '0x2'
Stop.
Show replies by date
Fixed. Patch below.
Nick.
2002-04-02 Nick V. Pakoulin <npak(a)ispras.ru>
* unexnt.c (_start):
* unexnt.c (unexec):
* unexnt.c (map_in_heap):
Call qxe...() wrappers instead of Win32 API