Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 680 Bytes

compiler-warning-level-3-c4073.md

File metadata and controls

25 lines (20 loc) · 680 Bytes
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
C4073
C4073
50081a6e-6acd-45ff-8484-9b1ea926cc5c

Compiler Warning (level 3) C4073

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() {
}