PCH error
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have created a precompiled header in my Win32 App and when I compile I recieve an error: pchafx.cpp(1) : error C2850: 'PCH header file' : only allowed at file scope; may not be in a nested construct It points to #include "pchafx.h" in pchafx.cpp file (my precompiled header file) Can someone please advise? Thankyou