Skip to content

Compilation error with GCC 14 #708

@ghost

Description

I'm using w64devkit version 2.0.0.

This is the error message:

../../source/gui/widgets/treebox.cpp:359:60: error: no matching function for call to 'find(std::vector<nana::widgets::detail::tree_node<nana::drawerbase::treebox::trigger::treebox_node_type>*>::iterator, std::vector<nana::widgets::detail::tree_node<nana::drawerbase::treebox::trigger::treebox_node_type>*>::iterator, nana::drawerbase::treebox::trigger::implementation::node_type*&)'
  359 |                                         auto it = std::find(nodes_selected.begin(), nodes_selected.end(), node);
      |                                                   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make: *** [makefile:41: out/objs/gui/widgets/treebox.o] Error 1

I cloned the branch dev_dpi_system and build it using build/makefile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions