नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
#pragma'pragma_name' should only be used at global scope
Remarks
A pragma directive that must be applied at a global scope, was found in a different scope.
The warning applies to the following pragma directives:
detect_mismatchextern_absolutemake_public
Example
The following example generates C4384.
// C4384.cpp
// compile with: /c /W1
namespace n {
#pragma make_public(N::C) // C4384
namespace N {
class C {};
}
}