Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 713 Bytes

compiler-warning-level-1-c4117.md

File metadata and controls

29 lines (22 loc) · 713 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4117
Compiler Warning (level 1) C4117
11/04/2016
C4117
C4117
c45aa281-4cc1-4dfd-bd32-bd7a60ddd577

Compiler Warning (level 1) C4117

macro name 'name' is reserved; 'Command' ignored

To fix by checking the following possible causes

  1. Trying to define or undefine a predefined macro.

  2. Trying to define or undefine the preprocessor operator defined.

The following sample generates C4117:

// C4117.cpp
// compile with: /W1
#define __FILE__ test         // C4117. __FILE__ is a predefined macro
#define ValidMacroName test   // ok

int main() {
}