[Bf-committers] My windows build progress ...

Laurence Bourn bf-committers@blender.org
Tue, 17 Dec 2002 10:37:38 +0100


Overloading GEN_HashedPtr == looks a bit dodgy to me
try replacing it in ..\..\..\source\kernel\gen_system\GEN_HashedPtr.h
with somthing like:

  bool
operator == (
  const GEN_HashedPtr & rhs
) const {
  return m_valptr == rhs.m_valptr;
}

Havent tested it mind... <ducks>


> -----Original Message-----
> From: Kent Mein [mailto:mein@cs.umn.edu]
> Sent: Tuesday, December 17, 2002 4:11 AM
> To: bf-committers@blender.org
> Subject: Re: [Bf-committers] My windows build progress ...
> 
> 
> In reply to Chris Want (cwant@ualberta.ca):
> 
> > Compiling...
> > BL_ActionActuator.cpp
> > ..\..\..\source\kernel\gen_system\GEN_Map.h(141) : error 
> C2678: binary
> > '==' : no operator defined which takes a left-hand operand of type
> > 'class GEN_HashedPtr' (or there is no acceptable conversion)
> >           ..\..\..\source\kernel\gen_system\GEN_Map.h(139) : while
> > compiling class-template member function 'void **__thiscall
> > GEN_Map<class GEN_HashedPtr,void *>::operator [](class 
> GEN_HashedPtr) '
> > ..\..\..\source\kernel\gen_system\GEN_Map.h(141) : fatal 
> error C1903:
> > unable to recover from previous error(s); stopping compilation
> >           ..\..\..\source\kernel\gen_system\GEN_Map.h(139) : while
> > compiling class-template member function 'void **__thiscall
> > GEN_Map<class GEN_HashedPtr,void *>::operator [](class 
> GEN_HashedPtr) '
> > BL_ArmatureObject.cpp
> > BL_BlenderDataConversion.cpp
> > 
> C:\blen_src\blender\source\gameengine\Converter\BL_BlenderData
> Conversion.cpp(537) 
> 
> Did you try swapping around the two vailes on the ==?
> 
> 
> Kent
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>