0

In the vs2012, I run my program, it will tips error C4996: 'cv::flann::Index_<T>'.
But in the vs2010, it is Warning.

Could anybody tell me how to fix this problem?

GSerg
  • 73,524
  • 17
  • 153
  • 317

1 Answers1

0

I know C4996 as a compiler warning that declares that something is deprecated. But i don´t know if this is the case here because i only encountered it as a warning and not as an error.

You could however try to use #define _CRT_SECURE_NO_DEPRECATE in your code, as suggested in this Answer.

Community
  • 1
  • 1
Mailerdaimon
  • 5,810
  • 2
  • 38
  • 45