1
Network / [Solved] Socket operator error in 2.0 master
« on: May 02, 2012, 02:25:08 pm »
First post here, so hi!
I'm currently working with the master branch from git, and when attempting to use the networking layer I get these errors:
This happens with the tutorial code (adapted for 2.0), the example from github and my own code. Any ideas as to what is causing this?
I'm currently working with the master branch from git, and when attempting to use the networking layer I get these errors:
2>c:\users\thynnmas\documents\visual studio 2010\sfml\2.0 c++\include\sfml\network\socket.hpp(178): error C2248: 'sf::NonCopyable::operator =' : cannot access private member declared in class 'sf::NonCopyable'
2> c:\users\thynnmas\documents\visual studio 2010\sfml\2.0 c++\include\sfml\system\noncopyable.hpp(79) : see declaration of 'sf::NonCopyable::operator ='
2> c:\users\thynnmas\documents\visual studio 2010\sfml\2.0 c++\include\sfml\system\noncopyable.hpp(42) : see declaration of 'sf::NonCopyable'
2> This diagnostic occurred in the compiler generated function 'sf::Socket &sf::Socket::operator =(const sf::Socket &)'
2> c:\users\thynnmas\documents\visual studio 2010\sfml\2.0 c++\include\sfml\system\noncopyable.hpp(79) : see declaration of 'sf::NonCopyable::operator ='
2> c:\users\thynnmas\documents\visual studio 2010\sfml\2.0 c++\include\sfml\system\noncopyable.hpp(42) : see declaration of 'sf::NonCopyable'
2> This diagnostic occurred in the compiler generated function 'sf::Socket &sf::Socket::operator =(const sf::Socket &)'
This happens with the tutorial code (adapted for 2.0), the example from github and my own code. Any ideas as to what is causing this?