AliceVision icon indicating copy to clipboard operation
AliceVision copied to clipboard

2.4.0 build breaks: reinterpret_cast from 'nullptr_t' to 'const char *' is not allowed

Open yurivict opened this issue 3 years ago • 2 comments

clang-10 failed to compile it on FreeBSD 12.2:

/usr/ports/graphics/alice-vision/work/AliceVision-2.4.0/src/dependencies/osi_clp/Clp/src/ClpModel.cpp:3836:24: error: reinterpret_cast from 'nullptr_t' to 'const char *' is not allowed
                       reinterpret_cast<const char*> (NULL) /*integrality*/,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

also:

/usr/ports/graphics/alice-vision/work/AliceVision-2.4.0/src/dependencies/osi_clp/Clp/src/OsiClp/OsiClpSolverInterface.cpp:1436:50: error: reinterpret_cast from 'nullptr_t' to 'int *' is not allowed
    messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

yurivict avatar Mar 25 '21 00:03 yurivict

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 21 '22 00:03 github-actions[bot]

ping

yurivict avatar Mar 21 '22 00:03 yurivict

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 17 '23 00:03 github-actions[bot]