[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More (Windows) Errors
From: |
Neil Hotmail |
Subject: |
More (Windows) Errors |
Date: |
Wed, 16 Oct 2002 14:25:26 +0100 |
src\worldmap\path.hxx:
vec.insert(vec.end(), p.vec.rbegin(), p.vec.rend());
D:\Pingus\CVS\Games\Pingus\src\worldmap\path.hxx(77) : error C2664: 'void
__thiscall std::vector<class Vector,class std::allocator<class Vector>
>::insert(class Vector *,unsigned int,const class Vector &)' : cannot
convert parameter 2 from 'class st
d::reverse_iterator<class Vector *,class Vector,class Vector &,class Vector
*,int>' to 'unsigned int'
No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called
I think windows wants insert(at where, from where, length of where (not
iterator to where as you pass)
Not sure if this is STL problems with windows, or STL issues with GCC, or
GCC missing this error, no idea! Also isn't there either an append or
push_back method available which takes a iterator range, rather than calling
insert with vec.end?
Ginge
- Digger width increased., Gervase Lam, 2002/10/13
- Fun Windows Errors, Neil Hotmail, 2002/10/14
- Re: Fun Windows Errors, David Philippi, 2002/10/14
- Re: Fun Windows Errors, Ingo Ruhnke, 2002/10/14
- Re: Fun Windows Errors, Neil Hotmail, 2002/10/14
- Re: Fun Windows Errors, Ingo Ruhnke, 2002/10/14
- More (Windows) Errors,
Neil Hotmail <=
- Re: More (Windows) Errors, David Philippi, 2002/10/18
- Re: More (Windows) Errors, Ingo Ruhnke, 2002/10/18
- Re: More (Windows) Errors, David Philippi, 2002/10/19
- Re: More (Windows) Errors, David Philippi, 2002/10/19
- Re: More (Windows) Errors, Ingo Ruhnke, 2002/10/19
- Re: More (Windows) Errors, David Philippi, 2002/10/19
- Re: More (Windows) Errors, David Philippi, 2002/10/19
- Re: More (Windows) Errors, David Philippi, 2002/10/19