freebsd-ports/math/coinmp
Jan Beich 6f1cdd3eb6 MFH: r458136
math/coinmp: unbreak build with Clang 6 (C++14 by default)

ClpModel.cpp:3848:24: error: reinterpret_cast from 'nullptr_t' to 'const char *' is not allowed
                       reinterpret_cast<const char*> (NULL) /*integrality*/,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OsiClpSolverInterface.cpp:1451:50: error: reinterpret_cast from 'nullptr_t' to 'int *' is not allowed
    messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from CglLandPSimplex.cpp:11:
In file included from ./CglLandPSimplex.hpp:31:
./CglLandPUtils.hpp:88:25: error: reinterpret_cast from 'nullptr_t' to 'OsiRowCut *' is not allowed
        cuts_.resize(i, reinterpret_cast<OsiRowCut *> (NULL));
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CbcModel.cpp:5322:41: error: reinterpret_cast from 'nullptr_t' to 'double *' is not allowed
            clpSolver->setFakeObjective(reinterpret_cast<double *> (NULL));
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reported by:	antoine (via bug 224669)
Approved by:	ports-secteam blanket
2018-01-05 12:38:26 +00:00
..
files MFH: r458136 2018-01-05 12:38:26 +00:00
distinfo
Makefile
pkg-descr
pkg-plist