
25 Dec
2010
25 Dec
'10
12:14 p.m.
Thanks for your reply. I added it to my code and now the include part looks as follows: #include <iostream> #include <boost/asio.hpp> #include <boost/thread.hpp> #include <boost/bind.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #define _SCL_SECURE_NO_WARNINGS But I still got those 8 warnings. Any further suggestions?
Define that *before* including the headers. Or even better - in the global preprocessor definitions of your project.