Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 1) C4615
Collapse the table of content
Expand the table of content

Compiler Warning (level 1) C4615

Error Message

#pragma warning : unknown user warning type

An invalid warning specifier was used with pragma warning. To resolve the error, use a valid warning specifier.

The following sample generates C4615:

// C4615.cpp
// compile with: /W1 /LD
#pragma warning(enable : 4401)   // C4615, 'enable' not valid specifier

// use the code below to resolve the error
// #pragma warning(default : 4401)

Community Additions

ADD
Show:
© 2015 Microsoft