mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
8369734c89
- The build is purely CMake-based now and doesn't use any shell or Python helper scripts - Keep PLIST_SUB+=COIN="" to reduce the churn on the pkg-plist, will be cleaned up separately (COIN support is now mandatory) - Chase 301 Moved Permanently redirect in the WWW line of the port description while here
16 lines
765 B
C++
16 lines
765 B
C++
OsiClpSolverInterface.cpp:1451:50: error: reinterpret_cast from 'nullptr_t' to 'int *' is not allowed
|
|
messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
|
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
--- src/coin/OsiClp/OsiClpSolverInterface.cpp.orig 2015-05-29 15:36:45 UTC
|
|
+++ src/coin/OsiClp/OsiClpSolverInterface.cpp
|
|
@@ -1422,7 +1422,7 @@ OsiClpSolverInterface::setupForRepeatedUse(int senseOf
|
|
if (stopPrinting) {
|
|
CoinMessages * messagesPointer = modelPtr_->messagesPointer();
|
|
// won't even build messages
|
|
- messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
|
|
+ messagesPointer->setDetailMessages(100,10000,static_cast<int *> (NULL));
|
|
}
|
|
#endif
|
|
}
|