Hi,
After pulling the latest code from CVS (otlkcon).
We are trying to compile your code using Visual Studio 6.0 and Visual Studio .Net 2002.
But still unable to compile it completely..
File_backend , smlog & xmlbackend code has been successfully compiled.
But when compiling mstore code, we get following errors...(It seems that, memory_backend.h should include memory_backend_util.h instead of file_backend_util.h)
memory_backend.c(58) : error C2143: syntax error : missing ')' before '*'memory_backend.c(58) : error C2081: 'memory_backend_db_node' : name in formal parameter list illegal
memory_backend.c(58) : error C2143: syntax error : missing '{' before '*'
memory_backend.c(58) : error C2143: syntax error : missing ';' before '*'
memory_backend.c(58) : error C2059: syntax error : ')'
memory_backend.c(59) : error C2054: expected '(' to follow 'instance'
memory_backend.c(97) : error C2065: 'fileCs' : undeclared identifier
memory_backend.c(97) : warning C4133: 'function' : incompatible types - from 'int *' to 'struct _RTL_CRITICAL_SECTION *'
memory_backend.c(99) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'unsigned char '
memory_backend.c(99) : warning C4024: 'file_backend_read_file' : different types for formal and actual parameter 1
memory_backend.c(173) : warning C4047: 'function' : 'char *' differs in levels of indirection from
'unsigned char '
memory_backend.c(173) : warning C4024: 'file_backend_write_file' : different types for formal and actual parameter 1
memory_backend.c(175) : warning C4133: 'function' : incompatible types - from 'int *' to 'struct _RTL_CRITICAL_SECTION *'
memory_backend.c(191) : warning C4047: 'function' : 'void ** ' differs in levels of indirection from 'unsigned char *'
memory_backend.c(191) : warning C4022: 'OTLKCON_AllocateBuffer' : pointer mismatch for actual parameter 2
memory_backend.c(192) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'unsigned char '
memory_backend.c(192) : warning C4024: 'strncpy' : different types for formal and actual parameter 1 NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'nmake.exe' : return code '0x2'
Any Ideas ?
Thanks for you help.
Regards,
Maulik Patel
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!