Compiler Warning (level 3) C4073
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Compiler Warning (level 3) C4073

Error Message

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() {
© 2016 Microsoft