When I try to create a window object in Visual Studio C++, the line
sf::Window window = sf::Window(sf::VideoMode(200,200),"Title");
works fine, but when I try the same thing in Code::Blocks MinGW, I get a nonCopyable error. Instead I have to use
sf::Window window(sf::VideoMode(200, 200), "Title");
Any reason why?