warning C4996

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

warning C4996

xinonnet
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.  

Reply | Threaded
Open this post in threaded view
|

Re: warning C4996

N_Lassesen
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.