On Sat, 2003-07-12 at 18:42, Serassio Guido wrote:
> Interesting, but, please, do you can give an example, I'm not sure to
> understand how make this right.
in Array.h:
delete:
"
template<class C>
typename C::value_type & VectorIteratorBase<C>::operator *() const
{
return theVector->items[pos];
}
template<class C>
typename C::value_type * VectorIteratorBase<C>::operator -> () const
{
return &theVector->items[pos];
}
"
within the VectorIteratorBase definition, (lines 59 and 60 for me):
change
"
typename C::value_type & operator *() const;
typename C::value_type * operator -> () const;
"
to
"
typename C::value_type & VectorIteratorBase<C>::operator *() const
{
return theVector->items[pos];
}
typename C::value_type * VectorIteratorBase<C>::operator -> () const
{
return &theVector->items[pos];
}
"
> > > c:\work\nt-3.0\src\memobject.h(110) : error C2639: compiler generated
> > > default constructor required by unnamed class
> >
> >This i can fix, it looks like - yet another- missing piece of the MS
> >compiler. I'll check in a probable fix in a couple of minutes.
>
> Ok, I'have just verified that your change works.
Good, one done.
> >It sure looks it. Is there anything that MSVC gives us that the mingw
> >port doesn't?
>
> MSVC is for the Windows environment something like gcc for Linux: it's the
> more available Windows native compiler and for many Windows users is more
> simple to use then the "esoteric" ( :-) !!!) MinGW tools, me too like more
> to work with MSVC then MinGW.
Uhmm, IIRC MSVC costs a large amount of $$$, whereas mingw is free.
mingw is also, as I understand it, a better C++ compiler. If the reactos
project carries on well, gcc will have SEH as well soon (if it doesn't
already - I'm a little out of date there). I'm not at all sure that the
MSVC install base is larger than the mingw/cygwin (because it can
compile for mingw). But thats a different discussion.
> So I think that we should to try to make Squid 3 compatible with MSVC.
Certainly, we'll try.
Rob
-- GPG key available at: <http://members.aardvark.net.au/lifeless/keys.txt>.
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:16 MST