|
Boost : |
From: Markus Werle (numerical.simulation_at_[hidden])
Date: 2008-08-21 05:45:13
Jürgen Hunold <juergen.hunold <at> ivembh.de> writes:
>
> Hi Daniel !
>
> An'n Donnerstag 21 August 2008 hett Daniel James schreven:
> > No, I'll do something about the inline warning. I don't know what to
> > do for the warnings about std::equal being unsafe. Can I just disable
> > the warning with pragmas?
>
> The compiler says: "To disable this warning, use -D_SCL_SECURE_NO_WARNINGS."
>
> Should be easy enough. For more information, grep the mailing list archive or
> the Jamfiles for "SCL_SECURE"
You could use pragmas on places where you are sure or use the
secure version:
#pragma warning( push )
#pragma warning( disable : <whatever warning number> )
<your code here>
#pragma warning( pop )
regards,
Markus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk