Hello!
Trying to compile my code on Linux, but it won't work. Same code used on Windows and Mac and both works just fine.
Here are the errors I'm getting:
/usr/include/SFML/Network/Socket.hpp:53:10: error: expected identifier before ‘int’
enum Status
^
/usr/include/SFML/Network/Socket.hpp:54:5: error: expected unqualified-id before ‘{’ token
{
^
/usr/include/SFML/Network/Ftp.hpp:74:14: error: expected identifier before ‘int’
enum Status
^
/usr/include/SFML/Network/Ftp.hpp:75:9: error: expected unqualified-id before ‘{’ token
{
^
/usr/include/SFML/Network/Ftp.hpp:146:41: error: ‘InvalidResponse’ was not declared in this scope
explicit Response(Status code = InvalidResponse, const std::string& message = "");
^~~~~~~~~~~~~~~
/usr/include/SFML/Network/IpAddress.hpp:184:28: error: expected unqualified-id before numeric constant
static const IpAddress None; ///< Value representing an empty/invalid address
^
/usr/include/SFML/Network/Http.hpp:201:14: error: expected identifier before ‘int’
enum Status
^
/usr/include/SFML/Network/Http.hpp:202:9: error: expected unqualified-id before ‘{’ token
{
^
Thanks!