Hi Robert,
At 00.59 10/08/2003, Robert Collins wrote:
>On Sat, 2003-08-09 at 20:44, Serassio Guido wrote:
> > Hi Robert,
> >
> > There are some residual build errors on Windows:
>Yes - copy the template to each file it's used, and make it a normal,
>static function there.
Sorry Robert, but I'm not sure how to better convert
O *anObject = static_cast <O *>(address);
delete anObject;
to a static function, please do you can help me ?
>Some BS with MSVC and templates. b****r. I've detemplatized these.
>
>I'd wager that the cause is because we reference them but never call
>them - it may be that MSVC thus never instantiates them. I'm guessing it
>may be because we don't directly call them, only take their address.
Link errors are gone, now squid.exe builds fine.
I don't have tried if it works too because I'm stil fixing the
store_dir_ufs error: for build test purpose the faulty code is commented out.
> > 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
>
>Sounds like mingw have a 'funny' struct definition for in_addr. Perhaps a
>memset is best for now.
Ok, of course it works.
I will send you some patches with all the changes.
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l.
Via Gorizia, 69 10136 - Torino - ITALY
Tel. : +39.011.3249426 Fax. : +39.011.3293665
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sun Aug 10 2003 - 01:14:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:27 MST