Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 712 Bytes

compiler-warning-level-1-c4615.md

File metadata and controls

24 lines (19 loc) · 712 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4615
Compiler Warning (level 1) C4615
11/04/2016
C4615
C4615
7b107c01-0da2-4e01-8b40-93813e30b94c

Compiler Warning (level 1) C4615

#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)