Compiler Warning (level 1) C4075
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Warning (level 1) C4075

initializers put in unrecognized initialization area

A #pragma init_seg uses an unrecognized section name. The compiler ignores the pragma command.

The following sample generates C4075:

// C4075.cpp
// compile with: /W1
#pragma init_seg("mysegg")   // C4075

// try..
// #pragma init_seg(user)

int main() {
© 2015 Microsoft