=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for ordCalc-0.2nb7 cd src ; make ord make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/var/pkgsrc/work/math/ordCalc/work/ordCalc_0.2/src' bison -d -v parse.y parse.y: warning: 1 shift/reduce conflict [-Wconflicts-sr] g++ -c -g parse.tab.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] parse.tab.c:1746:20: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] yyerror (YY_("syntax error")); ^ parse.tab.c:1890:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] yyerror (YY_("memory exhausted")); ^ 2 warnings generated. g++ -c -g intfc.cpp intfc.cpp:1683:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (params) if (size = params->size()) { ~~~~~^~~~~~~~~~~~~~~~ intfc.cpp:1683:26: note: place parentheses around the assignment to silence this warning if (params) if (size = params->size()) { ^ ( ) intfc.cpp:1683:26: note: use '==' to turn this assignment into an equality comparison if (params) if (size = params->size()) { ^ == 1 warning generated. g++ -c -g parse.cpp g++ -c -g ordBase.cpp ordBase.cpp:1045:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] else outDbgStream() << "finalTerms = " << finalTerms->normalForm() ^ ordBase.cpp:1062:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else outDbgStream() << "terms = NULL\n" ; ^ ordBase.cpp:1597:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else temp = productTable[index] ; ^ ordBase.cpp:1980:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 4 warnings generated. g++ -c -g finitefuncOrd.cpp finitefuncOrd.cpp:562:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ finitefuncOrd.cpp:577:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ finitefuncOrd.cpp:644:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else str += pe.psiNormalForm() ; ^ finitefuncOrd.cpp:648:13: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete params ; ^ [] finitefuncOrd.cpp:590:35: note: allocated with 'new[]' here const Ordinal ** params = new const Ordinal * [size+2] ; ^ finitefuncOrd.cpp:1095:28: warning: for loop has empty body [-Wempty-body] for (;params[size];size++); ^ finitefuncOrd.cpp:1095:28: note: put the semicolon on a separate line to silence this warning 5 warnings generated. g++ -c -g iterfuncOrd.cpp iterfuncOrd.cpp:21:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else codeLevel = finiteFuncCodeLevel; ^ iterfuncOrd.cpp:134:13: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete params ; ^ [] iterfuncOrd.cpp:89:35: note: allocated with 'new[]' here const Ordinal ** params = new const Ordinal * [size+2] ; ^ 2 warnings generated. g++ -c -g admisOrd.cpp admisOrd.cpp:221:52: error: invalid operands to binary expression ('const ord::Ordinal' and 'nullptr_t') if ((compare==0) && (dda.drillDown !=NULL) && ~~~~~~~~~~~~~ ^ ~~~~ ./ordinal.h:113:8: note: candidate function not viable: no known conversion from 'nullptr_t' to 'const ord::Ordinal' for 1st argument bool operator!= (const Ordinal &a) const {return compare(a) != 0;} ^ /usr/include/c++/v1/system_error:606:1: note: candidate function not viable: no known conversion from 'const ord::Ordinal' to 'const std::__1::error_code' for 1st argument operator!=(const error_code& __x, const error_code& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:611:1: note: candidate function not viable: no known conversion from 'const ord::Ordinal' to 'const std::__1::error_code' for 1st argument operator!=(const error_code& __x, const error_condition& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:616:1: note: candidate function not viable: no known conversion from 'const ord::Ordinal' to 'const std::__1::error_condition' for 1st argument operator!=(const error_condition& __x, const error_code& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:621:1: note: candidate function not viable: no known conversion from 'const ord::Ordinal' to 'const std::__1::error_condition' for 1st argument operator!=(const error_condition& __x, const error_condition& __y) _NOEXCEPT ^ /usr/include/c++/v1/utility:564:1: note: candidate template ignored: could not match 'pair' against 'const ord::Ordinal' operator!=(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) ^ /usr/include/c++/v1/iterator:710:1: note: candidate template ignored: could not match 'reverse_iterator' against 'const ord::Ordinal' operator!=(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_Iter2>& __y) ^ /usr/include/c++/v1/iterator:932:1: note: candidate template ignored: could not match 'istream_iterator' against 'const ord::Ordinal' operator!=(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x, ^ /usr/include/c++/v1/iterator:1033:6: note: candidate template ignored: could not match 'istreambuf_iterator' against 'const ord::Ordinal' bool operator!=(const istreambuf_iterator<_CharT,_Traits>& __a, ^ /usr/include/c++/v1/iterator:1151:1: note: candidate template ignored: could not match 'move_iterator' against 'const ord::Ordinal' operator!=(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>& __y) ^ /usr/include/c++/v1/iterator:1524:1: note: candidate template ignored: could not match '__wrap_iter' against 'const ord::Ordinal' operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>& __y) _NOEXCEPT_DEBUG ^ /usr/include/c++/v1/iterator:1556:1: note: candidate template ignored: could not match '__wrap_iter' against 'const ord::Ordinal' operator!=(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y) _NOEXCEPT_DEBUG ^ /usr/include/c++/v1/tuple:1152:1: note: candidate template ignored: could not match 'tuple' against 'const ord::Ordinal' operator!=(const tuple<_Tp...>& __x, const tuple<_Up...>& __y) ^ /usr/include/c++/v1/memory:1965:6: note: candidate template ignored: could not match 'allocator' against 'const ord::Ordinal' bool operator!=(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {return false;} ^ /usr/include/c++/v1/memory:2915:1: note: candidate template ignored: could not match 'unique_ptr' against 'const ord::Ordinal' operator!=(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& __y) {return !(__x == __y);} ^ /usr/include/c++/v1/memory:2962:1: note: candidate template ignored: could not match 'unique_ptr' against 'const ord::Ordinal' operator!=(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT ^ /usr/include/c++/v1/memory:2970:1: note: candidate template ignored: could not match 'unique_ptr' against 'nullptr_t' operator!=(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT ^ /usr/include/c++/v1/memory:4750:1: note: candidate template ignored: could not match 'shared_ptr' against 'const ord::Ordinal' operator!=(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXCEPT ^ /usr/include/c++/v1/memory:4807:1: note: candidate template ignored: could not match 'shared_ptr' against 'const ord::Ordinal' operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT ^ /usr/include/c++/v1/memory:4815:1: note: candidate template ignored: could not match 'shared_ptr' against 'nullptr_t' operator!=(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT ^ /usr/include/c++/v1/string_view:640:6: note: candidate template ignored: could not match 'basic_string_view' against 'ord::Ordinal' bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT ^ /usr/include/c++/v1/string_view:649:6: note: candidate template ignored: could not match 'basic_string_view' against 'ord::Ordinal' bool operator!=(basic_string_view<_CharT, _Traits> __lhs, ^ /usr/include/c++/v1/string_view:659:6: note: candidate template ignored: could not match 'basic_string_view' against 'nullptr_t' bool operator!=(typename common_type >::type __lhs, ^ /usr/include/c++/v1/string:540:6: note: candidate template ignored: could not match 'fpos' against 'const ord::Ordinal' bool operator!=(const fpos<_StateT>& __x, const fpos<_StateT>& __y) ^ /usr/include/c++/v1/string:3621:1: note: candidate template ignored: could not match 'basic_string' against 'const ord::Ordinal' operator!=(const basic_string<_CharT,_Traits,_Allocator>& __lhs, ^ /usr/include/c++/v1/string:3630:1: note: candidate template ignored: could not match 'const _CharT *' against 'ord::Ordinal' operator!=(const _CharT* __lhs, ^ /usr/include/c++/v1/string:3639:1: note: candidate template ignored: could not match 'basic_string' against 'const ord::Ordinal' operator!=(const basic_string<_CharT, _Traits, _Allocator>& __lhs, ^ /usr/include/c++/v1/functional:1965:1: note: candidate template ignored: could not match 'function' against 'const ord::Ordinal' operator!=(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {return (bool)__f;} ^ /usr/include/c++/v1/functional:1970:1: note: candidate template ignored: could not match 'function' against 'nullptr_t' operator!=(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {return (bool)__f;} ^ /usr/include/c++/v1/list:2379:1: note: candidate template ignored: could not match 'list' against 'const ord::Ordinal' operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y) ^ /usr/include/c++/v1/deque:2860:1: note: candidate template ignored: could not match 'deque' against 'const ord::Ordinal' operator!=(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocator>& __y) ^ /usr/include/c++/v1/stack:251:1: note: candidate template ignored: could not match 'stack' against 'const ord::Ordinal' operator!=(const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y) ^ /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' __GMP_DEFINE_BINARY_TYPE_FUNCTION(bool, operator!=, ! __gmp_binary_equal) ^ /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'const ord::Ordinal' /var/pkgsrc/work/math/ordCalc/work/.buildlink/include/gmpxx.h:3071:41: note: candidate template ignored: could not match '__gmp_expr' against 'nullptr_t' admisOrd.cpp:386:18: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (embeddings.embedIndex.compare(indexCK)<0) ^ admisOrd.cpp:438:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ admisOrd.cpp:1318:13: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!termEmbed.type == Embeddings::paramRestrict) return embeddings; ^ ~~ admisOrd.cpp:1318:13: note: add parentheses after the '!' to evaluate the comparison first if (!termEmbed.type == Embeddings::paramRestrict) return embeddings; ^ ( ) admisOrd.cpp:1318:13: note: add parentheses around left hand side expression to silence this warning if (!termEmbed.type == Embeddings::paramRestrict) return embeddings; ^ ( ) admisOrd.cpp:1995:28: error: no matching function for call to 'admisLevelFunctional' const Ordinal & cxl2 = admisLevelFunctional(Ordinal::two,eps0,plist,NULL); ^~~~~~~~~~~~~~~~~~~~ ./ordinal.h:225:20: note: candidate function not viable: no known conversion from 'nullptr_t' to 'const ord::Ordinal' for 4th argument const Ordinal& admisLevelFunctional(const Ordinal& levCK, ^ ./ordinal.h:229:20: note: candidate function not viable: requires 5 arguments, but 4 were provided const Ordinal& admisLevelFunctional(const Ordinal& levCK, ^ 3 warnings and 2 errors generated. Makefile:81: recipe for target 'admisOrd.o' failed make[1]: *** [admisOrd.o] Error 1 make[1]: Leaving directory '/var/pkgsrc/work/math/ordCalc/work/ordCalc_0.2/src' Makefile:7: recipe for target 'EXE' failed gmake: *** [EXE] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/math/ordCalc *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/math/ordCalc