MuffyPuff

GDB err 4

Feb 20th, 2018
594
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ../src/mufexprtkbackend.cpp: In destructor ‘virtual MufExprtkBackend::~MufExprtkBackend()’:
  2. ../src/mufexprtkbackend.cpp:21:14: error: ‘struct MufExprtkBackend::num_sym_t’ has no member named ‘second’
  3.    delete var.second;
  4.               ^~~~~~
  5. ../src/mufexprtkbackend.cpp:24:14: error: ‘struct MufExprtkBackend::num_sym_t’ has no member named ‘second’
  6.    delete con.second;
  7.               ^~~~~~
  8. ../src/mufexprtkbackend.cpp: In member function ‘bool MufExprtkBackend::addVariable(const QString&, const num_t&)’:
  9. ../src/mufexprtkbackend.cpp:39:34: error: no matching function for call to ‘MufExprtkBackend::num_sym_t::num_sym_t(std::__cxx11::string, MufExprtkBackend::num_t*)
  10.                   new num_t(value)));
  11.                                   ^
  12. In file included from ../src/mufexprtkbackend.cpp:1:0:
  13. ../src/mufexprtkbackend.h:67:9: note: candidate: MufExprtkBackend::num_sym_t::num_sym_t(const MufExprtkBackend::num_sym_t&)
  14.   struct num_sym_t : public symbol_t<num_t> {};
  15.          ^~~~~~~~~
  16. ../src/mufexprtkbackend.h:67:9: note:   candidate expects 1 argument, 2 provided
  17. ../src/mufexprtkbackend.h:67:9: note: candidate: MufExprtkBackend::num_sym_t::num_sym_t(MufExprtkBackend::num_sym_t&&)
  18. ../src/mufexprtkbackend.h:67:9: note:   candidate expects 1 argument, 2 provided
  19. ../src/mufexprtkbackend.cpp: In member function ‘bool MufExprtkBackend::addConstant(const QString&, const num_t&)’:
  20. ../src/mufexprtkbackend.cpp:53:34: error: no matching function for call to ‘MufExprtkBackend::num_sym_t::num_sym_t(std::__cxx11::string, MufExprtkBackend::num_t*)
  21.                   new num_t(value)));
  22.                                   ^
  23. In file included from ../src/mufexprtkbackend.cpp:1:0:
  24. ../src/mufexprtkbackend.h:67:9: note: candidate: MufExprtkBackend::num_sym_t::num_sym_t(const MufExprtkBackend::num_sym_t&)
  25.   struct num_sym_t : public symbol_t<num_t> {};
  26.          ^~~~~~~~~
  27. ../src/mufexprtkbackend.h:67:9: note:   candidate expects 1 argument, 2 provided
  28. ../src/mufexprtkbackend.h:67:9: note: candidate: MufExprtkBackend::num_sym_t::num_sym_t(MufExprtkBackend::num_sym_t&&)
  29. ../src/mufexprtkbackend.h:67:9: note:   candidate expects 1 argument, 2 provided
  30. ../src/mufexprtkbackend.cpp: In member function ‘bool MufExprtkBackend::addString(const QString&, const QString&)’:
  31. ../src/mufexprtkbackend.cpp:66:54: error: no matching function for call to ‘MufExprtkBackend::str_sym_t::str_sym_t(std::__cxx11::string, std::__cxx11::string*)
  32.                   new std::string(value.toStdString())));
  33.                                                       ^
  34. In file included from ../src/mufexprtkbackend.cpp:1:0:
  35. ../src/mufexprtkbackend.h:68:9: note: candidate: MufExprtkBackend::str_sym_t::str_sym_t(const MufExprtkBackend::str_sym_t&)
  36.   struct str_sym_t : public symbol_t<str_t> {};
  37.          ^~~~~~~~~
  38. ../src/mufexprtkbackend.h:68:9: note:   candidate expects 1 argument, 2 provided
  39. ../src/mufexprtkbackend.h:68:9: note: candidate: MufExprtkBackend::str_sym_t::str_sym_t(MufExprtkBackend::str_sym_t&&)
  40. ../src/mufexprtkbackend.h:68:9: note:   candidate expects 1 argument, 2 provided
  41. ../src/mufexprtkbackend.cpp: In member function ‘bool MufExprtkBackend::addVector(const QString&, const QVector<double>&)’:
  42. ../src/mufexprtkbackend.cpp:79:62: error: no matching function for call to ‘MufExprtkBackend::vec_sym_t::vec_sym_t(std::__cxx11::string, std::vector<double>*)
  43.                   new std::vector<num_t>(values.toStdVector())));
  44.                                                               ^
  45. In file included from ../src/mufexprtkbackend.cpp:1:0:
  46. ../src/mufexprtkbackend.h:69:9: note: candidate: MufExprtkBackend::vec_sym_t::vec_sym_t(const MufExprtkBackend::vec_sym_t&)
  47.   struct vec_sym_t : public symbol_t<std::vector<num_t>> {};
  48.          ^~~~~~~~~
  49. ../src/mufexprtkbackend.h:69:9: note:   candidate expects 1 argument, 2 provided
  50. ../src/mufexprtkbackend.h:69:9: note: candidate: MufExprtkBackend::vec_sym_t::vec_sym_t(MufExprtkBackend::vec_sym_t&&)
  51. ../src/mufexprtkbackend.h:69:9: note:   candidate expects 1 argument, 2 provided
  52. ../src/mufexprtkbackend.cpp: At global scope:
  53. ../src/mufexprtkbackend.cpp:108:1: error: prototype for ‘QList<MufExprtkBackend::symbol_t<T> >* MufExprtkBackend::deepcopy(const QList<MufExprtkBackend::symbol_t<T> >&, QList<MufExprtkBackend::symbol_t<T> >*)’ does not match any in class ‘MufExprtkBackend’
  54.  MufExprtkBackend::deepcopy(
  55.  ^~~~~~~~~~~~~~~~
  56. In file included from ../src/mufexprtkbackend.cpp:1:0:
  57. ../src/mufexprtkbackend.h:80:7: error: candidate is: template<class T> void MufExprtkBackend::deepcopy(const QList<MufExprtkBackend::symbol_t<T> >&, QList<MufExprtkBackend::symbol_t<T> >*)
  58.   void deepcopy(const QList<symbol_t<T>>& in, QList<symbol_t<T>>* out);
  59.        ^~~~~~~~
  60. ../src/mufexprtkbackend.cpp: In member function ‘virtual void MufExprtkBackend::run()’:
  61. ../src/mufexprtkbackend.cpp:170:34: error: no matching function for call to ‘MufExprtkBackend::deepcopy(QList<MufExprtkBackend::num_sym_t>&, QList<MufExprtkBackend::num_sym_t>*)
  62.    deepcopy(_variables, &variables);
  63.                                   ^
  64. In file included from ../src/mufexprtkbackend.cpp:1:0:
  65. ../src/mufexprtkbackend.h:80:7: note: candidate: template<class T> void MufExprtkBackend::deepcopy(const QList<MufExprtkBackend::symbol_t<T> >&, QList<MufExprtkBackend::symbol_t<T> >*)
  66.   void deepcopy(const QList<symbol_t<T>>& in, QList<symbol_t<T>>* out);
  67.        ^~~~~~~~
  68. ../src/mufexprtkbackend.h:80:7: note:   template argument deduction/substitution failed:
  69. ../src/mufexprtkbackend.cpp:170:34: note:   mismatched types ‘MufExprtkBackend::symbol_t<T>’ and ‘MufExprtkBackend::num_sym_t’
  70.    deepcopy(_variables, &variables);
  71.                                   ^
  72. ../src/mufexprtkbackend.cpp:171:34: error: no matching function for call to ‘MufExprtkBackend::deepcopy(QList<MufExprtkBackend::num_sym_t>&, QList<MufExprtkBackend::num_sym_t>*)
  73.    deepcopy(_constants, &constants);
  74.                                   ^
  75. In file included from ../src/mufexprtkbackend.cpp:1:0:
  76. ../src/mufexprtkbackend.h:80:7: note: candidate: template<class T> void MufExprtkBackend::deepcopy(const QList<MufExprtkBackend::symbol_t<T> >&, QList<MufExprtkBackend::symbol_t<T> >*)
  77.   void deepcopy(const QList<symbol_t<T>>& in, QList<symbol_t<T>>* out);
  78.        ^~~~~~~~
  79. ../src/mufexprtkbackend.h:80:7: note:   template argument deduction/substitution failed:
  80. ../src/mufexprtkbackend.cpp:171:34: note:   mismatched types ‘MufExprtkBackend::symbol_t<T>’ and ‘MufExprtkBackend::num_sym_t’
  81.    deepcopy(_constants, &constants);
  82.                                   ^
  83. ../src/mufexprtkbackend.cpp:172:30: error: no matching function for call to ‘MufExprtkBackend::deepcopy(QList<MufExprtkBackend::str_sym_t>&, QList<MufExprtkBackend::str_sym_t>*)
  84.    deepcopy(_strings, &strings);
  85.                               ^
  86. In file included from ../src/mufexprtkbackend.cpp:1:0:
  87. ../src/mufexprtkbackend.h:80:7: note: candidate: template<class T> void MufExprtkBackend::deepcopy(const QList<MufExprtkBackend::symbol_t<T> >&, QList<MufExprtkBackend::symbol_t<T> >*)
  88.   void deepcopy(const QList<symbol_t<T>>& in, QList<symbol_t<T>>* out);
  89.        ^~~~~~~~
  90. ../src/mufexprtkbackend.h:80:7: note:   template argument deduction/substitution failed:
  91. ../src/mufexprtkbackend.cpp:172:30: note:   mismatched types ‘MufExprtkBackend::symbol_t<T>’ and ‘MufExprtkBackend::str_sym_t’
  92.    deepcopy(_strings, &strings);
  93.                               ^
  94. ../src/mufexprtkbackend.cpp:173:30: error: no matching function for call to ‘MufExprtkBackend::deepcopy(QList<MufExprtkBackend::vec_sym_t>&, QList<MufExprtkBackend::vec_sym_t>*)
  95.    deepcopy(_vectors, &vectors);
  96.                               ^
  97. In file included from ../src/mufexprtkbackend.cpp:1:0:
  98. ../src/mufexprtkbackend.h:80:7: note: candidate: template<class T> void MufExprtkBackend::deepcopy(const QList<MufExprtkBackend::symbol_t<T> >&, QList<MufExprtkBackend::symbol_t<T> >*)
  99.   void deepcopy(const QList<symbol_t<T>>& in, QList<symbol_t<T>>* out);
  100.        ^~~~~~~~
  101. ../src/mufexprtkbackend.h:80:7: note:   template argument deduction/substitution failed:
  102. ../src/mufexprtkbackend.cpp:173:30: note:   mismatched types ‘MufExprtkBackend::symbol_t<T>’ and ‘MufExprtkBackend::vec_sym_t’
  103.    deepcopy(_vectors, &vectors);
  104.                               ^
  105. ../src/mufexprtkbackend.cpp:189:49: error: no matching function for call to ‘exprtk::symbol_table<double>::add_variable(MufExprtkBackend::str_t&, double*&)
  106.     symbol_table.add_variable(var.name, var.value);
  107.                                                  ^
  108. In file included from ../src/mufexprtkbackend.cpp:8:0:
  109. ../src/../include/exprtk.hpp:16952:19: note: candidate: bool exprtk::symbol_table<T>::add_variable(const string&, T&, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string<char>]
  110.        inline bool add_variable(const std::string& variable_name, T& t, const bool is_constant = false)
  111.                    ^~~~~~~~~~~~
  112. ../src/../include/exprtk.hpp:16952:19: note:   no known conversion for argument 2 from ‘double*’ to ‘double&’
  113. ../src/mufexprtkbackend.cpp:192:49: error: no matching function for call to ‘exprtk::symbol_table<double>::add_constant(MufExprtkBackend::str_t&, double*&)
  114.     symbol_table.add_constant(con.name, con.value);
  115.                                                  ^
  116. In file included from ../src/mufexprtkbackend.cpp:8:0:
  117. ../src/../include/exprtk.hpp:16964:19: note: candidate: bool exprtk::symbol_table<T>::add_constant(const string&, const T&) [with T = double; std::__cxx11::string = std::__cxx11::basic_string<char>]
  118.        inline bool add_constant(const std::string& constant_name, const T& value)
  119.                    ^~~~~~~~~~~~
  120. ../src/../include/exprtk.hpp:16964:19: note:   no known conversion for argument 2 from ‘double*’ to ‘const double&’
  121. ../src/mufexprtkbackend.cpp:195:50: error: no matching function for call to ‘exprtk::symbol_table<double>::add_stringvar(MufExprtkBackend::str_t&, std::__cxx11::basic_string<char>*&)
  122.     symbol_table.add_stringvar(str.name, str.value);
  123.                                                   ^
  124. In file included from ../src/mufexprtkbackend.cpp:8:0:
  125. ../src/../include/exprtk.hpp:16980:19: note: candidate: bool exprtk::symbol_table<T>::add_stringvar(const string&, std::__cxx11::string&, bool) [with T = double; std::__cxx11::string = std::__cxx11::basic_string<char>]
  126.        inline bool add_stringvar(const std::string& stringvar_name, std::string& s, const bool is_constant = false)
  127.                    ^~~~~~~~~~~~~
  128. ../src/../include/exprtk.hpp:16980:19: note:   no known conversion for argument 2 from std::__cxx11::basic_string<char>*’ to ‘std::__cxx11::string& {aka std::__cxx11::basic_string<char>&}
  129. ../src/mufexprtkbackend.cpp:198:47: error: no matching function for call to ‘exprtk::symbol_table<double>::add_vector(MufExprtkBackend::str_t&, std::vector<double>*&)
  130.     symbol_table.add_vector(vec.name, vec.value);
  131.                                                ^
  132. In file included from ../src/mufexprtkbackend.cpp:8:0:
  133. ../src/../include/exprtk.hpp:17106:19: note: candidate: template<long unsigned int N> bool exprtk::symbol_table<T>::add_vector(const string&, T (&)[N]) [with long unsigned int N = N; T = double]
  134.        inline bool add_vector(const std::string& vector_name, T (&v)[N])
  135.                    ^~~~~~~~~~
  136. ../src/../include/exprtk.hpp:17106:19: note:   template argument deduction/substitution failed:
  137. ../src/mufexprtkbackend.cpp:198:47: note:   mismatched types ‘double [N]’ and ‘std::vector<double>*’
  138.     symbol_table.add_vector(vec.name, vec.value);
  139.                                                ^
  140. In file included from ../src/mufexprtkbackend.cpp:8:0:
  141. ../src/../include/exprtk.hpp:17118:19: note: candidate: bool exprtk::symbol_table<T>::add_vector(const string&, T*, const size_t&) [with T = double; std::__cxx11::string = std::__cxx11::basic_string<char>; std::size_t = long unsigned int]
  142.        inline bool add_vector(const std::string& vector_name, T* v, const std::size_t& v_size)
  143.                    ^~~~~~~~~~
  144. ../src/../include/exprtk.hpp:17118:19: note:   candidate expects 3 arguments, 2 provided
  145. ../src/../include/exprtk.hpp:17133:19: note: candidate: template<class Allocator> bool exprtk::symbol_table<T>::add_vector(const string&, std::vector<Type, Allocator>&) [with Allocator = Allocator; T = double]
  146.        inline bool add_vector(const std::string& vector_name, std::vector<T,Allocator>& v)
  147.                    ^~~~~~~~~~
  148. ../src/../include/exprtk.hpp:17133:19: note:   template argument deduction/substitution failed:
  149. ../src/mufexprtkbackend.cpp:198:47: note:   mismatched types ‘std::vector<double, Allocator>’ and ‘std::vector<double>*’
  150.     symbol_table.add_vector(vec.name, vec.value);
  151.                                                ^
  152. In file included from ../src/mufexprtkbackend.cpp:8:0:
  153. ../src/../include/exprtk.hpp:17147:19: note: candidate: bool exprtk::symbol_table<T>::add_vector(const string&, exprtk::vector_view<T>&) [with T = double; std::__cxx11::string = std::__cxx11::basic_string<char>]
  154.        inline bool add_vector(const std::string& vector_name, exprtk::vector_view<T>& v)
  155.                    ^~~~~~~~~~
  156. ../src/../include/exprtk.hpp:17147:19: note:   no known conversion for argument 2 from std::vector<double>*’ to ‘exprtk::vector_view<double>&’
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×