'function': symbol was declared as __declspec(deprecated)
The compiler encountered a function that was marked with deprecated. The function may no longer be supported in a future release. You can turn this warning off with the warning pragma (example below).
C4996 is generated for the line on which the function is declared and for the line on which the function is used.
The following sample generates C4996:
#include <stdio.h> // #pragma warning(disable : 4996) void func1(void){printf("\nIn func1");} __declspec(deprecated) void func1(int){printf("\nIn func2");} void main() { func1(); func1(1); }