migration to GCC 9 done

parent 903fd206
......@@ -11,7 +11,6 @@ TINYGB_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $TINYGB_PATH
./compile.sh
# LD_LIBRARY_PATH should be replaced to avoid using a previously installed
# version of openblas. All required shared libraries should be in the tinygb
# directory.
......@@ -19,7 +18,7 @@ cd $TINYGB_PATH
if [ $? -eq 0 ] ;
then
OLD_LD_PATH=$LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$(pwd)/lib";
export LD_LIBRARY_PATH="$TINYGB_PATH/lib";
scripts/provide_wdir.sh build/tinygb WORKING_DIR $1
export LD_LIBRARY_PATH=$OLD_LD_PATH
else
......
......@@ -3,6 +3,7 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
#include <givaro/modular-integer.h>
#pragma GCC diagnostic pop
......
......@@ -5,6 +5,7 @@
#pragma GCC diagnostic ignored "-Wignored-attributes"
#pragma GCC diagnostic ignored "-Wattributes"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
#include <fflas-ffpack/fflas-ffpack.h>
#pragma GCC diagnostic pop
......
......@@ -29,6 +29,13 @@ class PolynomialInMatrix {
PolynomialInMatrix(const PolynomialInMatrix &p)
: pMatrix_(p.pMatrix_), row_(p.row_), nbMonoms_(p.nbMonoms_) {}
PolynomialInMatrix& operator=(const PolynomialInMatrix &p) {
pMatrix_ = p.pMatrix_;
row_ = p.row_;
nbMonoms_ = p.nbMonoms_;
return *this;
}
inline Monomial LeadingMonomial() const {
return pMatrix_->LeadingMonomial(row_);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment