octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gcc7 build error with recent tip


From: Dmitri A. Sergatskov
Subject: gcc7 build error with recent tip
Date: Thu, 22 Jun 2017 18:04:25 -0500

see:

http://buildbot.octave.org:8010/builders/gcc-fedora/builds/554/steps/compile/logs/stdio


libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src -Iliboctave -I../src/liboctave -I../src/liboctave/array -Iliboctave/numeric -I../src/liboctave/numeric -Iliboctave/operators -I../src/liboctave/operators -I../src/liboctave/system -I../src/liboctave/util -I../src/libinterp/octave-value -Ilibinterp -I../src/libinterp -I../src/libinterp/operators -Ilibinterp/parse-tree -I../src/libinterp/parse-tree -Ilibinterp/corefcn -I../src/libinterp/corefcn -I../src/liboctave/wrappers -I/usr/include/GraphicsMagick -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -fPIC -pthread -fopenmp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT libinterp/corefcn/libinterp_corefcn_libcorefcn_la-tril.lo -MD -MP -MF libinterp/corefcn/.deps/libinterp_corefcn_libcorefcn_la-tril.Tpo -c ../src/libinterp/corefcn/tril.cc -fPIC -DPIC -o libinterp/corefcn/.libs/libinterp_corefcn_libcorefcn_la-tril.o
../src/libinterp/corefcn/symtab.cc: In member function ‘octave_value symbol_table::dump() const’: ../src/libinterp/corefcn/symtab.cc:1446:73: error: no matching function for call to ‘dump_container_map(const std::map<std::__cxx11::basic_string<char>, std::set<std::__cxx11::basic_string<char> > >&)’ {"precedence_table", dump_container_map (m_class_precedence_table)}, ^ ../src/libinterp/corefcn/symtab.cc:1424:1: note: candidate: template<class V, template<class ...> class C> octave_value dump_container_map(const std::map<std::__cxx11::basic_string<char>, C<V> >&) dump_container_map (const std::map<std::string, C<V>>& container_map) ^~~~~~~~~~~~~~~~~~ ../src/libinterp/corefcn/symtab.cc:1424:1: note: template argument deduction/substitution failed: ../src/libinterp/corefcn/symtab.cc:1446:73: note: candidate expects 1 argument, 3 provided {"precedence_table", dump_container_map (m_class_precedence_table)}, ^ ../src/libinterp/corefcn/symtab.cc:1447:59: error: no matching function for call to ‘dump_container_map(const std::map<std::__cxx11::basic_string<char>, std::__cxx11::list<std::__cxx11::basic_string<char> > >&)’ {"parent_classes", dump_container_map (m_parent_map)}}; ^ ../src/libinterp/corefcn/symtab.cc:1424:1: note: candidate: template<class V, template<class ...> class C> octave_value dump_container_map(const std::map<std::__cxx11::basic_string<char>, C<V> >&) dump_container_map (const std::map<std::string, C<V>>& container_map) ^~~~~~~~~~~~~~~~~~ ../src/libinterp/corefcn/symtab.cc:1424:1: note: template argument deduction/substitution failed: ../src/libinterp/corefcn/symtab.cc:1447:59: note: candidate expects 1 argument, 2 provided {"parent_classes", dump_container_map (m_parent_map)}}; ^ ../src/libinterp/corefcn/symtab.cc:1447:61: error: could not convert ‘{{"function_info", symbol_table::dump_fcn_table_map() const()}, {"precedence_table", <_expression_ error>}, {"parent_classes", <_expression_ error>}}’ from ‘<brace-enclosed initializer list>’ to ‘std::map<std::__cxx11::basic_string<char>, octave_value>’ {"parent_classes", dump_container_map (m_parent_map)}}; ^ make[2]: *** [Makefile:18264: libinterp/corefcn/libinterp_corefcn_libcorefcn_la-symtab.lo] Error 1 make[2]: *** Waiting for unfinished jobs....

reply via email to

[Prev in Thread] Current Thread [Next in Thread]