• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling 0.3.6pl1 On Linux --enable-debug gives error.

Kungenn

Veteran OT User
Joined
Jun 10, 2007
Messages
1,625
Reaction score
283
Location
USA California
When I try to compile with --enable-debug I get this error:


Code:
connection.h:41: error: expected unqualified-id before '<<' token

And on lines 38 to 44 in connection.h it's this.

Code:
38: #ifdef __DEBUG_NET__
39: #define PRINT_ASIO_ERROR(description) \
40:         std::cout << "[Error - " << __FUNCTION__ << "] " << description << " - "
41:                 << error.message() << " (" << error.message() << ")" << std::endl;
42: #else
43: #define PRINT_ASIO_ERROR(x)
44: #endif

Any idea how to fix it? ;)


Thanks a bunch in advance ;)
 
Back
Top