description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Warning (level 3) C4073 |
Compiler Warning (level 3) C4073 |
11/04/2016 |
|
|
50081a6e-6acd-45ff-8484-9b1ea926cc5c |
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() {
}