Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
probleme:compilation:c [2019/04/23 10:17] – [error: request for member 'XXXX' in 'XXXX', which is of non-class type ‘XXXX()’] root | probleme:compilation:c [2022/10/05 14:16] (Version actuelle) – Remove name root |
---|
Ne pas utiliser ''XXXX()'' mais ''this%%->%%XXXX()''. | Ne pas utiliser ''XXXX()'' mais ''this%%->%%XXXX()''. |
| |
[[http://www.agapow.net/programming/cplusplus/no-arguments-that-depend-on-a-template-parameter/|No arguments that depend on a template parameter]] {{ :probleme:compilation:c:no_arguments_that_depend_on_a_template_parameter_-_make_more_machines.mhtml |Archive}} | [[http://www.agapow.net/programming/cplusplus/no-arguments-that-depend-on-a-template-parameter/|No arguments that depend on a template parameter]] {{ :probleme:compilation:c:no_arguments_that_depend_on_a_template_parameter_-_make_more_machines_2020-04-28_10_44_06_pm_.html |Archive du 01/07/2005 le 28/07/2020}} |
| |
====error: there are no arguments to 'XXXX' that depend on a template parameter, so a declaration of 'XXXX' must be available [-fpermissive]==== | ====error: there are no arguments to 'XXXX' that depend on a template parameter, so a declaration of 'XXXX' must be available [-fpermissive]==== |
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_tree.h: In instantiation of 'class std::_Rb_tree<std::unique_ptr<llgc::software::gdb::Stack>, std::unique_ptr<llgc::software::gdb::Stack>, std::_Identity<std::unique_ptr<llgc::software::gdb::Stack> >, llgc::software::gdb::SetStack::LocalCompare, std::allocator<std::unique_ptr<llgc::software::gdb::Stack> > >': | /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_tree.h: In instantiation of 'class std::_Rb_tree<std::unique_ptr<llgc::software::gdb::Stack>, std::unique_ptr<llgc::software::gdb::Stack>, std::_Identity<std::unique_ptr<llgc::software::gdb::Stack> >, llgc::software::gdb::SetStack::LocalCompare, std::allocator<std::unique_ptr<llgc::software::gdb::Stack> > >': |
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_multiset.h:134:17: required from 'class std::multiset<std::unique_ptr<llgc::software::gdb::Stack>, llgc::software::gdb::SetStack::LocalCompare>' | /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_multiset.h:134:17: required from 'class std::multiset<std::unique_ptr<llgc::software::gdb::Stack>, llgc::software::gdb::SetStack::LocalCompare>' |
/home/legarrec/info/programmation/lib2lgc/src/2lgc/software/gdb/set_stack.h:272:55: required from here | .../lib2lgc/src/2lgc/software/gdb/set_stack.h:272:55: required from here |
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_tree.h:457:21: error: static assertion failed: comparison object must be invocable as const | /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_tree.h:457:21: error: static assertion failed: comparison object must be invocable as const |
static_assert(is_invocable_v<const _Compare&, const _Key&, const _Key&>, | static_assert(is_invocable_v<const _Compare&, const _Key&, const _Key&>, |
Dans la classe ''llgc::software::gdb::SetStack::LocalCompare'' passer l'opérateur ''operator()'' à ''const''. | Dans la classe ''llgc::software::gdb::SetStack::LocalCompare'' passer l'opérateur ''operator()'' à ''const''. |
| |
[[https://stackoverflow.com/questions/51235355/comparison-object-being-invocable-as-const|Comparison object being invocable as const]] {{ :probleme:compilation:c:c_-_comparison_object_being_invocable_as_const_-_stack_overflow.mhtml |Archive}} | [[https://stackoverflow.com/questions/51235355/comparison-object-being-invocable-as-const|Comparison object being invocable as const]] {{ :probleme:compilation:c:c_-_comparison_object_being_invocable_as_const_-_stack_overflow_2020-04-28_10_44_07_pm_.html |Archive du 08/07/2018 le 28/04/2020}} |