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

Compilation error with GCC 14 #708

Open
mh466lfa opened this issue Sep 8, 2024 · 2 comments
Open

Compilation error with GCC 14 #708

mh466lfa opened this issue Sep 8, 2024 · 2 comments

Comments

@mh466lfa
Copy link

mh466lfa commented Sep 8, 2024

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.

@Curculigo
Copy link

I'm using llvm-mingw and it compiled just fine for me.

@qPCR4vir
Copy link
Collaborator

qPCR4vir commented Sep 9, 2024

Thanks for taking your time to try that branch. It is highly experimental. I will continue working on it by the end of this years. It is working 'on my computer' but it is not well tested, and not with gcc14.2. And I did not use/ not adapted /makefile. Only cmake. Please try that. It will be great if you fix that makefile dir for this branch.
If you are just trying nana, the best branch is develop-1.8

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

3 participants