From mdorier at anl.gov Wed Jan 24 10:25:28 2018 From: mdorier at anl.gov (Dorier, Matthieu) Date: Thu Jan 25 06:44:30 2018 Subject: [cli-users] Cannot compile with g++ 6.3 (bug report + solution) Message-ID: Hi, I downloaded the cli 1.1.0 + dep archive but could not compile it on my Debian with g++ 6.3. I got the following errors: cli-1.1.0+dep/libcutl/cutl/compiler/traversal.hxx:76:13: error: ?add? was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] add (typeid (type), *this); This one can be solved by replacing the specified line with: traverser_map::add (typeid (type), *this); And last error is the following: cli-1.1.0+dep/cli/cli/traversal/elements.hxx:134:28: error: ?iterate_and_dispatch? was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] iterate_and_dispatch (s.names_begin (), s.names_end (), d); Which got solved by replacing the line with: edge_dispatcher::iterate_and_dispatch (s.names_begin (), s.names_end (), d); I also get a bunch of warning related to std::auto_ptr being deprecated. Those can be removed by using CXXFLAGS="-std=c++98". Thanks, Matthieu Dorier From boris at codesynthesis.com Thu Jan 25 07:02:29 2018 From: boris at codesynthesis.com (Boris Kolpackov) Date: Thu Jan 25 07:03:01 2018 Subject: [cli-users] Cannot compile with g++ 6.3 (bug report + solution) In-Reply-To: References: Message-ID: Hi Matthieu, Thanks for the report. This has all been fixed in master and the release should be soon'ish (but let me know if you would like to try the latest stuff in the meantime). Boris