Visual Studio C++ lib project Project is set to use precompiled headers stdafx.cpp is set to create precompiled header
I have a header file, MyClass.h If I build, then make a change to MyClass.h that should fail to compile, compile still succeeds. If I do a rebuild, or if I make a change to a cpp file that includes "MyClass.h", then the compile fails as expected.
Is this expected because I'm using precompiled headers? Is there any way to fix it so a 2nds buid picks up header changes without turning off precompiled headers?