math/libqalculate
Multi-purpose desktop calculator (backend library)
| Flavor | Version | Run | OSVersion | Arch | License | Restricted | Status | |
|---|---|---|---|---|---|---|---|---|
| 0.9.7_2 | 422 | 2.0 | i386 | gpl2 | 0 | fail |
License Permissions:
Events
| Machine | Type | Time | Message |
|---|---|---|---|
| m2032 | info | 2020-09-28 17:24:50.85734 | Test Started |
| m2032 | fail | 2020-09-28 17:25:24.340857 | make build returned non-zero: 1 |
| m2032 | fail | 2020-09-28 17:25:24.378069 | Test complete. |
Log
[1m===> Building for libqalculate-0.9.7_2[0m gmake[1]: Entering directory '/magus/work/usr/mports/math/libqalculate/work/libqalculate-0.9.7' gmake all-recursive gmake[2]: Entering directory '/magus/work/usr/mports/math/libqalculate/work/libqalculate-0.9.7' Making all in libqalculate gmake[3]: Entering directory '/magus/work/usr/mports/math/libqalculate/work/libqalculate-0.9.7/libqalculate' /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Function.lo -MD -MP -MF .deps/Function.Tpo -c -o Function.lo Function.cc /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Calculator.lo -MD -MP -MF .deps/Calculator.Tpo -c -o Calculator.lo Calculator.cc /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT DataSet.lo -MD -MP -MF .deps/DataSet.Tpo -c -o DataSet.lo DataSet.cc /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Variable.lo -MD -MP -MF .deps/Variable.Tpo -c -o Variable.lo Variable.cc mkdir .libs c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Variable.lo -MD -MP -MF .deps/Variable.Tpo -c Variable.cc -fPIC -DPIC -o .libs/Variable.o c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Function.lo -MD -MP -MF .deps/Function.Tpo -c Function.cc -fPIC -DPIC -o .libs/Function.o c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Calculator.lo -MD -MP -MF .deps/Calculator.Tpo -c Calculator.cc -fPIC -DPIC -o .libs/Calculator.o c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT DataSet.lo -MD -MP -MF .deps/DataSet.Tpo -c DataSet.cc -fPIC -DPIC -o .libs/DataSet.o In file included from In file included from Variable.ccIn file included from Function.cc:14:14DataSet.cc:: 14: : In file included from In file included from In file included from ./Function.h:15: In file included from ../libqalculate/ExpressionItem.h:15./Variable.h:: In file included from ../libqalculate/includes.h:15: ./DataSet.h:40: 15: In file included from ../libqalculate/includes.h:40/usr/include/c++/v1/ext/hash_map:213:: /usr/include/c++/v1/ext/hash_mapIn file included from In file included from ../libqalculate/ExpressionItem.h5:::15 : warningIn file included from ../libqalculate/includes.hCalculator.cc: :Use of the headeris deprecated. Migrate to [-W#warnings]40 : :/usr/include/c++/v1/ext/hash_map:14# warning Use of the header is deprecated. Migrate to ^: 213 :2135::In file included from warning: ./Calculator.hUse of the header is deprecated. Migrate to [-W#warnings] :15: In file included from ../libqalculate/includes.h:40: /usr/include/c++/v1/ext/hash_map:213# warning Use of the header is deprecated. Migrate to : 5 ^: warning: Use of the header is deprecated. Migrate to [-W#warnings] 5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ # warning Use of the header is deprecated. Migrate to ^ In file included from Calculator.cc:14: In file included from ./Calculator.h:149: In file included from ../libqalculate/MathStructure.h:16: In file included from ../libqalculate/Number.h:17: In file included from /usr/local/include/cln/cln.h:27: /usr/local/include/cln/string.h:23:48: warning: 'operator delete' has a non-throwing exception specification but can still throw [-Wexceptions] void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ /usr/local/include/cln/string.h:23:7: note: deallocator has a implicit non-throwing exception specification void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ In file included from Variable.cc:16: In file included from ./Calculator.h:149: In file included from ../libqalculate/MathStructure.h:16: In file included from ../libqalculate/Number.h:17: In file included from /usr/local/include/cln/cln.h:27: /usr/local/include/cln/string.h:23:48: warning: 'operator delete' has a non-throwing exception specification but can still throw [-Wexceptions] void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ /usr/local/include/cln/string.h:23:7: note: deallocator has a implicit non-throwing exception specification void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ In file included from Function.cc:16: In file included from ./Calculator.h:149: In file included from ../libqalculate/MathStructure.h:16: In file included from ../libqalculate/Number.h:17: In file included from /usr/local/include/cln/cln.h:27: /usr/local/include/cln/string.h:23:48: warning: 'operator delete' has a non-throwing exception specification but can still throw [-Wexceptions] void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ /usr/local/include/cln/string.h:23:7: note: deallocator has a implicit non-throwing exception specification void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ In file included from DataSet.cc:17: In file included from ./Calculator.h:149: In file included from ../libqalculate/MathStructure.h:16: In file included from ../libqalculate/Number.h:17: In file included from /usr/local/include/cln/cln.h:27: /usr/local/include/cln/string.h:23:48: warning: 'operator delete' has a non-throwing exception specification but can still throw [-Wexceptions] void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ /usr/local/include/cln/string.h:23:7: note: deallocator has a implicit non-throwing exception specification void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Variable.lo -MD -MP -MF .deps/Variable.Tpo -c Variable.cc -o Variable.o >/dev/null 2>&1 Calculator.cc:3025:42: warning: result of comparison of constant 'SUBTYPE_DATA_SET' (2) with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] if(item->subtype() == item->subtype() == SUBTYPE_DATA_SET) return addDataSet((DataSet*) item, force); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ Calculator.cc:4562:27: warning: '&&' within '||' [-Wlogical-op-parentheses] while(i != string::npos && (str[i] == LESS_CH && i + 1 < str.length() && str[i + 1] == LESS_CH) || (str[i] == GREATER_CH && i + 1 < str.length() && str[i + 1] == GREATER_CH)) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ Calculator.cc:4562:27: note: place parentheses around the '&&' expression to silence this warning while(i != string::npos && (str[i] == LESS_CH && i + 1 < str.length() && str[i + 1] == LESS_CH) || (str[i] == GREATER_CH && i + 1 < str.length() && str[i + 1] == GREATER_CH)) { ^ ( ) Calculator.cc:4577:28: warning: '&&' within '||' [-Wlogical-op-parentheses] while(i != string::npos && (str[i] == LESS_CH && i + 1 < str.length() && str[i + 1] == LESS_CH) || (str[i] == GREATER_CH && i + 1 < str.length() && str[i + 1] == GREATER_CH)) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ Calculator.cc:4577:28: note: place parentheses around the '&&' expression to silence this warning while(i != string::npos && (str[i] == LESS_CH && i + 1 < str.length() && str[i + 1] == LESS_CH) || (str[i] == GREATER_CH && i + 1 < str.length() && str[i + 1] == GREATER_CH)) { ^ ( ) 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT DataSet.lo -MD -MP -MF .deps/DataSet.Tpo -c DataSet.cc -o DataSet.o >/dev/null 2>&1 mv -f .deps/Variable.Tpo .deps/Variable.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT ExpressionItem.lo -MD -MP -MF .deps/ExpressionItem.Tpo -c -o ExpressionItem.lo ExpressionItem.cc c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT ExpressionItem.lo -MD -MP -MF .deps/ExpressionItem.Tpo -c ExpressionItem.cc -fPIC -DPIC -o .libs/ExpressionItem.o 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Function.lo -MD -MP -MF .deps/Function.Tpo -c Function.cc -o Function.o >/dev/null 2>&1 In file included from ExpressionItem.cc:14: In file included from ./ExpressionItem.h:15: In file included from ../libqalculate/includes.h:40: /usr/include/c++/v1/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ In file included from ExpressionItem.cc:15: In file included from ./Calculator.h:149: In file included from ../libqalculate/MathStructure.h:16: In file included from ../libqalculate/Number.h:17: In file included from /usr/local/include/cln/cln.h:27: /usr/local/include/cln/string.h:23:48: warning: 'operator delete' has a non-throwing exception specification but can still throw [-Wexceptions] void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ /usr/local/include/cln/string.h:23:7: note: deallocator has a implicit non-throwing exception specification void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT ExpressionItem.lo -MD -MP -MF .deps/ExpressionItem.Tpo -c ExpressionItem.cc -o ExpressionItem.o >/dev/null 2>&1 mv -f .deps/DataSet.Tpo .deps/DataSet.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Number.lo -MD -MP -MF .deps/Number.Tpo -c -o Number.lo Number.cc c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Number.lo -MD -MP -MF .deps/Number.Tpo -c Number.cc -fPIC -DPIC -o .libs/Number.o In file included from Number.cc:14: In file included from ./Number.h:15: In file included from ../libqalculate/includes.h:40: /usr/include/c++/v1/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ In file included from Number.cc:14: In file included from ./Number.h:17: In file included from /usr/local/include/cln/cln.h:27: /usr/local/include/cln/string.h:23:48: warning: 'operator delete' has a non-throwing exception specification but can still throw [-Wexceptions] void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ /usr/local/include/cln/string.h:23:7: note: deallocator has a implicit non-throwing exception specification void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ mv -f .deps/ExpressionItem.Tpo .deps/ExpressionItem.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT MathStructure.lo -MD -MP -MF .deps/MathStructure.Tpo -c -o MathStructure.lo MathStructure.cc c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT MathStructure.lo -MD -MP -MF .deps/MathStructure.Tpo -c MathStructure.cc -fPIC -DPIC -o .libs/MathStructure.o mv -f .deps/Function.Tpo .deps/Function.Plo /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Prefix.lo -MD -MP -MF .deps/Prefix.Tpo -c -o Prefix.lo Prefix.cc c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Prefix.lo -MD -MP -MF .deps/Prefix.Tpo -c Prefix.cc -fPIC -DPIC -o .libs/Prefix.o In file included from MathStructure.cc:14: In file included from ./MathStructure.h:15: In file included from ../libqalculate/includes.h:40: /usr/include/c++/v1/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ In file included from Prefix.cc:14: In file included from ./Prefix.h:16: In file included from ../libqalculate/includes.h:40: /usr/include/c++/v1/ext/hash_map:213:5: warning: Use of the header is deprecated. Migrate to [-W#warnings] # warning Use of the header is deprecated. Migrate to ^ In file included from MathStructure.cc:14: In file included from ./MathStructure.h:16: In file included from ../libqalculate/Number.h:17: In file included from /usr/local/include/cln/cln.h:27: /usr/local/include/cln/string.h:23:48: warning: 'operator delete' has a non-throwing exception specification but can still throw [-Wexceptions] void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ /usr/local/include/cln/string.h:23:7: note: deallocator has a implicit non-throwing exception specification void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ In file included from Prefix.cc:14: In file included from ./Prefix.h:17: In file included from ../libqalculate/Number.h:17: In file included from /usr/local/include/cln/cln.h:27: /usr/local/include/cln/string.h:23:48: warning: 'operator delete' has a non-throwing exception specification but can still throw [-Wexceptions] void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ /usr/local/include/cln/string.h:23:7: note: deallocator has a implicit non-throwing exception specification void operator delete (void* ptr) { (void)ptr; throw runtime_exception(); } ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Prefix.lo -MD -MP -MF .deps/Prefix.Tpo -c Prefix.cc -o Prefix.o >/dev/null 2>&1 MathStructure.cc:7166:48: error: cannot initialize a parameter of type 'MathStructure *' with an rvalue of type 'bool' MathStructure::gcd(cont_c, cont_d, gamma, eo, false); ^~~~~ ../libqalculate/MathStructure.h:827:137: note: passing argument to parameter 'ca' here static bool gcd(const MathStructure &m1, const MathStructure &m2, MathStructure &mresult, const EvaluationOptions &eo, MathStructure *ca = NULL, MathStructure *cb = NULL, bool check_args = true); ^ MathStructure.cc:8854:12: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if(!CHILD(i).size() == 2 || !CHILD(i)[0].isNumber()) { ^ ~~ MathStructure.cc:8854:12: note: add parentheses after the '!' to evaluate the comparison first if(!CHILD(i).size() == 2 || !CHILD(i)[0].isNumber()) { ^ ( ) MathStructure.cc:8854:12: note: add parentheses around left hand side expression to silence this warning if(!CHILD(i).size() == 2 || !CHILD(i)[0].isNumber()) { ^ ( ) MathStructure.cc:8884:65: warning: '&&' within '||' [-Wlogical-op-parentheses] if(curdeg == prevdeg || curdeg > degree || prevdeg > 0 && curdeg > prevdeg || overflow) { ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ MathStructure.cc:8884:65: note: place parentheses around the '&&' expression to silence this warning if(curdeg == prevdeg || curdeg > degree || prevdeg > 0 && curdeg > prevdeg || overflow) { ^ ( ) MathStructure.cc:8897:65: warning: '&&' within '||' [-Wlogical-op-parentheses] if(curdeg == prevdeg || curdeg > degree || prevdeg > 0 && curdeg > prevdeg || overflow) { ~~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ MathStructure.cc:8897:65: note: place parentheses around the '&&' expression to silence this warning if(curdeg == prevdeg || curdeg > degree || prevdeg > 0 && curdeg > prevdeg || overflow) { ^ ( ) MathStructure.cc:8854:29: warning: result of comparison of constant 2 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] if(!CHILD(i).size() == 2 || !CHILD(i)[0].isNumber()) { ~~~~~~~~~~~~~~~~ ^ ~ MathStructure.cc:9767:156: warning: '&&' within '||' [-Wlogical-op-parentheses] if(CHILD(i2)[0][im2].isUnit_exp() && (CHILD(i2)[0][im2].isUnit() || CHILD(i2)[0][im2][1].isNumber() && CHILD(i2)[0][im2][1].number().isNegative() && CHILD(i2)[0][im2][1].number().isInteger())) { ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MathStructure.cc:9767:156: note: place parentheses around the '&&' expression to silence this warning if(CHILD(i2)[0][im2].isUnit_exp() && (CHILD(i2)[0][im2].isUnit() || CHILD(i2)[0][im2][1].isNumber() && CHILD(i2)[0][im2][1].number().isNegative() && CHILD(i2)[0][im2][1].number().isInteger())) { ^ ( ) MathStructure.cc:9804:156: warning: '&&' within '||' [-Wlogical-op-parentheses] if(CHILD(i2)[0][im2].isUnit_exp() && (CHILD(i2)[0][im2].isUnit() || CHILD(i2)[0][im2][1].isNumber() && CHILD(i2)[0][im2][1].number().isNegative() && CHILD(i2)[0][im2][1].number().isInteger())) { ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MathStructure.cc:9804:156: note: place parentheses around the '&&' expression to silence this warning if(CHILD(i2)[0][im2].isUnit_exp() && (CHILD(i2)[0][im2].isUnit() || CHILD(i2)[0][im2][1].isNumber() && CHILD(i2)[0][im2][1].number().isNegative() && CHILD(i2)[0][im2][1].number().isInteger())) { ^ ( ) MathStructure.cc:12027:12: warning: equality comparison result unused [-Wunused-comparison] mstruct == CHILD(0)[0]; ~~~~~~~~^~~~~~~~~~~~~~ MathStructure.cc:12027:12: note: use '=' to turn this equality comparison into an assignment mstruct == CHILD(0)[0]; ^~ = 9 warnings and 1 error generated. gmake[3]: *** [Makefile:380: MathStructure.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... mv -f .deps/Prefix.Tpo .deps/Prefix.Plo 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Number.lo -MD -MP -MF .deps/Number.Tpo -c Number.cc -o Number.o >/dev/null 2>&1 mv -f .deps/Number.Tpo .deps/Number.Plo 5 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I../ -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT Calculator.lo -MD -MP -MF .deps/Calculator.Tpo -c Calculator.cc -o Calculator.o >/dev/null 2>&1 mv -f .deps/Calculator.Tpo .deps/Calculator.Plo gmake[3]: Leaving directory '/magus/work/usr/mports/math/libqalculate/work/libqalculate-0.9.7/libqalculate' gmake[2]: *** [Makefile:353: all-recursive] Error 1 gmake[2]: Leaving directory '/magus/work/usr/mports/math/libqalculate/work/libqalculate-0.9.7' gmake[1]: *** [Makefile:264: all] Error 2 gmake[1]: Leaving directory '/magus/work/usr/mports/math/libqalculate/work/libqalculate-0.9.7' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/mports/math/libqalculate
Links
Depends On
- devel/gettext-tools (build)
- devel/gmake (build)
- devel/pkgconf (build)
- textproc/intltool (build)
- devel/gettext-runtime (lib)
- devel/glib20 (lib)
- math/cln (lib)
- textproc/libxml2 (lib)
Depend Of
NothingCategories
CVEs
- Loading CVE information...
MidnightBSD Magus