c++ - How do I stop an IntelliSense PCH Warning? -


a few of header files have no includes, receive message in visual studio 2010:

intellisense: pch warning: cannot find suitable header stop location.  intellisense pch file not generated. 

if add single header, instance:

#include <iostream> 

it disappears. how can stop error showing without adding (potentially unused) include>

add #pragma once @ start of file.

it cause source file included once in single compilation, therefore compiler satisfied , won't require additional #include


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -