coin-or / Cgl

Cut Generator Library
Other
24 stars 14 forks source link

MSVSv8 compiler warnings #9

Closed svigerske closed 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: @mgalati13

Original creation time: 2007-02-07 14:46:37

Assignee: somebody

Version: release 0.5.1

CC: @mgalati13

Keywords: warnings

MSVSv8 compiler warnings, coin-Cbc stable 1.1

Warning 1   warning C4996: 'strdup' was declared deprecated c:\cygwin\home\magala\coin\coin-cbc\cgl\src\cgltwomir\cgltwomir.cpp 184 
Warning 2   warning C4996: 'strcpy' was declared deprecated c:\cygwin\home\magala\coin\coin-cbc\cgl\src\cglmessage.cpp  33  
Warning 3   warning C4996: 'std::_Transform' was declared deprecated    c:\program files\microsoft visual studio 8\vc\include\algorithm 685 
Warning 4   warning C4996: 'std::_Copy_opt' was declared deprecated c:\program files\microsoft visual studio 8\vc\include\xutility  2282    
svigerske commented 5 years ago

Comment by fmargot created at 2007-02-07 19:55:45

These seem to be only warnings to push the use of specific MS function to replace the standard ones. This has fairly low priority.

This probably needs wrapper functions for strdup, strcpy, etc. similar to other in CoinUtils/CoinHelperFunctions.cpp (for example CoinCbrt()). If you submit the wrapper functions to CoinUtils, Cgl will be happy to replace these calls by the wrapped ones.

svigerske commented 5 years ago

Comment by fmargot created at 2007-02-07 19:55:45

Changing assignee from somebody to fmargot.

svigerske commented 5 years ago

Comment by @rlougee created at 2009-12-10 20:13:11

Resolution: fixed