Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build breaks with clang-6: error: reinterpret_cast from 'nullptr_t' to 'int *' is not allowed #93

Closed
yurivict opened this issue Apr 16, 2018 · 0 comments

Comments

@yurivict
Copy link

There are several failures line this in the FreeBSD port on FreeBSD 12 that uses clang-6:

OsiClpSolverInterface.cpp:1451:50: error: reinterpret_cast from 'nullptr_t' to 'int *' is not allowed
    messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uqs referenced this issue in freebsd/freebsd-ports Apr 16, 2018
Added patches to prevent breakage due to reinterpret_cast<SomeType*>(NULL).
See the upstream bug report: coin-or/Clp#7

Approved by:	portmgr (port compliance, infrastructure)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@467459 35697150-7ecd-e111-bb59-0022644237b5
uqs referenced this issue in freebsd/freebsd-ports Apr 16, 2018
Added patches to prevent breakage due to reinterpret_cast<SomeType*>(NULL).
See the upstream bug report: coin-or/Clp#7

Approved by:	portmgr (port compliance, infrastructure)
Jehops referenced this issue in Jehops/freebsd-ports-legacy Apr 16, 2018
Added patches to prevent breakage due to reinterpret_cast<SomeType*>(NULL).
See the upstream bug report: coin-or/Clp#7

Approved by:	portmgr (port compliance, infrastructure)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@467459 35697150-7ecd-e111-bb59-0022644237b5
swills referenced this issue in swills/freebsd-ports Apr 16, 2018
Added patches to prevent breakage due to reinterpret_cast<SomeType*>(NULL).
See the upstream bug report: coin-or/Clp#7

Approved by:	portmgr (port compliance, infrastructure)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@467459 35697150-7ecd-e111-bb59-0022644237b5
@svigerske svigerske transferred this issue from coin-or/Clp.old Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant