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

Dosbox core fails to build with GCC in Linux #1689

Open
bugalo opened this issue Oct 14, 2022 · 1 comment
Open

Dosbox core fails to build with GCC in Linux #1689

bugalo opened this issue Oct 14, 2022 · 1 comment

Comments

@bugalo
Copy link

bugalo commented Oct 14, 2022

Using NOCLEAN=1 ./libretro-build.sh dosbox in linux, the core fails to build with errors like this:

error: ISO C++17 does not allow dynamic exception specifications

The core builds correctly using NOCLEAN=1 CXX="g++ -std=gnu++11" ./libretro-build.sh dosbox

Please modify the build script taking this into account.

Thanks.

@bugalo
Copy link
Author

bugalo commented Oct 24, 2022

This can be fixed by modifying file libretro-dosbox/Makefile.libretro, and add after line 62 (section for platform unix) the following two lines:

	CXXFLAGS += -std=gnu++11
	CFLAGS += -std=gnu11

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

No branches or pull requests

1 participant