[Osi-tickets] [COIN-OR Open Solver Interface] #59: warnings in %p on void *
COIN-OR Open Solver Interface
coin-trac at coin-or.org
Mon Jun 2 11:32:57 EDT 2008
#59: warnings in %p on void *
----------------------+-----------------------------------------------------
Reporter: mgalati | Owner: mjs
Type: defect | Status: new
Priority: minor | Milestone:
Component: OsiCpx | Version: 0.96
Keywords: warnings |
----------------------+-----------------------------------------------------
Many warnings like this.
This can be fixed, I think, by casting to void*.
{{{
../../../../Osi/src/OsiCpx/OsiCpxSolverInterface.cpp: In member function
'virtual void OsiCpxSolverInterface::setObjCoeffSet(const int*\
, const int*, const double*)':
../../../../Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:1457: warning: format
'%p' expects type 'void*', but argument 2 has type 'const in\
t*'
../../../../Osi/src/OsiCpx/OsiCpxSolverInterface.cpp:1457: warning: format
'%p' expects type 'void*', but argument 3 has type 'const in\
t*'
}}}
--
Ticket URL: <https://projects.coin-or.org/Osi/ticket/59>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).
More information about the Osi-tickets
mailing list