I simply included SFML as usually and it worked. Then I wanted to make a dll using sfml. So I included it and started writing my code and the code was fine. But when i wanted to run it, vs2015 gave me some strange errors:
int the rect.inl:
Error C2589'(': illegal token on right side of '::' sfml-2.4.1\include\sfml\graphics\rect.inl Line: 81
Error C2059 syntax error: '::' sfml-2.4.1\include\sfml\graphics\rect.inl Line: 81
And the same errors for diverse lines.