Simple code generates a warning

This code generates a “potentially unsafe” dialog box where It will open in sandbox mode.

#pragma comment( linker, "/SUBSYSTEM:windows" )
#pragma comment( linker, "/ENTRY:mainCRTStartup" )

int main()
{

	return 0;
}

This is setup as ‘Win32 Console Application’ in Visual Studio C++ 2010. Why is this code reported as virus?

no detection here

http://virusscan.jotti.org/en/scanresult/90cfe74cd617b909cee3f6b79dd676f9906b25af

Hmm…
Might be a problem on my side. I have to get back on that :-[

what is the exact message on the avast warning?
can you attach a screenshot?

See attachment for “what triggers the autosandbox”