Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error on Linux #7

Open
orderorder opened this issue Dec 21, 2021 · 1 comment · May be fixed by #8
Open

Compilation error on Linux #7

orderorder opened this issue Dec 21, 2021 · 1 comment · May be fixed by #8

Comments

@orderorder
Copy link

orderorder commented Dec 21, 2021

strife-ve-src/src/m_config.c:2643:1: error: expected expression before ‘}’ token
2643 | }
| ^

@orderorder orderorder changed the title Compilation error Compilation error on Linux Dec 21, 2021
@noabody
Copy link

noabody commented Feb 3, 2022

(222623c#diff-25bcf4ee25e0b5dfb9be349c97f4e5a5319f9b79b0b3e9501607df760685b995L2614)

It's specifically lines 2614 - 2616. The removal of that code breaks the Linux build:

	{
		return M_Strdup("");
	}

It's weird, I can add line 2643 {}, and the Linux build is fine. Except I haven't added anything, just a blank something. If I were a programmer this might make sense.

#endif // #if defined(LUNA_RELEASE)
#endif // #if !defined(_WIN32)
	{}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants