[Bf-committers] CVS commit: blender/intern/bsp/intern BSP_CSGMesh.cpp

Chris Want bf-committers@blender.org
Wed, 01 Jan 2003 10:52:36 -0700


Hi Gilles,

I've applied your patch to my local directory
(there was a slight typo ... the last #if should
have been an #endif).

Here is the error message:

g++ -DHAVE_CONFIG_H -I. -I../../../blender/intern/bsp -I../.. 
-I../../../blender/intern/container 
-I../../../blender/intern/moto/include -I../../../blender/intern/memutil 
-I/usr/freeware/include -g -funsigned-char -DHAVE_DR179_BUG -c 
../../../blender/intern/bsp/intern/BSP_CSGMesh.cpp -MT BSP_CSGMesh.lo 
-MD -MP -MF .deps/BSP_CSGMesh.TPlo  -DPIC -o .libs/BSP_CSGMesh.lo
../../../blender/intern/bsp/intern/BSP_CSGMesh.cpp: In member function 
`bool
    BSP_CSGMesh::BuildEdges()':
../../../blender/intern/bsp/intern/BSP_CSGMesh.cpp:266: no match for
    `std::__normal_iterator<BSP_MFace*, std::vector<BSP_MFace,
    std::allocator<BSP_MFace> > >& - const BSP_MFace* const&' operator
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.0.4/include/g++/bits/stl_iterator.h:515: 
candidates
    are: std::__normal_iterator<_Iterator, _Container>
    std::__normal_iterator<_Iterator, _Container>::operator-(typename
    std::iterator_traits<_Iterator>::difference_type&) const [with 
_Iterator =
    BSP_MFace*, _Container = std::vector<BSP_MFace, 
std::allocator<BSP_MFace> >]
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.0.4/include/g++/bits/stl_iterator.h:519: 

                   typename 
std::iterator_traits<_Iterator>::difference_type
    std::__normal_iterator<_Iterator, _Container>::operator-(const
    std::__normal_iterator<_Iterator, _Container>&) const [with _Iterator =
    BSP_MFace*, _Container = std::vector<BSP_MFace, 
std::allocator<BSP_MFace> >]
../../../blender/intern/moto/include/MT_Vector3.h:93:
    MT_Vector3 operator-(const MT_Vector3&, const MT_Vector3&)
../../../blender/intern/moto/include/MT_Vector3.h:94:
    MT_Vector3 operator-(const MT_Vector3&)
../../../blender/intern/moto/include/MT_Point3.h:69: 
MT_Point3
    operator-(const MT_Point3&, const MT_Vector3&)
../../../blender/intern/moto/include/MT_Point3.h:70: 
MT_Vector3
    operator-(const MT_Point3&, const MT_Point3&)
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.5/3.0.4/include/g++/bits/stl_bvector.h:153: 

                   ptrdiff_t std::operator-(const std::_Bit_iterator_base&,
    const std::_Bit_iterator_base&)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

Regards,

Chris