trying to compile the current SVN project I get the following error:
/usr/include/SFML/Network/Selector.inl: In member function »Type sf::Selector< <template-parameter-1-1> >::GetSocketReady(unsigned int) const«:
/usr/include/SFML/Network/Selector.inl:128: Fehler: expected `;' before »It«
/usr/include/SFML/Network/Selector.inl:129: Fehler: »It« wurde in diesem Gültigkeitsbereich nicht definiert
"wurde in diesem Gültigkeitsbereich nicht definiert" means:
"was not defined in this scope"
Lines 128 and 129 are:
SocketTable::const_iterator It = mySockets.find(static_cast<SocketHelper::SocketType>(i));
if (It != mySockets.end())
looking up that stuff in Selector.hpp SocketTable is a:
std::map<SocketHelper::SocketType, Type>
But I cannot get further but this.. got no clue whats wrong.. some hint?
thx TGM
*Edit*
If I would like to add some functions to the Vec2 and Vec3 class
(dotProduct, crossProduct, scalar normalize, getLengthSQ, GetLength,angle between two vectors etc) would you like it to be a member of Vec or a function like all the other operators?