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

Compile error: no matching function for call to ‘safeTestForEach( #66

Open
xuzhougeng opened this issue Dec 6, 2019 · 1 comment
Open

Comments

@xuzhougeng
Copy link

I use the following command to compile this software

git clone https://github.com/ggonnella/gfaviz
cd gfaviz/
qmake-qt5
make

And an error throw out

g++ -c ogdf/basic/extended_graph_alg.cpp -std=c++11 -I. -O3 -DNDEBUG -Wall -Wno-deprecated-declarations -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-unknown-pragmas -Wno-unknown-warning-option -o obj/ogdf/extended_graph_alg.o
ogdf/basic/extended_graph_alg.cpp: In function ‘bool ogdf::cConnectTest(ogdf::ClusterGraph&, ogdf::cluster, ogdf::NodeArray<bool>&, ogdf::Graph&)’:
ogdf/basic/extended_graph_alg.cpp:47:3: error: no matching function for call to ‘safeTestForEach(ogdf::ListContainer<ogdf::ClusterElement*, ogdf::ClusterElement>&, ogdf::cConnectTest(ogdf::ClusterGraph&, ogdf::cluster, ogdf::NodeArray<bool>&, ogdf::Graph&)::__lambda15)’
  });
   ^
ogdf/basic/extended_graph_alg.cpp:47:3: note: candidate is:
In file included from ./ogdf/basic/List.h:34:0,
                 from ./ogdf/basic/GraphList.h:34,
                 from ./ogdf/basic/Graph_d.h:37,
                 from ./ogdf/basic/EdgeArray.h:34,
                 from ./ogdf/basic/simple_graph_alg.h:34,
                 from ogdf/basic/extended_graph_alg.cpp:33:

This is my g++ version

g++ --version
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

Thanks !

@ggonnella
Copy link
Owner

ggonnella commented Dec 6, 2019 via email

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

2 participants