-
Notifications
You must be signed in to change notification settings - Fork 156
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
Doesn't Build On Compilers Which Default To C++17 #677
Comments
Thanks for the patch. It's gotten past the byte failure. I could not run the predisastered binary as it was linked against some pangox binary library that doesn't exist on Fedora. Now when I run it I get an error No games setup, aborting Will look at the code. :/ |
How hard would option 2 be, removing those using-directives? |
Here's an alternate fix: https://github.com/wdoekes/gtkradiant-deb/blob/main/patches/radiant-fix-std-bool-std-byte.patch |
Removed the There is an old Flatpak setup here, but abandoned since 2018, would be sweet to have it mainlined, https://github.com/magicmyth/io.github.TTimo.GtkRadiant Oh, turns out that a symlink like |
Hi @dsvensson, thank you for sharing the symlink trick! I was running into the same issue and now I realized that it is enough to simply start it via Did you test that before? @wdoekes Thank you for the patch, exactly my compilation error that I had to fix aswell. |
C++17 added a
byte
type which conflicts with GtkRadiant's.The stdlib type isn't suitable for the way it's used here but it causes conflicts I think due to files including
using std
which pulls it in. There are a few options to fix this:byte
using std
so thatstd::byte
no longer conflictsstd::byte
I've attached a patch which does #4 as a temporary fix because creating a fork for a 1 line change is silly. It's "a .txt" because github refuses to let you attach .patch files.
std.txt
The text was updated successfully, but these errors were encountered: