Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article
initializers put in library initialization area
Only third-party library developers should use the library initialization area, which is specified by #pragma init_seg. The following sample generates C4073:
// C4073.cpp
// compile with: /W3
#pragma init_seg(lib) // C4073
// try this line to resolve the warning
// #pragma init_seg(user)
int main() {
}