Jump to content
Eternal Lands Official Forums
sgik

Client fails to compile in gentoo linux using gcc 4.8.3

Recommended Posts

The problem is in io/ioapi.h, ~line 25:

#if (!defined(OF) & defined(_Z_OF))
#define OF _Z_OF
#endif
If neither OF nor _Z_OF are #defined (which appears to be the case on my system), then the compiler issues diagnostics when OF is used (~line 131-137 in ioapi.h). The fix is to add two lines:

#if (!defined(OF) & defined(_Z_OF))
#define OF _Z_OF
#elif !defined(OF)
#define OF(x) x
#endif

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×