[Osi-tickets] Re: [COIN-OR Open Solver Interface] #24: MSVSv8
compiler warnings
COIN-OR Open Solver Interface
coin-trac at coin-or.org
Fri Feb 9 11:52:05 EST 2007
#24: MSVSv8 compiler warnings
-----------------------------+----------------------------------------------
Reporter: mgalati | Owner: mjs
Type: defect | Status: new
Priority: minor | Milestone:
Component: Osi Base Class | Version: 0.95.2
Resolution: | Keywords: warnings
-----------------------------+----------------------------------------------
Comment (by lou):
The `deprecated' warnings should be suppressed as of
!BuildTools/releases/0.5.4 for command line builds from cygwin or mingw
using --enable-doscompile=msvc.
(In general, use the -wd4996 flag to cl to suppress them.) A quick check
says that the stable branch should be ok. Releases has not caught up yet.
This fix may not be propagated into the MSVisualStudio project; I'm not
sufficiently familiar with MSVS solution files to do the modifications.
As I read the Microsoft documentation, they've written `secure' versions
of a whack of basic library routines. Rather than simply making the secure
versions the standard, they've elected to give them all new names and
force you to change your code in order to use them.
--
Ticket URL: <https://projects.coin-or.org/Osi/ticket/24#comment:1>
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