Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 761 Bytes

compiler-warning-level-1-c4074.md

File metadata and controls

27 lines (21 loc) · 761 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4074
Compiler Warning (level 1) C4074
11/04/2016
C4074
C4074
cd510e66-c338-4a86-a4d7-bfa1df9b16c3

Compiler Warning (level 1) C4074

initializers put in compiler reserved initialization area

The compiler initialization area, which is specified by #pragma init_seg, is reserved by Microsoft. Code in this area may be executed before initialization of the C run-time library.

The following sample generates C4074:

// C4074.cpp
// compile with: /W1
#pragma init_seg( compiler )   // C4074

// try this line to resolve the warning
// #pragma init_seg(user)

int main() {
}