When I compile the boost spirit with VisualStudio I got the following warnings. Is this a known issue/bug?
/*
c:\src\indexserve2\private\shared\boost\spirit\tree\impl\tree_to_xml.ipp(66) : warning C4996: 'std::ctype
To expand this question,
In general, what is the stance boost libraries should take regarding
CRT warnings in VS? E.g. Program_options gets me a warning too, and I
too run into a warning with spirit (karma in this case) that I happen
to can't find right now.
Should the package mantainer add some VS specific pragma's to switch
them off at the locations that generate warnings, or is that for the
user to do?
for temporaily shutting off specific warnings:
#pragma warning(push)
#pragma warning(disable:4996)
// stuff that generates warning
#pragma warning(pop)
Best Dee
---
my warning:
c:\dat\c\projects\dependency\boost\boost\algorithm\string\detail\classification.hpp(102)
: 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'
On Fri, Oct 30, 2009 at 1:35 AM, HT4N -
When I compile the boost spirit with VisualStudio I got the following warnings. Is this a known issue/bug?
/* c:\src\indexserve2\private\shared\boost\spirit\tree\impl\tree_to_xml.ipp(66) : warning C4996: 'std::ctype
::wide 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' */ #pragma warning(disable:4996) /* c:\src\indexserve2\private\shared\boost\spirit\tree\parse_tree.hpp(213) : warning see reference to class template instantiation 'boost::spirit::skip_parser_iteration_policy<ParserT>' being compiled c:\src\indexserve2\private\shared\boost\spirit\core\scanner\skipper.hpp(147) : warning C4512: 'boost::spirit::skip_parse r_iteration_policy<ParserT>' : assignment operator could not be generated */ #pragma warning(disable:4512)
________________________________ Windows 7: It helps you do more. Explore Windows 7. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Diederick C. Niehorster
-
HT4N -