Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 668 Bytes

compiler-warning-level-4-c4019.md

File metadata and controls

32 lines (25 loc) · 668 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 4) C4019
Compiler Warning (level 4) C4019
11/04/2016
C4019
C4019
4ecfe85d-673f-4334-8154-36fe7f0b3444

Compiler Warning (level 4) C4019

empty statement at global scope

A semicolon at global scope isn't preceded by a statement.

This warning may be fixed if you remove the extra semicolon.

Important

This warning only applies to C programs.

Example

// C4019.c
// compile with: /Za /W4
#define declint( varname ) int varname;
declint( a );   // C4019, int a;;
declint( b )   // OK, int b;

int main()
{
}