Subject: Re: [boost] [tokenizer] 1.44 VS compiler warnings
From: Ralf Globisch (RGlobisch_at_[hidden])
Date: 2010-08-19 04:59:36
>>> Ahmed Charles ahmedcharles_at_[hidden]> 8/18/2010 11:07 PM >> ( mailto:ahmedcharles_at_[hidden]> )
>> On Wed, Aug 18, 2010 at 2:17 AM, Okko Willeboordse <
>> okko.willeboordse_at_[hidden]> wrote:
>> Running Boost 1.44, VS2008 SP1, W SDK 6.1, W Server 2003
>> When I compile;
>> #include <boost/date_time.hpp>
>> I get the following compiler warnings;
>> c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(589) :
>> warning C4996: 'std::_Traits_helper::copy_s': ...
>> c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(616) :
>> warning C4996: 'std::_Traits_helper::move_s': ...
>> c:\program files\microsoft visual studio 9.0\vc\include\iosfwd(607) :
>> warning C4996: 'std::char_traits<char>::copy': ...
> Just a helpful pointer. If you are going to copy/paste error messages,
> redacting them (with ...) doesn't help anyone. Note: C4996 is the deprecated
> function warning.
The same thing happened to me. One can define _SCL_SECURE_NO_WARNINGS
to stop the warnings from appearing but I would prefer it if the problem could be fixed
at source of the warnings. I'm guessing this can't be fixed until version 1.45?
-- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk