 RE: Precompiled header files Jan Raddatz Hi again, here's a short update of what I did so far: I have three files: main.cpp stdafx.cpp stdafx.hpp In C/C++ options I added a "Misc Control" to main.cpp: --use_pch=stdafx.pch In C/C++ options I added a "Misc Control" to stdafx.cpp: --create_pch=stdafx.pch my main.cpp looks like this: #include "stdafx.hpp" int main(void) { } my stdafx.cpp looks like this: #include "stdafx.hpp" my stdafx.hpp looks like this: #include "..." #include "..." // ... tons of includes When I build my mini project I am getting the following warning: main.cpp: Warning: #629-D: the command line options do not match those used when precompiled header file "stdafx.pch" was created I really don't know how to get this pch thing working with Keil! Please can anyone help me and direct me how to set these things up correctly? Thanks a lot in advance! Jan |