Visual Studio C ++ lib project The project is configured to use precompiled headers stdafx.cpp installed to create a precompiled header
I have a header file, MyClass.h If I build, then make a change to MyClass.h that should not compile, compilation will still succeed. If I recreate or if I make changes to the cpp file, which includes "MyClass.h", then the compilation will fail, as expected.
Is this expected because I'm using precompiled headers? Is there a way to fix this, so the 2nd buid raises the header changes without disabling the precompiled headers?
source
share