Login  Register

Re: warning C4996

Posted by N_Lassesen on Jun 03, 2008; 5:19pm
URL: http://quantlib.414.s1.nabble.com/warning-C4996-tp5714p5715.html

Just insert this line:

#pragma warning(disable : 4996)

/Lassesen

xinonnet wrote
Warning 1 warning C4996: 'std::_Copy_opt' was declared deprecated c:\program files\microsoft visual studio 8\vc\include\xutility 2282
Warning 5 warning C4996: 'std::_Transform' was declared deprecated c:\program files\microsoft visual studio 8\vc\include\algorithm 685
...

Does anybody know the procedure to remove these warnings?  I integrated part of QuantLib into my analytics framework, and these warnings start to show up for the Array class.  Appreciate your help.