mirror of
https://git.freebsd.org/ports.git
synced 2025-07-10 05:49:22 -04:00
The bundled version of CoinMP required the same patches as those applied to the port math/coinmp, so the patches were copied from there. Submitted by: jbeich (via commit r458136) Reported by: antoine (via bug 224669)
15 lines
852 B
C++
15 lines
852 B
C++
ClpModel.cpp:3848:24: error: reinterpret_cast from 'nullptr_t' to 'const char *' is not allowed
|
|
reinterpret_cast<const char*> (NULL) /*integrality*/,
|
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
--- src/coin/Clp/ClpModel.cpp.orig 2015-05-29 15:36:41 UTC
|
|
+++ src/coin/Clp/ClpModel.cpp
|
|
@@ -3619,7 +3619,7 @@ ClpModel::writeMps(const char *filename,
|
|
writer.setMpsData(*(matrix_->getPackedMatrix()), COIN_DBL_MAX,
|
|
getColLower(), getColUpper(),
|
|
objective,
|
|
- reinterpret_cast<const char*> (NULL) /*integrality*/,
|
|
+ static_cast<const char*> (NULL) /*integrality*/,
|
|
getRowLower(), getRowUpper(),
|
|
columnNames, rowNames);
|
|
// Pass in array saying if each variable integer
|