Avast! and Dev-C++

Hello guys. I’ve been using Avast! for a long time and few weeks back I installed Dev-C++ to learn some basic. I’ve been having a problem ever since:
Every time I decide to compile a program it blocks the .exe file and puts it into a sandbox. For every file I have to manually make an exception when it’s just a few lines of code.

I’ve done some research and most of the trouble with antiviruses had with “system…:” commands. I have removed all of those but the problem is still present.

What should I do to stop this from happening?

edit. Just to note; it does not delete the file nor does it make any fuss while the file is not running.

Set the AutoSandbox to “Ask”.

Or you may want to uncheck the option “The file prevalence/reputation is low” in AutoSandbox settings.