Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 738 Bytes

compiler-warning-level-1-c4353.md

File metadata and controls

30 lines (26 loc) · 738 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4353
Compiler Warning (level 1) C4353
11/04/2016
C4353
C4353
6e79f186-ed82-4c95-9923-0ad5bb9c4db1

Compiler Warning (level 1) C4353

nonstandard extension used: constant 0 as function expression. Use '__noop' function intrinsic instead

You cannot use the constant zero (0) as a function expression. For more information, see __noop.

The following sample generates C4353:

// C4353.cpp
// compile with: /W1
void MyPrintf(void){};
#define X 0
#if X
   #define DBPRINT MyPrint
#else
   #define DBPRINT 0   // C4353 expected
#endif
int main(){
DBPRINT();
}