I have a ATL C++ project and I don't have any includes in one of my C++ source files.
When I try to compile, I am receiving a PCH warning:
Error (active) E2940 PCH warning: an unknown error occurred. An IntelliSense PCH file was not generated.
But the project compiles fine alongside with this warning.
I tried adding #pragma once
and include "stdafx.h"
as mentioned in this post, but any of them did not resolve this issue.
What else can I do to resolve this issue?