नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
#error : user supplied error message
Remarks
C1189 is generated by the #error directive. The developer who codes the directive specifies the text of the error message. For more information, see #error Directive (C/C++).
Example
The following example generates C1189. In the example, the developer issues a custom error message because the _WIN32 identifier is not defined:
// C1189.cpp
#undef _WIN32
#if !defined(_WIN32)
#error _WIN32 must be defined // C1189
#endif