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

fails to build with GCC 14 #164

Open
david-geiger opened this issue Oct 25, 2024 · 1 comment
Open

fails to build with GCC 14 #164

david-geiger opened this issue Oct 25, 2024 · 1 comment

Comments

@david-geiger
Copy link

Hi,

Current source code fails to build with GCC 14 with the following build issue:

In file included from /home/pterjan/rpmbuild/BUILD/tora-3.2/extlibs/dtl/dtl/dtl.hpp:44,
from /home/pterjan/rpmbuild/BUILD/tora-3.2/src/editor/todifftext.cpp:39:
/home/pterjan/rpmbuild/BUILD/tora-3.2/extlibs/dtl/dtl/Diff.hpp: In member function 'void dtl::Diff<elem, sequence, comparator>::enableTrivial() const':
/home/pterjan/rpmbuild/BUILD/tora-3.2/extlibs/dtl/dtl/Diff.hpp:166:27: error: assignment of member 'trivial' in read-only object
166 | this->trivial = true;
| ~~~~~~~~~~~~~~^~~~~~

This PR fixes build: cubicdaiya/dtl#18

@david-geiger
Copy link
Author

Also this PR antlr/antlr3#224 is needed to fix build with embedded libantlr3cpp-3.5.3!

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