Hi Robert,

There are some residual build errors on Windows:

The store_dir_ufs.cc error is still here:

Compiling...
store_dir_ufs.cc
c:\work\nt-3.0\src\fs\ufs\store_dir_ufs.cc(1019) : error C2664: 'file_write' : cannot convert parameter 7 from 'void (void *)' to 'void (__cdecl *)(void *)'
None of the functions with this name in scope match the target type
store_io_ufs.cc


I have made some test/investigation: it seems like that the FreeObject<> linkage is not compatibile with what MSVC expects here: it don't have the expected __cdecl calling convention, and trying to force it in the protos.h declaration changed nothing.

FreeObject<> is used only here and in store_dir_coss.cc: it's possible to change something in the coding logic to accomodate this ?


At link time I have got this:


Linking...
ACLStringData.obj : error LNK2001: unresolved external symbol "int __cdecl splaystrcmp(char * const &,char * const &)" (?splaystrcmp@@[EMAIL PROTECTED])
ACLUserData.obj : error LNK2001: unresolved external symbol "int __cdecl splaystrcmp(char * const &,char * const &)" (?splaystrcmp@@[EMAIL PROTECTED])
ACLUserData.obj : error LNK2001: unresolved external symbol "int __cdecl splaystrcasecmp(char * const &,char * const &)" (?splaystrcasecmp@@[EMAIL PROTECTED])
Debug/squid.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.


But splaystrcmp and splaystrcasecmp are defined. What is this ?


Building nt branch on MSYS + MinGW I have got the following strange error:


cc1plus.exe: warnings being treated as errors
digest/auth_digest.cc: In member function `virtual void digest_request_h::authenticate(request_t*, RefCount<ConnStateData>, http_hdr_type)':
digest/auth_digest.cc:715: warning: aggregate has a partly bracketed initializer
digest/auth_digest.cc:715: warning: aggregate has a partly bracketed initializer
make[3]: *** [digest/auth_digest.o] Error 1


gcc info:

$ gcc -v
Reading specs from C:/msys/1.0/mingw/bin/../lib/gcc-lib/mingw32/3.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=f77,c++,objc,ada --disable-win32-registry --disable-shared
Thread model: win32
gcc version 3.2 (mingw special 20020817-1)


Regards

Guido


- ======================================================== Guido Serassio Acme Consulting S.r.l. Via Gorizia, 69 10136 - Torino - ITALY Tel. : +39.011.3249426 Fax. : +39.011.3293665 Email: [EMAIL PROTECTED] WWW: http://www.acmeconsulting.it/

Reply via email to