Compiling a C program by 'Code::Blocks-13.12mingw', cause a virus alert

Descriptions: Compiling a C program by ‘Code::Blocks-13.12mingw’, cause a virus alert, and the executable is sent to the Quarantine zone. And if the same program scanned by avast again, also virus is detected. The program is given below,

#include <stdio.h>
void main()
{
}

Any function if I use just like below

FuncX()
{
}

The avast does the same,

Either exclude your dev folders or sign your programs.

Hello,
what’s detection name? Send the detected file through http://support.avast.com/ → Avast Virus Lab → false positive

Milos

Generating a “stripped” EXE (i.e. without debug info) solved the problem.

gcc -Wl,–strip-all -ohello hello.cpp