Re: Residual HAED C++ problems on MS VisualStudio

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Wed, 06 Aug 2003 09:30:57 +0200

Hi Robert,

At 12.42 05/08/2003, Robert Collins wrote:

> > remove my deleteSelf hack (there is a
> > >test case that shows it shouldn't be needed - and the standard says it's
> > >not needed).
>
>I've done this... please try now.

Good, no more errors.

> > Index: auth_digest.cc
>
>Committed.

Robert, it's missing the enum change:

Index: auth_digest.cc
===================================================================
RCS file: /cvsroot/squid/squid3/src/auth/digest/auth_digest.cc,v
retrieving revision 1.10
diff -u -p -r1.10 auth_digest.cc
--- auth_digest.cc 15 Jul 2003 02:12:43 -0000 1.10
+++ auth_digest.cc 3 Aug 2003 20:53:02 -0000
@@ -776,7 +776,7 @@ digest_request_h::direction()
  void
  digest_request_h::addHeader(HttpReply * rep, int accel)
  {
- enum http_hdr_type type;
+ http_hdr_type type;

      /* don't add to authentication error pages */

> > > > store_dir_ufs.cc
> > > > C:\work\nt-3.0\src\fs\ufs\store_dir_ufs.cc(1018) : 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
> > >
> > >try adding an explicit cast to (__cdecl *)(void *) on the NULL.
> >
> > Nothing to do, don't liked .....
>
>Can you enlarge on this?

Simply the error is the same. But note that the parameter 7 if the last,
not the NULL.

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 Wed Aug 06 2003 - 01:31:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:27 MST