title: Visual Studio 2010 C++ Intellisense error
body: <p>I am getting a strange Intellisense error in VS 2010. I searched the Internet with no luck. It seem that no one else got this error before. </p>
  
  <pre><code>IntelliSense: PCH warning: header stop needs to be at global scope. 
  An intellisense PCH file was not generated.
  </code></pre>
  
  <p>Following this many other errors as it stops indexing. This happens to the recent files that I have added. I have many files in my project (278) and this happens to the most recent 5-6 of them. May be I did something it doesn't like or may be there is a limitation.</p>
  
  <p>Since I couldn't found this error even in the documentation, I would like to learn the reason as well as a possible solution. Note that, I have tried to delete ipch folder and sdf file to get them generated a new. The error is given to the last line of a file. My code heavily uses templates.</p>
  
  <p>EDIT:<br>
  I noticed my ipch folder is mostly empty. This probably means that entire precompiled header generation fails, rather for those files. Still, intellisense partially works, but not for those files.</p>