<humor>As a workaround, you can install Kaspersky 2012 instead. It will not only make compilation 75% slower, but also make your computer fully unusable after a week or so, because it then starts popping up threat alerts not only for programs that you compile, but also for Code::Blocks itself, the MinGW compiler, and pretty much every other thing on your computer.</humor>
F-Secure is actually known to be a rather good product, but its still a good idea to turn off live scanning, either alltogether or at least on the drives (or folders) where your IDE, your compiler, and your sources live. Live scanning, in summary, regardless of vendor, is crap. I've never seen one that actually works well and does not annoy you with a million false alerts. You can only choose between "does not work with low performance impact" and "does not work with heavy performance impact", so my recommendation is to just disable it alltogether. Enable a firewall, don't download [censored] (the hell, why am I'm being censored?) and cracks, and scan every file you download and every USB stick you plug in, no exceptions. You won't need live scanning then.
It is of course, in principle, possible that your compiler contains malware and thus your compiled programs indeed contain a virus, but I should seriously hope that this is not the case (because I'm using the same compiler!).