Skip to content

fails to build with GCC 14 #164

Description

@david-geiger

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions