Hi,
I am using QuantLib 1.1 and Boost 1.46 with VC++ 2008 on Win 7 Professional system. When I am trying to do the example TestingQuantLib at the following link, it failed by giving the error message below. Also when I build the QuantLib before running the example, error 4819 also exists but the build process is successful though. 1>c:\quantlib\quantlib-1.1\ql\currency.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss 1>c:\quantlib\quantlib-1.1\ql\math\array.hpp(227) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' 1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2576) : see declaration of 'std::copy' ....... I wonder if you have ever seen this before and I appreciate it if you can direct me in solving the problem. Thanks, Dennis ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
May I have an unhelpful comment: you referred to warnings, not errors. Regards, Hong Yu -----Original Message----- From: Dennis Zhang Sent: Monday, July 11, 2011 9:57 AM To: [hidden email] Subject: [Quantlib-dev] error message in testing QuantLib 1.1 Hi, I am using QuantLib 1.1 and Boost 1.46 with VC++ 2008 on Win 7 Professional system. When I am trying to do the example TestingQuantLib at the following link, it failed by giving the error message below. Also when I build the QuantLib before running the example, error 4819 also exists but the build process is successful though. 1>c:\quantlib\quantlib-1.1\ql\currency.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss 1>c:\quantlib\quantlib-1.1\ql\math\array.hpp(227) : warning C4996: 'std::copy': Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++ 'Checked Iterators' 1> c:\program files (x86)\microsoft visual studio 9.0\vc\include\xutility(2576) : see declaration of 'std::copy' ....... I wonder if you have ever seen this before and I appreciate it if you can direct me in solving the problem. Thanks, Dennis ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Hi, Dennis Were you able to solve this problem? I encounter the same problem as you do and still stuck on this. ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |