नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'function': name was marked as
#pragma deprecated
Remarks
The compiler encountered a function that was marked with #pragma deprecated. The function may no longer be supported in a future release. You can turn off this warning by using #pragma warning.
The /sdl (Enable Additional Security Checks) compiler option elevates this warning to an error.
Example
The following example generates C4995. Uncomment the #pragma warning line to disable the warning.
// C4995.cpp
// compile with: /W3
#include <stdio.h>
// #pragma warning(disable : 4995)
void func1(void)
{
printf("\nIn func1");
}
int main()
{
func1();
#pragma deprecated(func1)
func1(); // C4995
}