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
  • 76,472
  • 17
  • 159
  • 346

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
  • 6,003
  • 3
  • 35
  • 46