I run a very simple C ++ program:
#include <list>
#include <vector>
int main(int argc, char **args) {
}
I go to the command line and compile and run:
g++ whatever.cpp
a.exe
This usually works fine. It compiles fine, but when I run it, it says Access Denied and AVG pops up, telling me that a threat has been detected Trojan Horse Generic 17.CKZT. I tried again to compile using Microsoft Compiler (cl.exe) and it runs fines. So I came back and added:
#include <iostream>
compiled using g ++ and running. This time it worked fine.
So can someone tell me why AVG will report the empty main method as a Trojan horse, but if the iostream header is turned on it doesn't?
UPDATE:
, , , 0. , , .
?