<p>I have just come across a Visual C++ option that allows you to force file(s) to be included - this came about when I was looking at some code that was missing a <code>#include "StdAfx.h"</code> on each .cpp file, but was actually doing so via this option.</p>

<p>The option can be found on the <strong>Advanced C/C++ Configuration Properties</strong> page and equates to  the <strong>/FI</strong> compiler option.</p>

<p>This option could prove really useful but before I rush off and start using it I thought I'd ask if there are any gotchas?</p>

I would discourage from /FI  (
MSDN
says it's called /FI . Not sure whether i looked at the right page though), simply because people or yourself reading the files don't notice a header is magically included anyway.
You can be sure this will cause much debugging time for someone that wants to figure out where specific macros come from, even though there are no
```
#include
```
lines at the top of the file.