【发布时间】:2016-06-21 18:14:34
【问题描述】:
我正在尝试使用此站点的解析器:
http://www.partow.net/programming/exprtk/
在 VS 2015 上。不幸的是,在编译 exprtk_simple_example_01(使用解析器下载的示例文件之一)时出现以下错误:
Severity Code Description Project File Line Suppression State
Error C4996 'std::_Copy_impl': 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' TEST
c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility 2229
这是为什么呢?这个解析器与 VS 2015 不兼容吗?
【问题讨论】:
-
See documentation on how to use Visual C++ 'Checked Iterators'- 你试过了吗:) 还有... stackoverflow -
您应该回答自己的问题并接受答案。