
21 Aug
2008
21 Aug
'08
9:45 a.m.
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